[gedit-plugins] Fix typo in recent refactoring
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] Fix typo in recent refactoring
- Date: Sat, 26 Jul 2014 14:04:20 +0000 (UTC)
commit c3fd74950454f61eb9d57e8eb3b77515a923e1d1
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Jul 26 16:03:14 2014 +0200
Fix typo in recent refactoring
plugins/joinlines/joinlines.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/joinlines/joinlines.py b/plugins/joinlines/joinlines.py
index 62eb57d..694de1f 100644
--- a/plugins/joinlines/joinlines.py
+++ b/plugins/joinlines/joinlines.py
@@ -215,7 +215,7 @@ class JoinLinesViewActivatable(GObject.Object, Gedit.ViewActivatable):
doc.delete(previous_word_end, current_word_start)
- line_offset = self.view.get_visual_line_offset(current_word_start)
+ line_offset = self.view.get_visual_line_column(current_word_start)
if line_offset + word_length > width - 1:
doc.insert(current_word_start, '\n' + indent)
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]