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

      Notepad++ v8.8.9: Vulnerability-fix

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      33
      3 Votes
      33 Posts
      15k Views
      S

      @donho
      Sometimes there are users (like me) that do some silly thing, that are not expected.

      In version 8.6 a new style had been introduced: “Multi selected text colour”. The effect for me was, that in column-select mode the selection was shown only partially (last line only). It took me some time to find out what was my fault. I use a personalised style, where the default background colour happens to have the value “C0C0C0”, the same value as the background for this new style. Therefore I could not see the selection because it had the same bg-colour as the rest of my text. For “Selected text colour” I use the value “A0A0A0”; after applying this value to the new style, it worked again.

      I know, it is really a very special case, but it may happen. A similar situation might arise with other changes in the future. For these cases it would help to have a backup for comparison.

    • Adam Sr FloresA

      Notepad++ Opens my file in a remote server and I'm able to work with the file, But then I receive a notification that the file doesn't exist

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      9
      0 Votes
      9 Posts
      220 Views
      xomxX

      @Ryan-Cartmill

      Your 1st log entry above means that the N++ file checking I/O routine succeeded within the specified maximum time limit (3 secs), but that the OS (or network layer) response is that the file corresponding to the opened doc/tab in the N++ was not found. (WIN32API Error Code: 2 means ERROR_FILE_NOT_FOUND). I also see that the file is named new 41 and without any path, so it looks like it’s not a real (saved) file yet(!?) but the newXXX N++ tab filebuffer only. But in that case the N++ getFileAttributesExWithTimeout call should not be used at all, as the N++ knows that it’s not a real file yet! Weird.

      2nd one means that the OS (or network layer) doesn’t respond in the 3secs time limit at all.

    • ChazzyfeC

      Notepad+++ workflow for Bookkeeping.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      0 Votes
      7 Posts
      155 Views
      CoisesC

      @Charles-Fraichot

      Glad you found a good solution. Thanks for letting us know.

    • D MacD

      'Find in Files' doesn't appear to work

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      0 Votes
      6 Posts
      43 Views
      CoisesC

      @Alan-Kilborn said in 'Find in Files' doesn't appear to work:

      If a folder doesn’t exist, I think when the search is initiated, input focus will immediately jump to the Directory: box, signaling a problem with that folder to the user (without a message box). Not on a PC right now, so can’t verify; going from memory.

      I see you are correct. However… I also see that the search results show 0 files searched. So I don’t see how it could be a problem with what is in the Find box. The directory might exist, but not be the one OP meant to search.

    • Mark OlsonM

      Menu command for ensuring current position is visible

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · menu folding
      4
      3 Votes
      4 Posts
      174 Views
      MarkusBodenseeM

      @Mark-Olson said in Menu command for ensuring current position is visible:

      I agree with you that this is pretty confusing, and agree that using the arrow keys should have the same effect as typing. This would obviously be a separate feature request though, and as you noted I rather doubt that it would be accepted because it would only add confusion for some other users.

      After sleeping one night about it, and rereading your posting about typing any char and undo. Also in your issue #17297 and @Alan-Kilborn 's issue #12107 … I have changed my mind a bit, because I think that both situations of keystrokes (typing char from keyboard input or pressing arrow key) should be handled in the same way. This would make consistent behaviour of the application.

      I think, keystrokes should always have direct effect on a visible caret, so the caret should be made visible first, and afterwards perform the action from keyboard (typing char/moving caret).

      Keystrokes on an invisible caret look more like undefined behaviour. The user does not know, where his focus is. Even making caret jump to next visible position could be unexpected, because user did not know where he previously has been. Maybe user is even confused, because of the jump.

      So from this perspective, the current behaviour of arrow keys could be worth considering if it is unexpected/inconsistent.

    • Unmarked0146U

      Reducing the size of the column next to the line number

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · line number customization user interface column width
      4
      0 Votes
      4 Posts
      145 Views
      Unmarked0146U

      @PeterJones

      If you are using one of the built-in themes, you might try to compare your %AppData%\Notepad++\themes___.xml with the version from c:\program files\Notepad++\themes,

      I don’t have a custom theme; I just use whatever existing themes and modify them (just two, really). I just replaced my %AppData% theme with the “program files” themes, and the colors look okay again.

      795725ad-50a6-4d40-a0cf-308501ed7cea-image.png

      But both your margins being light gray imply that your theme was missing both those definitions when you ran 8.8.9 for the first time.

      I am pretty sure that when I installed Notepad++, I just copied the old saved themes over, which is why the new styles were probably missing.

      In this screenshot, I set one to Bookmark to salmon and Change History to yellow, to make it obvious which was which.

      This makes it much easier to understand. Thank you!

      Update: See our Change History Margin FAQ, especially the “How do I change the size” section, for an example of how to change the size using PythonScript or NppExec. (But yikes, I see that FAQ is out of date, since it doesn’t show the ability to change the four colors, which was added years ago… I will have to fix that next)

      I am not that ambitious, but I am sure the update will be appreciated!

      Thank you again, Peter. Not only did your post help fix the problem, but it’s also educational and shows me how dedicated people are to Notepad++.

    • M

      config.model.xml change the localization to german

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      1 Votes
      3 Posts
      16 Views
      M

      @PeterJones Thanks! I will try it tomorrow

    • C

      Updated Notepad++ VPAT?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      86 Views
      C

      @PeterJones

      Thank you, that’s very helpful. I’ll do that.

    • Offshore9521O

      I'm in a Paragraph Find and Replace Hell

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      15 Views
      guy038G

      Hello @offshore9521 and All,

      Humm…, @offshore9521, there are two separate problems with your regex !

      From your INPUT text :

      ‘Colt?’ He turns to face her, and clears his throat. Guilty sign. Very guilty. Probably has a guilty look on his face, but you can’t tell, because he’s still wearing that helmet so you can’t see his eyes.

      Your regex (?<![\.\!\?])\r\n([a-z]) means :

      If a \r\n sequence, followed with a letter (a through z), is not preceded by :

      A dot

      An exclamation mark

      An interrogation mark

      Then rewrite this letter

      BTW, you can shorter this regex as (?<![.!?])\r\n([a-z])

      But, the ’ character is not a character of the [.!?] list. Thus, this explains why your regex merges the lines 1 and 2

      Now, I suppose that your true goal was : if a line is not a true sentence, then merge that line with the next one with a space character ? This lead to the follwing regex S/R :

      FIND (?<![.!?’])\r\n(?=\w)

      REPLACE \x20

      So, any \r\n sequence is simply replaced with a space character

      Notes :

      As you see, I included the ’ character within the list of the forbidden chars, in the negative look-behind

      I used \w, which is identical to the [\u\l\d_] class character, instead of [a-z] to not bother about case !

      Remark :

      Instead of \r\n, I could have used the \R syntax with matches any kind of line endings ( \r, \n or \r\n ), but, because it is preceded by a negative look-behind, we must insert \r and \n as forbidden characters, as well !

      FIND (?<![.!?’\r\n])\R(?=\w)

      REPLACE \x20

      Best Regards,

      guy038

      P.S. : As an exercice, try to understand why the following regex S/R does not work as expected :

      FIND (?<![.!?’])\R(?=\w)

      REPLACE \x20

      To help you, don’t forget to click on the ¶ icon of the Toolbar !

    • Alfred JanssenA

      Display many Files in Filelist of Notepad++, but not open

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

      @Alfred-Janssen ,

      I assume you mean you have the File > Open dialog window active, and you want to filter to only see *.prg. You do it the same way you do with any Open dialog in Windows, type in the filter.

      For example, if your directory starts with 3 *.txt and 3 *.prg:
      afaeb832-5f2b-4a55-9ae7-f35ccba0be8e-image.png

      Then you can show only the *.prg by typing *.prg in the File Name box, and then hitting ENTER in the box to get it to apply the filter:
      0f6d2283-1748-4270-85ef-00925071d2aa-image.png

      Alternately, if one of the built-in languages has prg in its default extensions (or you set the user ext for that language to include prg), then the filter pulldown on the right will have it. Or, if it doesn’t match any of the builtin languages, you can define a User Defined Language (UDL) that uses that extension. For example, I created a dummy UDL that I set its name to TmpPrg and gave it the prg extension, as shown here:
      f84631e0-fbba-485b-b5a5-eb0846fdab58-image.png

      Then if I do File > Open, I can pull down the filter dropdown:
      afa73b34-933c-44e2-ad67-02bb55d8f9ed-image.png
      After I select the TmpProg (*.prg) from that list, then Windows automatically applies that filter for me:
      a60ee849-8b37-4ff0-bc16-ebcad045681e-image.png

    • P

      Can't get the old toolbar

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

      @prof-tech said in Can't get the old toolbar:

      Help! I have tried everything to get the old toolbar and it doesn’t appear! can anyone help me?

      Settings > Prefernces > Toolbar: the “Fluent UI” variants are the “new toolbar” and “standard icons: small” are the “old toolbar” (and the “Hide” checkbox turns it on and off)

    • Brenda Gross 0B

      RegEx assistance for adding a space before an Upper case letter

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      60 Views
      guy038G

      Hello, @brenda-gross-0 and All,

      Very easy with regexes !

      Open the Replace dialog ( Ctrl + H )

      Un-tick all box options

      FIND (?-i)(?<=\l)(?=\u)|_

      REPLACE \x20

      Tick the Wrap around option

      Select the Regular expression search mode

      Click, once only, on the Replace All button

      Voila !

      Notes :

      The leading part (?-i) is an in-line modifier which force to take care about the case of letters, meaning non-insensitive search !

      Then, due to the alternation symbol |, two individual regexes are performed, simultaneously :

      (?<=\l)(?=\u) which searches for an empty string between a lower-case letter and an upper-case letter

      _ which simply searches for the underline character

      In both cases, the replacement changes the regex search with an normal space character \x20. I could have chosen to type a single space char, instead !

      The regex search may also be expressed as a non-capturing group : (?-i:(?<=\l)(?=\u)|_), with the leading non-insensitive option

      Best Regards,

      guy038

    • Jayson AllenJ

      Theme busted!

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

      @Jayson-Allen ,

      See details in https://community.notepad-plus-plus.org/post/104192

      update: I have versions of the theme files which won’t have the ugly white backgrounds temporaroly at https://github.com/pryrt/notepad-plus-plus/tree/themesPost889/PowerEditor/installer/themes ⇒ they will hopefully eventually be put into the main codebase, for distribution with v8.9 and future. But until then, you can

      Exit Notepad++ Go to that URL and download the raw version of your theme(s) For a normal Notepad++ installation, use Explorer to go to %AppData%\Notepad++ if there’s not a themes subdirectory, create it move the downloaded theme(s) into %AppData%\Notepad++\themes When you run Notepad++ next time, it will use the updated theme.

      If you have customized your theme with user-keywords or user-extensions, this would overwrite those… I will eventually be writing a FAQ which explains a way to work around those customizations (once I don’t have to link to a branch in my fork of the code to share the theme files).

      New FAQ: https://community.notepad-plus-plus.org/topic/27306/faq-themes-in-v8-8-9

    • Kaptain BiwouakK

      Notepad++ 8.8.8: 2 issues detected

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      244 Views
      xomxX

      @deleelee

      Thanks for the pic. You are evidently using the MenuIcons plugin and it seems that this plugin has a problem with the N++ v8.8.8+ new tab-label length limitation feature. You can try to report/ask for help at that plugin site:
      https://github.com/francostellari/NppPlugins/issues

      or disable its “*” tab marking feature in the Menu Icons Options settings (select the “No symbol” radio-button there).

    • donhoD

      All the off-topic go here

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      4
      3 Votes
      4 Posts
      6k Views
      guy038G

      Hello, All,

      Like most of you still using Windows 10, I decided to migrate to Windows 11, at the end of october, because my computer was compatible ( BIOS with UEFI boot, TPM module and DirectX 12 )

      I eagerly awaited the November 11, 2025 update, which should have brought us a new Start Menu, correcting some of the current limitations However, no such update occured, so far, on my laptop :-((

      Of course, I know that I could use the GitHub tool, named ViveTool.exe. After downloading and extracting the last release https://github.com/thebookisclosed/ViVe/releases/tag/v0.3.4, I would have run, in an Administrator Commmand Prompt window, the command vivetool /enable /id:47205210 to get the new Start Menu, after a complete restart. Moreover, this action seems safe as we can revert back to our present Start Menu with the command vivetool /reset /id:47205210

      Ultimately, I prefer to wait for the usual Windows 11 staged roll-out to work in my favor !

      But, if you’re interested to test it, read, first, this recent article

      In this other article

      it is also said :

      ViVeTool is an open-source tool to unlock hidden features in Windows. It directly interacts with Windows Feature Management, which is the A/B testing system Microsoft uses. ViVeTool calls the official APIs and doesn’t hack or modify Windows files, so it’s mostly safe to use as long as you use it with correct variables.

      So, in the meanwhile, I tried to get used to the main aspects of Windows 11, which doesn’t change, fundamentally, my workflow ! Among other things, I updated my Win 10 list of shortcuts related to the Windows key and, little by little, I included, in that list, a lot of other shortcuts related to main applications of the Microsoft world.

      Here is the outline of this list, related to Windows 11 shortcuts :

      Shortcuts about the Windows and Office keys Shortcuts about Desktops and Taskbar Shortcuts about Text editing and Dialog boxes Shortcuts about Accessibility and the Magnifier feature Shortcuts about main applications (File Explorer, Terminal and DOS prompts, Microsoft Edge) Shortcuts about various applications (Google Maps, Settings, Xbox Game, Calculator, Sticky Notes) Shortcuts about audio / video applications (Movies & TV, Media Player, Photos, Sound Recorder) Shortcuts about drawing applications (Paint, Paint 3D) Shortcuts about basic text editors (Wordpad, Notepad)

      You can get this list, named W11_Shortcuts.txt, from my Drive account :

      https://drive.google.com/file/d/1Wt03527NLrg-bNfKFK1x_0QqdxnSB4PU/view?usp=sharing

      Notes :

      These shortcuts are those used with a standard American / English keyboard. As I’m French, I noted some variations with my French keyboard ! Thus, for any other language, some shortcuts may be different and not very easy to find out !

      Google Chrome’s shortcuts are not described in this list as I simply use the native Edge browser of Microsoft

      Moreover, all Microsoft 365 applications are not listed, so far !

      IMPORTANT :

      Some Microsoft UWP applications (Media Player, Paint, Paint 3D, Sound Recorder, Wordpad, Notepad) have additionnal shortcuts based on the Alt key, and generally tied to each user language. To show all of them, open these applications and simply hit the Alt key. You may, also, open any menu and hit the Alt key to get some new Alt available shortcuts. As they generally depend on each user language, these specific shortcuts are mostly not included in this list !

      Now, all these shortcuts consist of one or more keys from the list below :

      The Windows key, on the left side of the main keyboard

      The Office key, on the right side of the main keyboard

      One of the two Control keys, on both sides of the main keyboard : Ctrl

      One of the two Shift keys, on both sides of the main keyboard : Shift

      The Alternate key , on the left side of the main keyboard : Alt

      The Letter keys : Any upper-case letter, for example C

      The Symbol keys : Any symbol surrounded with parentheses, for example (+)

      Remarks :

      Some shortcuts are specific to the main keyboard => indication (Main)

      Some shortcuts are specific to the numeric keypad => indication (Numpad)

      Of course, if any shortcut have been left out of this list, please, let me know ! On the other hand, feel free to ask me about shortcuts that seem still unclear to you !

      I personally did not understand 9 shortcuts, which are identified, in this list, with the ??? mark, right after the shortcut !

      Best Regards,

      guy038

      P.S. :

      Do not forget to only reply within this off-topic thread !

    • C

      DoxyIT on 64bit: Access violation

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      1 Votes
      6 Posts
      840 Views
      Đức Anh NguyễnĐ

      Hi @Clicketyclick,
      I’ve updated DoxyIt and tested it on my x64 machine.
      Please give it a try: https://github.com/AN-2101/DoxyIt/releases/tag/v0.4.5

    • donhoD

      FYI: Notepad++ v8.9 Release Candidate will be available on 20th Dec.

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      1
      2 Votes
      1 Posts
      71 Views
      No one has replied
    • PeterJonesP

      FAQ: Themes in v8.8.9

      Watching Ignoring Scheduled Pinned Locked Moved FAQ themes v8.8.9 style configurator
      1
      3 Votes
      1 Posts
      157 Views
      No one has replied