Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Replace interface modification - suggestion

    General Discussion
    3
    5
    528
    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 Murrell
      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 Kilborn Meta Chuh 2 Replies Last reply Reply Quote 0
      • Alan Kilborn
        Alan Kilborn @John Murrell last edited by

        @John-Murrell

        Or maybe just “Mode”.

        1 Reply Last reply Reply Quote 2
        • Meta Chuh
          Meta Chuh @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 Kilborn
            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 Chuh 1 Reply Last reply Reply Quote 2
            • Meta Chuh
              Meta Chuh @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
              • First post
                Last post
              Copyright © 2014 NodeBB Forums | Contributors