• Login
Community
  • Login

Replace interface modification - suggestion

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 859 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.
  • J
    John Murrell
    last edited by Mar 2, 2019, 12:17 PM

    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

    A M 2 Replies Last reply Mar 2, 2019, 1:37 PM Reply Quote 0
    • A
      Alan Kilborn @John Murrell
      last edited by Mar 2, 2019, 1:37 PM

      @John-Murrell

      Or maybe just “Mode”.

      1 Reply Last reply Reply Quote 2
      • M
        Meta Chuh moderator @John Murrell
        last edited by Meta Chuh Mar 2, 2019, 5:17 PM Mar 2, 2019, 5:01 PM

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

        1 Reply Last reply Reply Quote 1
        • A
          Alan Kilborn
          last edited by Mar 2, 2019, 7:06 PM

          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.

          M 1 Reply Last reply Mar 2, 2019, 7:31 PM Reply Quote 2
          • M
            Meta Chuh moderator @Alan Kilborn
            last edited by Meta Chuh Mar 2, 2019, 7:43 PM Mar 2, 2019, 7:31 PM

            @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
            2 out of 5
            • First post
              2/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors