Community
    • Login

    Whole word check disabled when regexp on find mask

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 2.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Lucio MenciL
      Lucio Menci
      last edited by

      Hi,

      Match Whole Word Only is disabled when search mode is regexp. It may be usefull to be enabled when highlighting preferences is setted to use find dialog settings to know if match for whole words or not.

      Lucio Menci

      Scott SumnerS 1 Reply Last reply Reply Quote 0
      • Scott SumnerS
        Scott Sumner @Lucio Menci
        last edited by

        @Lucio-Menci

        With regular expression search you control it via using \b (and/or \<, \>…sometimes even \B) in your search text.
        Read more about it here. But maybe that isn’t what you are commenting on…

        The Use Find dialog settings preference for Smart Highlighting doesn’t seem really useful, to me at least. I mean, I think it could be useful if you set the Find dialog settings one way and never change them (so Smart Highlighting always works the way you want), but then why not directly set the Smart Highlighting preferences?

        1 Reply Last reply Reply Quote 0
        • Lucio MenciL
          Lucio Menci
          last edited by

          I selected use find dialg settings because it is faster change settings when you go from a type of documents to another going to the search windows (Ctrl + F) instead going into Configuration -> Preferences -> Highlighting.

          But the fact is there is an option (Use Find dialog settings) that permits some operations that are disabled when another check is enabled. N++ has to remove that option (and not to sudgest to not use this because it doesn’t semm really useful) or has to set this option usefull.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors