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

Karthik Periagaram <karthik.periaga...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |5.58.0
           Platform|Other                       |Archlinux Packages
                 CC|                            |karthik.periaga...@gmail.co
                   |                            |m
                 OS|MS Windows                  |Linux

--- Comment #1 from Karthik Periagaram <karthik.periaga...@gmail.com> ---
Confirmed using latest packages on Arch linux (Frameworks 5.58.0, Qt 5.12.3,
Kwrite 19.04.1). Updating version to indicate this.

Automatic indentation seems to be broken for python if/elif/else. Here is a
simpler example to demonstrate this behavior:

(. = space, | = cursor, indentation set to using spaces, indent level 4 spaces)

def main():
....if True:
........main()|

Press enter and start elif block

def main():
....if True:
........main()
........elif False:|

Upon typing `:`, the indentation of the elif line should have been reduced.
Instead, when I press enter, I get,

def main():
....if True:
........main()
........elif False:
............|

This behavior also happens for else.

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

Reply via email to