Reset SyntaxEditor search start position

SyntaxEditor for WPF Forum

Posted 7 months ago by Naama Weiss
Version: 22.1.0
Avatar

Hi,

Is there a way to reset the search start position?

SyntaxEditor.ActiveView.Searcher.FindCurrentOrNext(editorSearchOptions);

Thanks,

Naama

Comments (2)

Posted 7 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Naama,

The search start offset gets reset any time the view's selection changes (e.g. caret moves) unless specifically designated not to reset by callers.  There isn't anything in the public API to specifically reset it but any selection change should do it.


Actipro Software Support

Posted 7 months ago by Naama Weiss
Avatar

thanks

[Modified 7 months ago]

The latest build of this product (v22.1.3) was released 23 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.