[gedit-plugins] Fix multi edit offset normalization



commit 42c9d2275210dbaf7a86883e18e2ba44cefd317a
Author: Jesse van den Kieboom <jesse icecrew nl>
Date:   Sat May 1 12:54:14 2010 +0200

    Fix multi edit offset normalization

 plugins/multiedit/multiedit/documenthelper.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/multiedit/multiedit/documenthelper.py b/plugins/multiedit/multiedit/documenthelper.py
index 222767b..07d0578 100644
--- a/plugins/multiedit/multiedit/documenthelper.py
+++ b/plugins/multiedit/multiedit/documenthelper.py
@@ -396,7 +396,7 @@ class DocumentHelper(Signals):
         if eoff < soff:
             tmp = soff
             soff = eoff
-            eoff = soff
+            eoff = tmp
 
         # Apply tags where possible
         start_line = start.get_line()



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