Reset SyntaxEditor search start position

SyntaxEditor for WPF Forum

Posted 2 years 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 2 years 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 2 years ago by Naama Weiss
Avatar

thanks

[Modified 2 years ago]

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

Add Comment

Please log in to a validated account to post comments.