Add Macro to Code Templates engine for tab literals
Original Reporter info from Mantis: lee_is_me
-
Reporter name: Lee Jenkins
Original Reporter info from Mantis: lee_is_me
- Reporter name: Lee Jenkins
Description:
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.
It would be great to see support to insert tabs as defined in the IDE settings.
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;
Mantis conversion info:
- Mantis ID: 17632
- Version: 0.9.29 (SVN)
- Fixed in revision: 28876 (#e2a2b1c5)