where can I find the exact rules for entering code autocompletion templates into autoCompleteList editor?
Examples show only a single line completion templates. For multi-line, there must some escape characters? if I simply enter
f
=for then
begin
| //this is text entered into editor, not the code
end;
then result will be
any new line will be ignored by some kind of parser managing the templates.
Gents, this is not something covered in examples or documentation (is there documentation), and Google and AI keep suggesting all kind of ways of entering multi-line templates, apparently from Delphi, none of them work.
I can built strings with sLineBreak programmatically, and add them like so
synAutoComplete1.AutoCompleteList.Add(templateText);
but indentation is something that needs to be caught dynamically at runtime. How to enter multi-line template correctly and let autoComplete to manage indentation?