Links
EControl Syntax Editor SDK
TSyntReplaceDialog Class

TSyntReplaceDialog is a wrapper component to "Replace" dialog for TSyntaxMemo.

TSyntReplaceDialog = class(TSyntFindDialog);

ecSyntDlg

The TSyntReplaceDialog component displays a modeless Windows dialog box that prompts the user for a replace string. It's designed for using with the TSyntaxMemo. It also provides Regular Expression search.

Topic 
Description 
The methods of the TTextFinder class are listed here. 
The properties of the TTextFinder class are listed here. 
TBaseFindDialog Class
Topic 
Description 
The methods of the TBaseFindDialog class are listed here. 
The properties of the TBaseFindDialog class are listed here. 
The events of the TBaseFindDialog class are listed here. 
TSyntFindDialog Class
Topic 
Description 
The methods of the TSyntFindDialog class are listed here. 
The properties of the TSyntFindDialog class are listed here. 
The events of the TSyntFindDialog class are listed here. 
TSyntReplaceDialog Class
Topic 
Description 
The methods of the TSyntReplaceDialog class are listed here. 
The properties of the TSyntReplaceDialog class are listed here. 
The events of the TSyntReplaceDialog class are listed here. 
 
Destructor 
 
virtual 
 
protected 
 
Property 
 
read only 
 
Event 
TBaseFindDialog Class
TBaseFindDialog Class 
Description 
Occurs when there is search result. 
Occurs when text not found 
Called when showing search/replace dialog. 
TSyntFindDialog Class
TSyntFindDialog Class 
Description 
Custom processing of cycle search request. 
TSyntReplaceDialog Class
TSyntReplaceDialog Class 
Description 
Called before replacing sub-string in text. 
TTextFinder Methods 
Description 
Destroys an instance of TTextFinder. 
Find 
Search FindText in the Text. 
Compares FindText with the Text at the StrtPos position. 
Saves Text in history list. 
TBaseFindDialog Class
TBaseFindDialog Class 
Description 
Is called when string for search is found. 
Creates and initializes a TBaseFindDialog instance. 
Creates dialog. 
Destroys an instance of TBaseFindDialog. 
Implements search/replace operation. In this class this method does nothing. 
Search for all entries of FindText
Search for first entry of FindText
Search for last entry of FindText
Search for next entry of FindText
Search for prior entry of FindText
Updates properties from dialog controls. 
Encodes string list to be stored by property managers. 
Search with previous settings. 
Initializes controls of the dialog. 
Decodes string list to be stored by property managers. 
Shows search/replace dialog. 
TextNotFound method is called when there is no search result. 
TSyntFindDialog Class
TSyntFindDialog Class 
Description 
Cancels current search loop. 
Asks to continue search from the start of text or calls TSyntFindDialog.OnNeedCycleSearch Event
Creates and initializes a TSyntFindDialog instance. 
Destroys an instance of TSyntFindDialog. 
Performs search (replace). 
 
Returns text range to search
Search for FindText
Initializes controls of the dialog. 
Marks search result in Syntax Memo. 
TSyntReplaceDialog Class
TSyntReplaceDialog Class 
Description 
Creates and initializes a TSyntReplaceDialog instance. 
Creates dialog. 
Destroys an instance of TSyntReplaceDialog. 
Updates properties from dialog controls. 
Replace FindText with the ReplaceText
Initializes controls of the dialog. 
TTextFinder Properties 
Description 
Contains the search string. 
Specifies search & replace options. 
TBaseFindDialog Class
TBaseFindDialog Class 
Description 
Encoded history. Use this property for automated storage by TPropsManager component. This properties allows storing multi-line items. 
Maintains a list of previously searched strings. 
Information message that informs about no search result. 
Specifies target control where search/replace operations are performed. 
TSyntFindDialog Class
TSyntFindDialog Class 
Description 
Specifies auto-filling FindText property. 
Scroll editor to place search result at center of the editor. 
Target control. 
Specifies whether search should be restarted from text origin. 
Message asked to continue search from text origin. 
Specifies whether editor should be focused on successful execution. 
Defines whether selection of the text before search is kept after search
Number of found entries in text. 
Specifies a way to highlight search result. 
TSyntReplaceDialog Class
TSyntReplaceDialog Class 
Description 
Specifies whether replace prompt dialog should be shown above text to be replaced, otherwise dialog will be shown at the screen center. 
Encoded replace items. Use this property for automated storage by TPropsManager component. This properties allows storing multi-line items. 
Maintains a list of previously replaced strings. 
Information message that informs about replace. 
Contains the text that should replace FindText
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!