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

SyntaxEditor for WPF Forum

Posted 8 years ago by Anita
Version: 10.2.0531
Avatar

Hi,

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?

Thanks,

Anita

Comments (1)

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

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 (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.