[gedit-plugins] Fix typo causing exception when uncommenting



commit e3ae5d02e035a765ee2bde7c43f263b1e7399a11
Author: Paolo Borelli <pborelli gnome org>
Date:   Tue Apr 26 14:28:55 2011 +0200

    Fix typo causing exception when uncommenting

 plugins/codecomment/codecomment.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/codecomment/codecomment.py b/plugins/codecomment/codecomment.py
index 62ecf64..3fa362a 100644
--- a/plugins/codecomment/codecomment.py
+++ b/plugins/codecomment/codecomment.py
@@ -195,7 +195,7 @@ class CodeCommentPlugin(GObject.Object, Gedit.WindowActivatable):
                     iter = document.get_iter_at_mark(dmark)
                     head_iter = iter.copy()
                     self.forward_tag(head_iter, end_tag)
-                    if get_tag_position_in_line(end_tag, head_iter, iter):
+                    if self.get_tag_position_in_line(end_tag, head_iter, iter):
                         document.delete(iter, head_iter)
                 document.delete_mark(dmark)
             iter = document.get_iter_at_mark(smark)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]