There are invoking functions for most of EControl Syntax Editor SDK dialogs. Do not create dialogs directly, instead use these functions.
Add Code Template
|
Unit |
ecCodeTemplDlg |
|
Dialog |
TAddTemplateDlg |
|
Description |
This dialog is used in "Syntax Lexer" and "Code Templates" dialogs when user adds new or edits existing code template. |
Auto Replace Items
|
Unit |
ecAutoReplDlg |
|
Dialog |
TAutoReplDlg |
|
Function |
function CustomizeAutoReplace(ARepl: TSyntAutoReplace): Boolean; |
|
Description |
This dialog edits properties of TSyntAutoReplace component. Result is true if dialog succeeds. |
Code Templates
|
Unit |
ecCodeTemplListDlg |
|
Dialog |
TCodeTemplatesDlg |
|
Function |
function EditTemplates(Templ: TCodeTemplates; Lexer: TSyntAnalyzer = nil): Boolean; |
|
Description |
This dialog edits templates collection. Lexer is used to highlight Code of template. Can be used to edit templates collection of TSyntAnalyzer and of TTemplatePopup. Result is true if dialog succeeds. |
Customize Key Mapping
|
Unit |
ecKeyMapDlg |
|
Dialog |
TKeyMapDlg |
|
Function |
function EditKeyMapping(KeyMapping: TSyntKeyMapping): Boolean; |
|
Description |
This dialog allows user to customize editor commands key strokes that stored in KeyMapping component. If KeyMapping is nil dialog allows only view default editor commands key strokes. Result is true if dialog succeeds. |
Editor Options
|
Unit |
ecCustEditDlg |
|
Dialog |
TCustSyntMemoDlg |
|
Function |
function CustomizeSyntaxMemo(Memo: TCustomSyntaxMemo): Boolean; |
|
Description |
This dialog allows user to customize some properties of editor - TSyntaxMemo. Result is true if dialog succeeds. |
Dictionaries
|
Unit |
ecDictDlg |
|
Dialog |
TDictionariesDlg |
|
Description |
This dialog is intended to edit list of dictionaries. It is used by the TecDictionary.Customize Method. |
Find Text
|
Unit |
ecFTextDlg |
|
Dialog |
TReplaceTextDlg |
|
Description |
This dialog is used in Execute method of TSyntFindDialog component. |
Go to Line Number
|
Unit |
ecGoLineDlg |
|
Dialog |
TecGotoLineDlg |
|
Function |
function SelectLineNumber(var LineNum: integer; LinesCount: integer): Boolean; |
|
Description |
This dialog is used by the smGotoLine command of the editor to go to the selected line. |
Import Rules/Styles
|
Unit |
ecImpRulesDlg |
|
Dialog |
TImportRules |
|
Description |
This dialog is used in TSyntColFrame frame when user clicks "Import items" button. |
Macros Edit
|
Unit |
ecMacroEditDlg |
|
Dialog |
TMacrosEditDlg |
|
Function |
function EditMacro(Macros: TecMacroRecorder; CanPlay: Boolean = True): Boolean; |
|
Description |
This dialog edits macros of TecMacroRecorder component. Result is true if dialog succeeds. |
Multi-Replace Select
|
Unit |
ecMultReplSelectDlg |
|
Dialog |
TMultiReplaceSelectDlg |
|
Description |
This dialog intended to select and execute single multi-replace sequence. It is called by the TecMultiReplace.SelectExecute Method. |
Multi-Replace Tool
|
Unit |
ecMultReplDlg |
|
Dialog |
TMultiReplaceDlg |
|
Description |
This dialog edits items of multi-replace tool (TecMultiReplace). It is called by the TecMultiReplace.Customize Method. |
Page Setup (editor)
|
Unit |
ecPageSetupEditor |
|
Dialog |
TPageSetupEditorDlg |
|
Description |
This dialog customizes syntax memo printer options. This dialog is called by the TecCustomPrinter.PageSetup Method. |
Page Setup (form)
|
Unit |
ecPageSetupForm |
|
Dialog |
TPageSetupFormDlg |
|
Description |
This dialog customizes form printer options. This dialog is called by the TecCustomPrinter.PageSetup Method. |
Print Preview
|
Unit |
ecPreviewFm |
|
Dialog |
TSyntPreviewForm |
|
Function |
procedure Preview(APrinter: TecSyntPrinter); |
|
Description |
This is print preview window. |
Replace Text
|
Unit |
ecFReplDlg |
|
Dialog |
TReplaceTextDlg |
|
Description |
This dialog is used in Execute method of TSyntReplaceDialog component. |
Select macro command
|
Unit |
ecMacroCmdEditDlg |
|
Dialog |
TMacroCmdEditDlg |
|
Function |
function EditMacroCommand(var Cmd: integer; var Data: ecString): Boolean; |
|
Description |
This dialog edits single command in macro of TecMacroRecorder component. Result is true if dialog succeeds. |
Styles Collection
|
Unit |
ecStlDlg |
|
Dialog |
TStylesColEdit |
|
Function |
function EditStylesCollection(AStyles: TStylesCollection): Boolean; |
|
Description |
This dialog edits styles collection. It is used especially to edit user styles in TSyntStyles component. It is not recommended to edit TSyntAnalyzer.Formats collection. Result is true if dialog succeeds. |
Syntax Highlighting
|
Unit |
ecCustDlg |
|
Dialog |
TCustomSyntDlg |
|
Function |
function CustomizeHighlightingStyles(Synt: TSyntAnalyzer): Boolean; |
|
Description |
This dialog allows user to customize only styles collection of TSyntAnalyzer. Result is true if dialog succeeds. |
Syntax Lexer
|
Unit: |
ecSyntLexFm |
|
Dialog |
TSyntLexerDlg |
|
Function |
function CustomizeLexer(SyntAnal: TSyntAnalyzer): Boolean; |
|
Description |
This dialog edits all properties and objects TSyntAnalyzer. This is a "Lexer Editor" that allows user to adjust lexer for any text file format. Result is true if dialog succeeds. |
Syntax Lexer Library
|
Unit |
ecLexLibDlg |
|
Dialog |
TLexerLibraryDlg |
|
Function |
function CustomizeLexerLib(LexerLib: TSyntaxManager): Boolean; |
|
Description |
This dialog shows list of lexers in LexerLib. User can customize any of these lexers, create new, import, export, delete lexers. Result value of this function is always True. |
|
Copyright (c) 2004-2011. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|