Menu

small bug in smart highlighting

Humangenom
2008-05-14
2012-11-13
  • Humangenom

    Humangenom - 2008-05-14

    Simple Example

    'abc'
    'abc'
    'abc'
    abc
    abc

    a doubleclick on abc selects all abc occurrences also those in apostrophes.
    A doubleclick on 'abc' selects only abc, but all other occurrences don't get marked

     
    • Fool4UAnyway

      Fool4UAnyway - 2008-05-15

      There is another thing. When you don't want smart highlighting and turn it off, it doesn't "get" this if you (still) had something smart highlighted.

      Of course, nothing should be smart highlighted when the option is turned off. But you have to turn smart highlighting back on again, unselect the word to remove the highlighting and then turn the feature off again to prevent it from being activated again.

       
    • Fool4UAnyway

      Fool4UAnyway - 2008-05-15

      That's because abc in 'abc' is not recognized as a single (separated) word.
      If you select 'abc' completely, with both apostrophes, all _those_ occurrences will be highlighted.

      See also the message

      "RE: Notepad++ 4.9 release (May be UNSTABLE)"
      http://sourceforge.net/forum/message.php?msg_id=4937838

      in the thread

      "Notepad++ 4.9 release (May be UNSTABLE)" (Open Discussion forum)
      http://sourceforge.net/forum/forum.php?thread_id=2020210&forum_id=331753