Sign in Join

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

Mailing lists / lazarus / 2024-09

Cursor past EOL

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Michael Van Canneyt

Hi,

In the Tools - Options menu, if you search for 'EOL' then you will notice that there are 2 'Cursor past EOL'-alike options. One under Editor - General, one under Codetools - General.

Is this intentional ? If so, what is the difference ?

The one under "codetools" seems not to have any effect (or I misunderstand the effect). If it is obsolete, maybe it can be removed ?

I recommended the second one to a user, and he complained it did not work, it took me some time to realize he needed the first one...

Michael.

Reply by email

Martin Frb
to Michael Van Canneyt

IIRC... / not verified

the one under codetools is used if codetools places the cursor (after creating code).

If you complete a class, and a new method body is created, then it will place the cursor 2 non-existing spaces into the line.

With this option, codetools will have the permission to do so, even if the caret can otherwise *not* be after EOL.

Michael Van Canneyt wrote
Cursor past EOL'-alike options

Reply by email