Community
    • Login

    auto highlight of words/numbers multiple lines not in columns...

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 1.9k 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.
    • dkuenzi3phD
      dkuenzi3ph
      last edited by

      Hello,

      I am new to using Notepad++ and i have found an annoying occurrence. When I highlight a number in a date sequence (eg 8-1-18) and that sequence is repeated multiple places on multiple lines, not in a lined up column format, the same number or words is auto highlighted.

      example text:
      goofy 8-1-18
      ridiculous 8-1-18
      gobbelty gook 8-1-18
      fun 8-1-18

      when using the left mouse button to held down to select say the 1 in between the dashes in the first line, all of the 1’s in that orientation highlight automatically. it does not auto highlight the 1 by the 8 for 18. Also if I were to select the 18 all of the other 18’s would highlight.

      It appears that the highlight is showing other instances as a helpful cue to show other places to edit the same value.

      My question is this: is the automatic highlight in this manner only meant to alert the user to show where a similar edit can be done, or is there an extra key or several key or even keystrokes that will allow simultaneous edit of those values without using purposely selecting the find and replace function?

      Frustratingly,

      dk

      Scott SumnerS 2 Replies Last reply Reply Quote 2
      • Scott SumnerS
        Scott Sumner @dkuenzi3ph
        last edited by

        @dkuenzi3ph said:

        it does not auto highlight the 1 by the 8 for 18

        See Settings (menu) -> Preferences… -> Highlighting (box on left) -> Smart Highlighting -> Match whole word only setting. Toggle as desired.

        It appears that the highlight is showing other instances as a helpful cue to show other places to edit the same value.

        Not edit, just show.

        is the automatic highlight in this manner only meant to alert the user to show where…

        Yes

        or is there an extra key or several key or even keystrokes that will allow simultaneous edit of those values

        No

        1 Reply Last reply Reply Quote 2
        • Scott SumnerS
          Scott Sumner @dkuenzi3ph
          last edited by

          @dkuenzi3ph

          Possible other references of interest to you on this topic:

          • https://notepad-plus-plus.org/community/topic/15618/is-this-style-of-editing-posible-in-n

          • https://notepad-plus-plus.org/community/topic/11360/multi-selection-and-multi-edit

          1 Reply Last reply Reply Quote 2
          • dkuenzi3phD
            dkuenzi3ph
            last edited by

            Thank you for the quick reply Scott. just to be clear, the auto highlight is intended only to alert the user to other instances NOT as an editing tool.

            d k

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