[gedit-plugins] Use Gedit.utils_text_iter_assign if it is available
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] Use Gedit.utils_text_iter_assign if it is available
- Date: Tue, 22 Mar 2011 15:03:03 +0000 (UTC)
commit 90481b8077cba4e0a4745268f75c55bb28ec6879
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date: Tue Mar 22 16:02:53 2011 +0100
Use Gedit.utils_text_iter_assign if it is available
plugins/multiedit/multiedit/documenthelper.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/multiedit/multiedit/documenthelper.py b/plugins/multiedit/multiedit/documenthelper.py
index fc40704..5bd2982 100644
--- a/plugins/multiedit/multiedit/documenthelper.py
+++ b/plugins/multiedit/multiedit/documenthelper.py
@@ -809,6 +809,8 @@ class DocumentHelper(Signals):
if hasattr(where, 'assign'):
where.assign(iterwas)
+ elif hasattr(Gedit, 'utils_text_iter_assign'):
+ Gedit.utils_text_iter_assign(where, iterwas)
if atinsert:
buf.move_mark(buf.get_insert(), iterwas)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]