EControl Syntax Editor SDK
TTemplatePopup.InsertTemplate Method

Inserts template in the current caret position.

procedure InsertTemplate(Templ: TCodeTemplate);

Inserts template text (Templ.Code) in the current caret position. 

Each line of the code template is inserted at the same X position in the text line to keep same indent of all code template lines.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!