Menu

Why automatic bkgd color for found old hits?

Anonymous
2009-06-30
2012-11-13
  • Anonymous

    Anonymous - 2009-06-30

    Assume I start Notepad++ and load a text file.
    Then I hit CTRL+F and the find dialog pops up.
    From previous searches a pattern ("COmlexType") appears already in the search entryfield
    (="Find what"). Much to my surprise all occurencies of this old pattern are merked with light green background color
    in the edit window. Why?

    As I found out the leight green background color ist derived from the setting in
    Style Configurator->Change Marks->Changes: Saved

    But I never changed anything in this file. So why is marked anyway?

    On the other side I would expect a style entry in
    Style Configurator->Search Result->found occurencies

    How can I let Notepad++ mark only found occurencies for my current, last search not for old, outdated
    searches?

    What is the actual purpose of "Change marks" entries normally?

    Thomas

     
    • Michel Merlin

      Michel Merlin - 2009-07-19

      Thx for the info.
      I failed to find "the Clear button", or "the Purge for each search checkbox". Could you tell more precisely the path to them? TIA,

      Versailles, Sun 19 Jul 2009 15:26:25 +0200

       
    • cchris

      cchris - 2009-06-30

      Change markers display either as a narrow bar or line highlighting, at your discretion. They mark a line that was changed since N+ was opened. They relate with replacing, since it is a change, but not with searching.

      Several Global Style style items deal with search results:
      * Smart HighLighting (is this feature enabled for you?)
      * Find Mark style, used when the "Style found token" option is checked on a Find All request.
      * Incremental highlight.

      To remove markup left by the previous search, use the Clear button. To have this done on each search, check the Purge for each search checkbox. The setting is not remembered in config.xml.

      HTH
      CChris

       
MongoDB Logo MongoDB