Find All is not working

4 posts, 0 answers
  1. Patrick
    Patrick avatar
    455 posts
    Member since:
    Aug 2012

    Posted 21 Oct 2019 Link to this post

    Hello,

    In the SyntaxEditor, When I press Ctrl+F, enter text and click "Find All", nothing happens, even if the text is in the source file.

  2. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    1068 posts

    Posted 24 Oct 2019 Link to this post

    Hello Patrick,

    With the current implementation of the RadSyntaxEditor control, a TextSearchHighlightTagger needs to be registered in the TaggersRegistry for the highlighting of the find and replace dialog to work. You can register the tagger like so:

    var textSearchTagger = new TextSearchHighlightTagger(this.syntaxEditor, TextSearchHighlightTagger.SearchFormatDefinition);
    this.syntaxEditor.TaggersRegistry.RegisterTagger(textSearchTagger);

    I have forwarded this scenario to our development team and we will consider registering this tagger out of the box for the official version of the control.

    Nonetheless, I hope you find registering this tagger manually applicable for the time being. Please let me know if this is indeed the case.

    Regards,
    Dilyan Traykov
    Progress Telerik

    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.

  3. Patrick
    Patrick avatar
    455 posts
    Member since:
    Aug 2012

    Posted 24 Oct 2019 in reply to Dilyan Traykov Link to this post

    Hi Dilyan,

    Thank you for your answer.

    I will use the workaround now, but I think that this should be "in the box", because the control implements the "find all" by default.

  4. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    1068 posts

    Posted 25 Oct 2019 Link to this post

    Hi Patrick,

    I'm happy to inform you that we've already introduced a fix for this issue which will be available with our internal build on Monday.

    Please let me know once you manage to test this out.

    Regards,
    Dilyan Traykov
    Progress Telerik

    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top