Community
    • Login

    Feature request: case sensitive search/replace history

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 4 Posters 2.0k 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.
    • Szász-Fábián JózsefS
      Szász-Fábián József
      last edited by

      I often use the search/replace dialog with case-sensitive replaces of eg. ‘Pages’ -> ‘Products’, then ‘pages’ -> ‘products’. This replacement repeats often in other files.
      Since NPP treats the search and replace fields history as case-insensitive, in the history only the last term appears which is either ‘Pages’ or ‘pages’. It would be extremely useful to have both ‘Pages’ and ‘pages’ in history.
      Thank you

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Szász-Fábián József
        last edited by

        @Szász-Fábián-József

        please add a feature request here and double check if it hasn’t already added.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • chcgC
          chcg
          last edited by

          My guess would be that your two step approach could also be done in one step with regular expressions.

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

            @chcg

            That wasn’t what the OP was asking about, but you are right about the regex search and here’s how it could be done:

            Find what: ([pP])ages
            Replace with: \1roducts
            Search mode: Regular expression

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