Community
    • Login

    Replace interface modification - suggestion

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 3 Posters 1.2k Views 1 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.
    • John MurrellJ Offline
      John Murrell
      last edited by

      A small point on the replace menu I just just fell into.

      If you want to search for something that does not require a regular expression but want to replace it with something that does require a regular expression you need to select reqular expression under search mode. i.e this changes both the search & replace modes.

      The words should be changed from ‘Search Mode’ to ‘Search and / or replace mode’

      I was trying to split a string at each (of 51) ampersands to make it easier to read hence my search string was ‘&’ and the replace string ‘&/n/r’.

      My first couple of attempts just replaced ‘&’ with ‘&\n\r’ befor I realised the reg ex button also changes the replace behaviour. Obvious once you have found it but frustrating for new uses until they discover it

      John

      Alan KilbornA Meta ChuhM 2 Replies Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @John Murrell
        last edited by

        @John-Murrell

        Or maybe just “Mode”.

        1 Reply Last reply Reply Quote 2
        • Meta ChuhM Offline
          Meta Chuh moderator @John Murrell
          last edited by Meta Chuh

          or maybe “Search and Replace Mode”.
          (the “or” might also be confusing)

          1 Reply Last reply Reply Quote 1
          • Alan KilbornA Offline
            Alan Kilborn
            last edited by

            I suggested “mode” because we are already in the “find” (“search”) and/or “replace” area…so those things are rather implied and just extra clutter IMO.

            Meta ChuhM 1 Reply Last reply Reply Quote 2
            • Meta ChuhM Offline
              Meta Chuh moderator @Alan Kilborn
              last edited by Meta Chuh

              @Alan-Kilborn

              true, i might tend to repetitions, to make things as descriptive as possible, at as many places as possible, if possible ;-)

              @John-Murrell

              if you like, you can modify (customise) all your notepad++ menus, titles and texts, by editing the file: your_program_files_path\Notepad++\localization\english.xml.

              (i know, it’s not really necessary anymore, now that you know how the search mode behaves, but i’d completely understand, if it gets stuck at the back of your eyes, being a daily reminder of your experience)

              for the search/replace mode text, change:

              <Item id="1624" name="Search mode"/>
              

              to e.g.:

              <Item id="1624" name="Search and Replace mode"/>
              

              after saving english.xml, you need to head to settings > preferences > general and change your localization to any other language and back to english, in order to reload all english menus and texts.

              note: a notepad++ restart does not suffice to reload english.xml, so you have to swap your language briefly.

              1 Reply Last reply Reply Quote 3

              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