https://bugs.kde.org/show_bug.cgi?id=385962

            Bug ID: 385962
           Summary: kate indention jumps to next level on specific letters
                    when it shouldn advance to next level
           Product: kate
           Version: 17.08.2
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: indentation
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: xapi...@gmx.net
  Target Milestone: ---

i don't know how to put it in easier words..   i write a lot of python code in
kate and in the recent version it's making me crazy!

def test:
    if this is that:
        print "same"
    else:           <<<  here lies the problem
        print "different"


if i manually decrease indention by using "backspace" kate will jump back to
the same indention level as "print"  - i hit backspace again.. start writing
"else" and it jumps again .. i hit enter in order to make a line break -
decrease the indention level manually and write "else" and it advances again
one level..

lets put it short:  if i manually decrease the indention level - kate has to
follow my lead NO MATTER WHAT.. it must not indent automatically after i hit
"backspace"   (and i'm sure this behaviour is new to kate)

probably i'm just "holding it wrong"   so please tell me what the preferred
workflow with indention should be

it actually works if i hit backspace - then enter and then write a line.. but i
don't think an extra blankline between the if block and the else block is
python pep8 compliant

thx in advance

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to