"Auto-indent" is turned on. My steps are:
And I got this:
But I hoped to get this:
Is it bug or feature?
Yes, you're quite right. I can reproduce this behaviour.
But just notice that if you type, for example, at step 6), instead of the Enter key ONLY, the word wonderful and, then, end with the Enter key, the word World, written, at step 7), begins at the first position of the line, without any tabulation
And I think that is really a feature !. For example, in many languages the start position of code in a line indicates the bloc where it belongs to. And sometimes, we need to insert blank line(s) in code, without breaking the indentation, like in this part of python script below :
while a == 'Y' or a == 'y': # If ANSWER = 'Y' or 'y'
if dt < 28:
dt = 50 # If DISTANCE too SMALL, DISTANCE is set to the VALUE 50
lp = "BEST WISHES" # RIGHT part of the MESSAGE
rp = "GOOD YEAR 2014" # LEFT part of the MESSAGE
lg = len(lp + rp) # TOTAL length of the TWO parts of the MESSAGE
sh = int((120 - dt)/2) # SHIFT from the LEFT side of the SCREEN
lb = sp*sh +'\x10' # LEFT limit of the ROUTE
rb = '\x11\r' # RIGHT limit OF the ROUTE
Best Regards and... Happy new Year !
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.