[Lazarus] Editor and usage of Tab characters
Graeme Geldenhuys
graemeg.lists at gmail.com
Thu Sep 15 13:29:38 CEST 2011
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
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 -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-IDE Options.png
Type: image/png
Size: 21777 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110915/9b8ec393/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-Source Editor.png
Type: image/png
Size: 3162 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110915/9b8ec393/attachment-0005.png>
More information about the Lazarus
mailing list