Calling Find Next

SyntaxEditor for WPF Forum

Posted 6 years ago by John Dunn
Version: 13.1.0582
Avatar

Is there a way to programatically call the command that is called when 'Find Next' button is clicked? I'd like it to work like Visual Studio - Ctrl+F brings up the find window. F3 will find the next occurrance even if the find window isn't currently visible.

Comments (1)

Answer - Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi John,

Yes you can just call something like this to mimic F3:

editor.SyntaxEditor.ActiveView.Searcher.FindNext(searchView.SearchOptions);


Actipro Software Support

The latest build of this product (v2019.1 build 0684) was released 17 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.