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
    • Chec PufosC

      Need help with finding and replacing

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      144 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
      779 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
      251 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
      182k 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.

    • guy038G

      Redact Selection feature

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      1
      0 Votes
      1 Posts
      50 Views
      No one has replied
    • LukeL

      Bug Report

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      9
      0 Votes
      9 Posts
      2k Views
      C CC

      I have been using Notepad++ for years. I frequently get this message, usually after a Windows 11 restart.
      84e247a1-494a-4e82-8eec-d4fd39f06a65-image.png

      I’ve updated Notepad++ whenever prompted, I’ve reinstalled to try to fix the problem. The problem seems to come with the program. I don’t know why I would get this message or what they want ME to do about it. I don’t even know where to find the extra DLL.

      Help?

    • Mr X.M

      notepad++ loading takes a long time

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      1
      0 Votes
      1 Posts
      40 Views
      No one has replied
    • donhoD

      v8.9.2 Release Candidate will be available in about 3 days (2026-02-12)

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      1
      3 Votes
      1 Posts
      139 Views
      No one has replied
    • CletosC

      How can you copy or move 2 or more files at once into any folder?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      16
      0 Votes
      16 Posts
      4k Views
      Hugo84-ChitownH

      @Coises This is an excellent solution. Not only did it solve this specific issue for me (as I transition away from my job, and need to save out many learning notes), but this taught me new tricks that I didn’t know Notepad++ was capable of. Thank you so much for sharing your knowledge.

    • 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.

    • donhoD

      WHEN GOOGLE IS POSSESSED BY PROFIT

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      23
      6 Votes
      23 Posts
      21k 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.

    • S

      Is it possible to scroll up/down with middle-click ? And/or move other view separator left/right ?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      0 Votes
      8 Posts
      372 Views
      S

      @PeterJones

      Hello,

      Here is a demonstration of what altsnap does

      You can press the ALT key, or the “hot click” which on my mouse is mouse button #5.

      And this allows moving and resizing a window from anywhere.

      https://youtu.be/Wzt7hSyGGmc

      It is very ergonomic as you don’t have to position the cursor on the thin window edges.

      I think this is quite rare and cutting edge practice, most people I think just maximize their window and use one application at a time.

      But I have a very large desktop of 4x 40 inch 4K monitors and I needed more efficient way to move the windows around.

      As for the scrolling, there are two “middle-click” based scrolling methods I know about. There’s the autoscroll round thing which I don’t really like, it’s like using a thumbstick. It’s good if you want to let it scoll at a constant speed like the text scroll at the beginning of star wars but it is otherwise clumsy and slow to use, not “dextrous”.

      I prefer the “scroll anywhere” method which is similar to like you would scroll a touch tablet interface.

      I demonstrate both of these modes here

      https://youtube.com/shorts/yHuWI4f1rOg

      So, what I am asking is like scroll anywhere but in a left-right direction to move the center divider around.

    • 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
      469 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
      32k 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
      13k 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
      137 Views
      No one has replied
    • FreeMeowF

      Praise Notepad++

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

      @FreeMeow I goon to Notepad++ :P

    • JWJ

      AI Plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      1 Votes
      1 Posts
      203 Views
      No one has replied