Here is an example code in python: def foo(): returnValue = 0 return returnValue When typing it and reaching he line "returnValue = 0", then hitting enter, the cursor jumps to align with the "def" and not to where "return returnValue" is located. Reproducible: Always Steps to Reproduce: 1. type: def foo(): returnValue = 0 2. Remain with the cursor on the last line and press "enter" 3. Actual Results: Your cursor will jump as if you wrote a "return" and exit the indented block Expected Results: The cursor should stay in the indentation block
Git commit 87863d6e877761775fbf666f5ae6c9f399de93c7 by Christoph Cullmann. Committed on 11/08/2015 at 19:51. Pushed by cullmann into branch 'master'. fix problem with wrong unindent for python we need to match for word boundaries M +4 -5 src/script/data/indentation/python.js http://commits.kde.org/ktexteditor/87863d6e877761775fbf666f5ae6c9f399de93c7