EditorSearchView - populate Find-What box with selected text in editor

SyntaxEditor for WPF Forum

Posted 12 years ago by Anita
Version: 10.2.0531


Is it possible to populate in code the Find-What box of the EditorSearchView?

In particular, I would like to be able to populate by default the Find-What box with the text selected in the associated editor.

Is this possible?



Comments (1)

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

The EditorSearchView.SearchOptions property is a IEditorSearchOptions. That is what has the find text, replace text, match case, etc. options on it. So you can set the FindText property there and it should update in the EditorSearchView.

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.