I didn't find an option to make that work, it's pretty much annoying when I have to delete the dynamic tab spaces, and change it to 2 spaces
I guess there should be an option, but I failed to reach it.
Any hint please, thanks a lot.

Mailing lists / lazarus / 2008-08
6 messages · 2 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
I didn't find an option to make that work, it's pretty much annoying when I have to delete the dynamic tab spaces, and change it to 2 spaces
I guess there should be an option, but I failed to reach it.
Any hint please, thanks a lot.
Do you mean this:
http://wiki.lazarus.freepascal.org/IDE_Window:_Editor_Options#Tabs_to_spaces
Mattias
thanks for the reply
but I mean when I press the tab key on the keyboard, I was expecting the IDE can automatically convert this operation to two spaces key stroke:)
I have no idea what you are intending to do. Please give an example.
Mattias
well. sorry for the confusion... this function called Tab Stops in Delphi,
In notepad or other simple txt editor, I press the TAB key on the keyboard, it will actually insert an ASCII code 09 in the file. That's fine
but in Delphi IDE code editor, I can choose to insert "20 20" ascii code when I press the TAB key on the keyboard
Usually I use the function to align my code with spaces
like this way
procedure TestFunction(test:Integer);
begin
<20><20> //do somethingcode
end;this <20><20> can be generated by one press of TAB key not a really two strokes of some Keys on the keyboard
in DELPHI they call this " Tab Stops"
Then I understood it correct. Use the given editor option.
Mattias