Links
EControl Syntax Editor SDK
TTemplatePopup.Options Property

Specifies options of the code template plug-in.

property Options: TCodeTemplateOptions;

There are three sources of code templates:

  1. Active syntax analyzer (analyzer at the current caret position) in the syntax memo (SyntMemo)
  2. Own templates specified by the Templates
  3. Templates from external syntax analyzer specified by the ExternSource
Option 
Description 
ctIncludeOwn 
Uses own templates. 
ctIncludeLexer 
Uses templates from active syntax analyzer. 
ctEnableSearch 
Determines whether the user can give focus to items by typing in the list. 
ctDisplayShortCut 
Displays short-cut (name) of the code template. 
ctDisplayDesc 
Displays description of the code template. 
ctDisablePopup 
Disables pop-up list box. In this case only replacing short-cuts in text will be available. 
ctRightDesc 
Displays description at the right side of the pop-up list box. 
ctFiltered 
Templates are filtered using current selection in editor. 
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!