Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix cursor positioning

  • Loading branch information...
commit 09f5d2d5b46e5b07dc534ba058cc0a3102b46c55 1 parent 29ae8b7
@zaufi authored
Showing with 4 additions and 2 deletions.
  1. +2 −0  CHANGES.md
  2. +2 −2 expand/expand.py
View
2  CHANGES.md
@@ -13,6 +13,8 @@ Version 0.5 (2012-06-10)
* use decorators to disable (show popup w/ alert) actions by various constraints,
for example commenting text block w/ `#if 0' have sense only for C/C++
documents
+* make some comment manipulation actions to work w/ other than C/C++ source code
+ (CMake, Python, Perl, Bash)
Version 0.4 (2012-06-04)
========================
View
4 expand/expand.py
@@ -310,8 +310,8 @@ def replaceAbsolutePathWithLinkCallback(match):
else:
insertPosition.setLine(insertPosition.line() + 1)
cursorAdvancement -= currentLength + 1 # NOTE +1 for every \n char
- insertPosition.setColumn(cursorAdvancement)
+ insertPosition.setColumn(insertPosition.column() + cursorAdvancement)
view.setCursorPosition(insertPosition)
-# kate: space-indent on;
+# kate: space-indent on; hl python;
Please sign in to comment.
Something went wrong with that request. Please try again.