On 25/07/2014 6:40 pm, Detlev Offenbach wrote:
Hi,

I was informed about an observation in the eric IDE I don't have a
clue how to fix. When a Python
source file is loaded and the enter key is pressed in column 0 for an
indented line, a newline is
inserted but the indentation of the line is not maintained (i.e. removed).

Example:

for i in range(1,5):
    print(i)
^

If you press return while the carret is at the ^ position you get this result:

for i in range(1,5):

print(i)

Any hint on what I'm doing wrong would be appreciated.

I assume the indentation is retained if you press enter after the colon.

I'll take a look when I get the chance.

Phil
_______________________________________________
QScintilla mailing list
[email protected]
http://www.riverbankcomputing.com/mailman/listinfo/qscintilla

Reply via email to