scripting:api:script-code-template-handler:start

IScriptCodeTemplateHandler

Scriptable object, inherited from ICodeTemplateHandler

Script Code Template Handler interface

Property Description
Enabled Returns if template is active
Surrounder Indicates that template can be used for surrounding
Event Handler Description
onDescription ICodeTemplateHandler::GetDescription handler (function)
onEnabled ICodeTemplateHandler::Enabled handler (function)
onExecute ICodeTemplateHandler::Execute handler (function)
onText ICodeTemplateHandler::GetText handler (function)
Method Description
equals Compare, if objects are equal
Execute Execute command
GetDescription Returns Code template description
GetText Returns Code template expanded text. Called if Execute fails