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



  • 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



  • @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





  • 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


Log in to reply