Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-12

Lazarus 0.9.29, editor indenting

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bernd Mueller

I am testing the latest Lazarus snapshot and try to get my old indenting behavior back. I don't use the automatic complete blocks feature.

In Lazarus 0.9.28, when I type

    if a = b then begin
    ^

and then press return, the cursor is placed below the i (marked with ^). Now, in Lazarus 0.9.29 the cursor is placed additionally two characters to the right.

    if a = b then begin
      ^

Disabling auto indenting does not change the behavior. The cursor is still indented. I think this is a bug. Or am I doing something wrong?

Regards, Bernd.

Reply by email

Graeme Geldenhuys
to Bernd Mueller

2009/12/15 Bernd Mueller :

Disabling auto indenting does not change the behavior. The cursor is still indented. I think this is a bug. Or am I doing something wrong?

I also have issue with this new auto-indent behaviour in 0.9.29. I also tried to disable it, but in certain cases it still tries to be clever when it is not.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Mattias Gaertner
to Graeme Geldenhuys
2009/12/15 Bernd Mueller : > > Disabling auto indenting does not change the behavior. The cursor is still > indented. I think this is a bug. Or am I doing something wrong?

For pascal sources there is an extra setting under options ... / Codetools / General / Indentation:

I also have issue with this new auto-indent behaviour in 0.9.29. I also tried to disable it, but in certain cases it still tries to be clever when it is not.

What certain cases?

Mattias

Reply by email

Bernd Mueller
to Mattias Gaertner: On Tue, 15 Dec 2009 13:24:54 +0200 For pascal sources there is an extra setting under…
Mattias Gaertner wrote 6 lines
> 2009/12/15 Bernd Mueller : >> Disabling auto indenting does not change the behavior. The cursor is still >> indented. I think this is a bug. Or am I doing something wrong? For pascal sources there is an extra setting under options ... / Codetools / General / Indentation:

thanks, I got it working (I had to disable Indentation/On break line).

Regards, Bernd.

Reply by email