[Lazarus] Code Template Macros

Lee Jenkins lee at datatrakpos.com
Thu Oct 14 16:38:17 CEST 2010


On 10/14/2010 8:01 AM, Mattias Gärtner wrote:
> Zitat von Lee Jenkins <lee at datatrakpos.com>:
>
>>
>> Hi all,
>>
>> Currently there is the pipe character (|) that indicates where the carat
>> should be placed after a Code Template is finished rendering itself in the
>> editor. Is there currently a symbol to use to indicate that a tab should be
>> inserted into the generated code?
>>
>> Delphi
>>
>> TClass = class(TObject)
>> public
>> ~procedure SomeProcedure;
>> end;
>>
>> The character ("~" in this case) indicates that a tab should be placed in it's
>> stead according to user preferences for tab-to-spaces setting in the IDE. I
>> have the IDE set so that a tab produces 2 spaces for indentation in the IDE
>> settings and would produce this code:
>>
>> TClass = class(TObject)
>> public
>> procedure SomeProcedure;
>> end;
>>
>> Thanks!
>
> Please create a feature request in the bug tracker.
>
> Mattias
>

Done.  http://mantis.freepascal.org/view.php?id=17632

Thanks,

--
Warm Regards,

Lee







More information about the Lazarus mailing list