Community
    • Login

    Feature request: case sensitive search/replace history

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 4 Posters 2.4k Views 3 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors