[Lazarus] Editor and usage of Tab characters

Martin lazarus at mfriebe.de
Thu Sep 15 14:14:11 CEST 2011


On 15/09/2011 12:29, Graeme Geldenhuys wrote:
> Hi,
>
> I'm a bit confused about the Source Editor settings, and the actual
> behaviour of Tabs in the editor. I switched one project from Spaces to
> Tabs to try it out
>
> indenting a single line by using the Tab key works correctly. As you can
> see in the attachments the tab character is shown with the>>  symbol.
>
> But when I do Block Indentation - also using the Tab key, then ALWAYS
> spaces are inserted, instead of the Tab characters. Is doesn't seem
Yep that needs to be implemented.

the "block indent" type (despite the name) currently refers to what 
happesn if you press return (and if you use the editors, not codetools 
indenter)

Feel free to add a feature request on mantis, please

> correct, because I specifically set the indentation equal to the Tab
> size. I also set the Indent method to Space/Tab. From the help text on
> the wiki, Tab characters should be inserted (at least that is how I
> understood it).
>
> If I understood in wrong, then what is the difference between Indent
> method "Spaces" vs "Spaces/Tabs"?
>
>
> Regards,
>    - Graeme -
>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110915/dbebe105/attachment-0003.html>


More information about the Lazarus mailing list