Hi sorry I forgot this conversation
Matthieu Casanova wrote:I'm not a heavy user of the python mode, but, how about just
Maybe we could add an attribute to the electric char to forbid indentation
after an electric char ?
Or you have a better idea ?
dropping ":" from electric char in python mode.
It seems that the electric char ":" is meant to dedent "else:" for
matching "if ...:". But that will be incorrect easily.
else: # HERE, jEdit can't know which level is correct.
For now, same problems will happen with "try" or "def ..." instead
of "if anotherthing".