A control that allows its text to be "found" and optionally "replaced".
The query editor is an obvious provider but other windows can also provide
find/replace functionality by implementing this interface (tools, output windows etc).
| C# | Visual Basic | Visual C++ |
public interface IFindReplaceProvider : ISupportCursorOffset
Public Interface IFindReplaceProvider _ Implements ISupportCursorOffset
public interface class IFindReplaceProvider : ISupportCursorOffset
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| CanReplaceText |
True if the text can be replaced, otherwise false.
| |
| CursorOffset |
Gets the cursor offset.
(Inherited from ISupportCursorOffset.) | |
| FindString(String, Int32, StringComparison) |
Attemps to find value in the controls text.
| |
| ReplaceString(String, Int32, Int32) |
Replaces the text from startIndex for length characters
with value.
| |
| SetTextFindService(ITextFindService) |
Overrides the default text find service with textFindService (e.g. a RegEx service).
| |
| TextFindService |
A text finding service.
|