Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • Omar AO

      find and replace Gemini copy/paste coding data-path-to-node

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      131 Views
      PeterJonesP

      @Omar-A ,

      Search has a “regular expression” mode which will be able to search for anything matching a pattern. Since I assume you want to also delete the matching </span> to go with it, then I believe a regex like the following will work:
      FIND = <span data-path-to-node[^>]*>(.*?)</span>
      REPLACE = $1
      SEARCH MODE = Regular Expression

      That worked on the first three spans in your example (and would’ve worked on the fourth if the final /span> wasn’t missing the <)

    • conky77C

      show the current zoom

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      30
      1 Votes
      30 Posts
      21k Views
      Alan KilbornA

      @Javier-Utrilla said in show the current zoom:

      something like U | Zoom +10

      It’s fine…but why not make the abbreviated encoding MORE descriptive, and the zoom info LESS descriptive. E.g. (just my thinking): U8B |Z+10

    • Chec PufosC

      Need help with finding and replacing

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      122 Views
      PeterJonesP

      @Chec-Pufos ,

      Your specs are more vague than you think they are.

      Assuming you want to replace any positive integer immediately after that specific I:max= with 987 and any positive integer immediately after that specific I:min= with 654, then it could be done with something like:
      FIND = (?-is)(Size\s+{\s*.*\R\s*I:max=)\d+(\s*.*\R\s*I:min=)\d+
      REPLACE = ${1}987${2}654
      SEARCH MODE = Regular Expression
      REPLACE IN FILES

      hopefully, you can figure out what to change in order to replace with values other than 987 or 654

      highly recommended: always back up your data before trying a regex that someone hands you; always try a new regex on a single file and make sure it behaves as you expect before trying on the full 30 files.

      ----

      Useful References Please Read Before Posting Template for Search/Replace Questions Formatting Forum Posts Notepad++ Online User Manual: Searching/Regex FAQ: Where to find other regular expressions (regex) documentation
    • Ertan KüçükogluE

      Pascal multi line string highlight

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      734 Views
      EkopalypseE

      @ViniwDOrazio

      Yes, when working with multi-line matches enclosed by the same pre- and suffix, you should try to match something unique before the prefix.
      If the number of lines is fixed, you could also adjust the offset configuration parameter accordingly.

    • El Greco 0E

      TABS CTRL+TAB, CTRL+TAB+SHIFT

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      123 Views
      PeterJonesP

      @El-Greco-0 ,

      The Ctrl+Tab / Ctrl+Shift+Tab is the “Document Switcher” feature. By default, Settings > Preferences > Misc > Document Switcher has ☑ Enable MRU behavior checkmarked, which turns on Most Recently Used (MRU) order for the Ctrl+Tab order. If that is unchecked, then the Ctrl+Tab order is determined by the order of the tabs in the view, so if you turn off that option and use Window > Sort By > Name A to Z, then Ctrl+Tab will follow alphabetical order.

      The reason why Ctrl+Tab defaults to MRU, is because it is often (maybe even mostly) used as the quick/simple “swap between this tab and the last tab I used”, rather than cycling through the entire list. Also, there is a separate set of keystrokes, Ctrl+PageDown for next-tab and Ctrl+PageUp for previous-tab, which already follows the order of tabs in the view (so also affected by the Window > Sort By > … sorting), so it’s already easy to navigate between tabs in the view order by another similar means – so again, it makes sense to default the Document Switcher Ctrl+Tab to use Most Recently Used behavior…

    • Chuck MooreC

      How do I change font?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      16
      0 Votes
      16 Posts
      180k Views
      PeterJonesP

      @Cam-K said in How do I change font?:

      Noticed on newer versions of N++ that the “Enable global font” option is gone

      It’s not gone, just at the bottom of the list, because it’s not what most people should be using. See the global override dialog and the user manual for more on why you shouldn’t use it.

    • S

      Mismatch Between Document List Sorting and Active Tab Order After Updating Notepad++ from 8.8.8 to 8.9

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      195 Views
      PeterJonesP

      See that ︿ above the Name column of the Document List? Like most tabular data tools (spreadsheets, or the data tables in Wikipedia, or what have you), that indicates that the data is being sorted by that column (if you right click, and add the extension column, you can sort by either column). The sort indicator is a 3-state toggle: pointing up ︿ means it’s sorting in alphabetical order, pointing down ﹀ means it’s sorting in reverse-alphabetical, and gone means it’s sorted in the order of your tabs.

      up ︿ down ﹀ none 98a5bc45-296d-41cb-8baf-635e729f540f-image.png 4b34c789-9bf5-4185-8d46-eceebbf07ced-image.png 1a0eadaa-367e-4f37-a2e0-0b84748c5cb1-image.png

      Nothing changed in Notepad++ itself; you just clicked that header once (intentionally or accidentally), so it’s now sorting alphabetically, like it thought you wanted. You just have to click it two more times to get it to match the tab order.

    • PeterKeeP

      Undo/Redo (CTRL+Z/CTRL+Y) behaves unexpectedly after a few hours (NppFTP, NPP 64-bit, Win11)

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion undo undo history ctrl+z
      6
      0 Votes
      6 Posts
      6k Views
      xomxX

      @Justin-Goodell said in Undo/Redo (CTRL+Z/CTRL+Y) behaves unexpectedly after a few hours (NppFTP, NPP 64-bit, Win11):

      use the “alt” key to highlight a chuck of text on multiple lines, then delete that section

      Yep, there was that “alt” column mode +DEL undo regression (from N++ v8.8.9), some details & STR in the fix-PR:

      https://github.com/notepad-plus-plus/notepad-plus-plus/pull/17307

      The fix is in the already released v8.9 but due to some other problems in that version, it hasn’t been triggered for a N++ autoupdate (so if you wanna use it, you have to dl & run the v8.9 installer yourself).

      @PeterKee
      Do you also use N++ macros?

      Currently I’ve identified another such (this time a longstanding) bug in the N++ codebase (PR fix is still in progress, it’ll be hopefully in the next version, for a STR look here).

    • donhoD

      Support for Plugins Admin & NppPluginList

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      47
      2 Votes
      47 Posts
      72k Views
      CoisesC

      @Ivo-Krab said in Support for Plugins Admin & NppPluginList:

      but modifying the C:\Program Files\Notepad++\plugins is understandably blocked without admin access.

      Would it not be possible to allow (as a config choice) to install them in %APPDATA%\Notepad++ instead

      The problem is that plugins in Notepad++ can do anything Notepad++ itself could do. They are C++ programs operating in the same security context as Notepad++ itself. From a security standpoint, allowing plugins in a directory that can be modified without admin access would be equivalent to allowing access to Program Files without admin access.

      As I recall, that was allowed at one time, and this is why it was removed. Security-sensitive organizations determined that they could not install Notepad++ at all unless they could stop users from installing their own plugins. The developer decided it was better to remove the capacity entirely than to try to implement a switch of some kind.

      The work-around, if you can run programs that are not installed in Program Files, is to use a portable copy of Notepad++. If you are not allowed to do that, then logically you would be forbidden to run Notepad++ plugins in a directory you control, since it would grant you exactly the same access.

    • PeterJonesP

      FAQ: February Security Announcement

      Watching Ignoring Scheduled Pinned until 3/1/26, 9:17 PM Locked Moved Security
      1
      0 Votes
      1 Posts
      4 Views
      No one has replied
    • archerarcher1A

      Open long path/ file name error since 7.5.9

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      11
      0 Votes
      11 Posts
      6k Views
      Ahmad IqbalA

      @archerarcher1 I will suggest LongPathTool to solve this error.

    • David BrownD

      Name on donation button is not "Don Ho" -- is this okay?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      1
      1 Votes
      1 Posts
      130 Views
      No one has replied
    • donhoD

      WHEN GOOGLE IS POSSESSED BY PROFIT

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      23
      6 Votes
      23 Posts
      20k Views
      donhoD

      It seems that malicious ads (promoting a fake Notepad++ website) have returned on the Google search page.
      Below is the email I received this morning:

      Hi Don
      I am a long-time user and admirer of Notepad++. I am based in Australia.

      Today, I went to download a copy of Notepad++ to a new machine. When I searched for “Notepad++” in Google, the first link which came up appears to be a FAKE website located in China:

      https://www[.]notepadplus[.]com[.]cn/en/

      I thought I should let you know, in case this is some kind of hacking attempt.

      Any follow up questions, just let me know.

      Kind regards

      If anyone here has encountered these malicious ads, please use the following link to report them to Google:
      https://support.google.com/ads/troubleshooter/4578507?visit_id=639056285883908601-3926234762&rd=1

    • Dennis BareisD

      Maintain Indent While Pasting Multiple Lines

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      28
      1 Votes
      28 Posts
      14k Views
      Michael SiscoM

      @Liam-Wright I am running the latest NPP (8.9.1) and I don’t see this setting.

    • Maxitrol - MatM

      4k resolution

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      2k Views
      J

      @Maxitrol-Mat said in 4k resolution:

      While some things look good, some other things look microscopic.

      One thing that may help: In Preferences > Toolbar, try choosing a “large” UI option.

    • Mark OlsonM

      Menu command for ensuring current position is visible

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · menu folding
      5
      3 Votes
      5 Posts
      433 Views
      Mark OlsonM

      As described in this comment, I noticed that the Search->Go to... dialog and typing do not reveal the current position if it’s in a hidden line range. This seems to me to further highlight the importance of creating a “Make current position visible” command.

    • Fruchtzwerg94F

      [New plugin] PlantUML Viewer

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development plugin plantuml net
      41
      7 Votes
      41 Posts
      31k Views
      Yannick JaegerY

      Hi,
      I would like to test your plugin but, unfortunately, I run windows arm-64 and this plugin only runs on x86. Do you think it’s possible to release an ARM version ?
      Thank you.

    • Michele DelpianoM

      XML Tools Plugin - Can't get Pretty Print feature to work

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      14
      0 Votes
      14 Posts
      12k Views
      Paul StokesP

      A very old thread I know, but this may help someone else.

      I was trying to use Pretty Print to format some MSOffice XML (from a PPT template that had been renamed as a zip). My initial attempts didn’t work “Nothing happened”. I eventually solved the problem when I realised that it wouldn’t work on files still stored in the zip. Notepad++ could read the files and displayed them as 2 looooog lines so I assumed (wrongly) that I could Preetify, edit and write back. In retrospect I should have realised that this was never going to work as the “file” I was working on was a temporary copy.

      Solution: Extract the file from the zip (as opposed to view the file in the zip without extracting properly) , Preetify (which worked of course), edit, save, copy back into the zip overwriting the original.

      An interesting corollary: Using the Windows Explorer zip functionality to open and view the contents (as opposed to extracting them) which uses a rather long temporary folder prefix - Pretty Print didn’t work.
      Using 7Zip which uses a much shorter temporary folder prefix - Pretty Print did work. Obviously, I was still working in a temporary copy which wouldn’t get saved back.

    • dz15mlruD

      [Question, performance analyse]. Which documents eats more resources?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion session resources unsaved performance analysis
      1
      0 Votes
      1 Posts
      125 Views
      No one has replied
    • FreeMeowF

      Praise Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Praise Notepad++
      2
      3 Votes
      2 Posts
      407 Views
      Maddox ArmstrongM

      @FreeMeow I goon to Notepad++ :P