Hello Developers

Need your help and suggestion. I can't switch off the auto-identation.
I've the option off in Editor->General->Indent and Tabs->"Auto indent"

But, whenever I'm typing:

for i:=1 to N do begin|  <-- press enter

I'm getting a new line indented 2 spaces (under "r"), instead of
placing cursor under "f" (just like delphi does).
(Btw, the same happens for "try")

However if I type
for i:=1 to N do
begin| <-- press enter

I have no indentation, and the cursor is placed right under "b"
Why does it happen?

What I want, is on pressing enter a new line starting at the same
column as the previous line.
any suggestions?

Btw. I can make Lazarus indent just like i need, but for this I must
switch Auto-Ident ON, but switch OFF
"CodeTools->General->Indentation>On break line". But such
configuration seems VERY ODD to me.

thanks,
dmitry

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to