[Lazarus] Auto indentation

Martin lazarus at mfriebe.de
Tue Nov 3 18:50:12 CET 2009


Jürgen Hestermann wrote:
>
> What I am missing with indentation is the good old turbo pascal way 
> where TAB moved below the beginning of the next word in the line 
> above. It was very easy to arrange code with this feature, especially 
> if code was copied (partially) and changed afterwards so that it had 
> to be rearranged manually.
>
Smart-tabs ? (editor options / general)

They work, but only if you are exactly at the beginning of the first 
word of the line

Example
  for a:=1 to b.count do
    |foo();

press tab, and you will be below "a", then "to", ...


Martin







More information about the Lazarus mailing list