In Need of Replace Functionality -- Not Replace Next

SyntaxEditor for Windows Forms Forum

Posted 12 years ago by Jason Tobiasz
Avatar
I'm currently using:

SyntaxEditor.SelectedView.FindReplace.Replace(FindReplaceOptions options)

When this method is called the selected text in the document is changed and the next instance of the find text within the document is selected.

Is there a way to suppress the Replace method from continuing with finding the next instance of the find text within the document to change?

[Modified at 04/09/2007 11:55 AM]

[Modified at 04/09/2007 11:55 AM]

Comments (2)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
That is the behavior that will occur when calling Replace on the EditorView find/replace model. You can always use the Document's find/replace model instead if you would like a more low-level approach that doesn't do that behavior.


Actipro Software Support

Posted 12 years ago by Jason Tobiasz
Avatar
Yeah. That worked out fine. Thanks.
The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.