Current there is the "|" to indicate within a code template where the cursor should be left after execution.

Are there any other token that can be used? Specifically, I'm looking for something that will denote a tab/indent so that indentation can be performed inside the code template based on the Lazarus user's settings for tab-to-spaces, etc.

for $Param(CounterVar) := $Param(0) to $Param(Count) - 1 do
  begin
    |
  end;

In essence, a way to position tokens like Begin...End with an indent according to user's IDE preferences.

P.S. I'm converting many of the code templates shipped with Lazarus to work with sync editing where appropriate such as the above example. Should I submit these when I am finished?

Thanks,

--
Warm Regards,

Lee

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to