[Lazarus] how to convert a tab key press into two spaces in lazarus

davy zhang davyzhang at gmail.com
Sat Aug 9 12:05:19 CEST 2008


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"


On Sat, Aug 9, 2008 at 5:19 PM, Mattias Gaertner
<nc-gaertnma at netcologne.de> wrote:
> On Sat, 9 Aug 2008 16:56:31 +0800
> "davy zhang" <davyzhang at gmail.com> wrote:
>
>> 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
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>



More information about the Lazarus mailing list