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

      Renumber lines?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      31 Views
      S

      @PeterJones

      Thank you.

    • C

      Updated Notepad++ VPAT?

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

      @PeterJones

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

    • VTGroupGitHubV

      Show/hide tab or change tab width

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      97 Views
      VTGroupGitHubV

      Thank you for all of the information. While it might be fun to dig into the Windows APIs again, I was hoping for something simple I could run with NppExec, etc. without a lot of coding. Since it’s not a lot of extra work to move the splitter manually, I’ll live with that for now. And maybe the MarkdownPanel team will find my request worth implementing, though it’s possible it can’t be done since one side is a NPP tab and the other is a panel.

    • LoisL

      HELP very new to this need help with lines please.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      105 Views
      LoisL

      @PeterJones this worked perfectly! Thank you very much

    • TBugReporterT

      Networking problem

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      7
      0 Votes
      7 Posts
      709 Views
      xomxX

      @Dan-Walter-0 said in Networking problem:

      Before I open a ticket with my helpdesk, I want to know if there is anything I am missing on the application configuruation level.

      From your N++ DebugInfo, I think not.

      But could you 1st follow the instructions in my linked issue and paste here the nppLogNetworkDriveIssue.log obtained?

    • Dawn Brockman 0D

      Trying to auto copy select text from a .nfo file

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      107 Views
      FreeMeowF

      @Dawn-Brockman-0 You should be able to do this with a few find and replace.

      You make copies in a new folders as you said you do, let’s say “D:\MoviesFolder” You can use “Find in Files” with Regex to remove all the rows that are not year/genre/stars. make sure the “Directory” is the correct directory so you don’t break files from other places, don’t know if there is undo for this operation. I never tried to run it on mkv/mp4, but I assume you already have files that look like the xml you provided and we use them.
      b09b9845-a2f2-49b6-a1f5-ac76a1b6d425-image.png If you want to remove the tags, you can run another find&replace with:
      Find: .<(year|genre|stars)>(.?)</\1>.*\R?
      Replace: \2\n
      You will now have only number and names so you will have to deduce yourself what is a year, what is a genre, and what is a star, but as long as Ryan Reynolds is not a genre yet you should be fine.
    • S

      autoupdater and connection temp.sh

      Watching Ignoring Scheduled Pinned Locked Moved Security
      12
      0 Votes
      12 Posts
      6k Views
      donhoD

      @SammyBolt said in autoupdater and connection temp.sh:

      Regarding the WinGup fix in v8.8.8, Was the temp.sh (or similar) exfiltration vector reported in v8.8.4 possible on a clean, official installation of Notepad++?

      The temporary fix prevents the hijacking attempts that redirect to the domain other than github.com. However, it cannot protect against malware that is hosted on github.com.

      The full fix will be included in the upcoming version, as mentioned below.

      You mentioned the fix landed in v8.8.8, but can you confirm if this vulnerability was introduced specifically in v8.8.4 (due to changes in the updater), or were versions prior to 8.8.4 (like 8.8.2/8.8.3) also susceptible to this specific gup.exe hijacking technique? What about 8.8.5-8.8.7?

      We still cannot determine the exact method used by the attacker. But it is not a case of “a vulnerability introduced in version X”.

      For users currently running v8.8.4 who want to verify they haven’t been impacted before updating: Aside from monitoring network traffic for temp.sh, are there specific things we can check for, like modifications to the update xml file or other modified files/logs in the program directory?

      I do not have complete information to provide specific advice. However, here’s an article from a security expert who appears to have investigated this issue:
      https://doublepulsar.com/small-numbers-of-notepad-users-reporting-security-woes-371d7a3fd2d9

      My suggestion is download & install v8.8.8 manually from the official website.
      The upcoming release v8.8.9 will be available in a few days. In this release the code signing certificates will be verified on the downloaded binary before update installation.
      Then please update to v8.8.9, in which the vulnerability is fully addressed.

    • I

      Can NotePad++ edit these files ?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      110 Views
      CoisesC

      @ioc2e3:

      I’m fairly sure the only one of those you can edit in Notepad++ is json.

      You’ll have to look up the rest yourself. In some cases there might be more than one way the same file extension is used, so you’ll have to figure out which program wrote the files. (For example, .aff can be a file used as part of a spell-checking dictionary or an Advanced Forensic Format file.)

      Even for JSON, you usually shouldn’t just edit a JSON file in Notepad++ unless you know what you are doing. JSON files are highly structured and any given JSON file is normally maintained by a specific program or set of programs for specific purposes. Usually there is a correct way to change the data stored there through a user interface provided by the application, rather than diving in yourself.

      It might seem like a pain in the butt, but you need to work out which programs created each of the files that concern you and research those programs to figure out how to examine and/or change these files. If Notepad++ can open them at all, it will probably give you nothing but the ability to mess them up.

    • Jeff EspositoJ

      Notepad++ VERY slow to open

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      19
      0 Votes
      19 Posts
      12k Views
      Gerard KiekensG

      @Jeff-Esposito

      Hi, I had the same problem.

      In my case it was (alsmost certain) caused by heavily editing the DarkMode-Default theme that got a size of over 500Mb. I Suspect it was caused by using many custom colors.

      It has nothing to do with BitDefender. We have the BitDefender Endpoint Security running on our machines too.

      Switching from dark mode Default to another theme completely solved the problem for me.
      \Editing that theme with default colors did not slow down startup.
      Give it a try.

      Tip:

      You can keep your personal theme by coping and renaming it. It will them show up in the themes
      list. You can find the themes in C:\Users\Username\AppData\Roaming\Notepad++

      Gerard Kiekens
      (Key-Can Computer Services The Netherlands)

    • Tristan HilamanT

      I accidentally pressed some combination of buttons and messed up my search function

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · help
      3
      0 Votes
      3 Posts
      101 Views
      Tristan HilamanT

      @PeterJones Thank you!

    • h-jangraH

      Flex your customizations

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      385 Views
      h-jangraH

      @PeterJones nice I will try and upload this theme as well.

    • S

      Style Configurations Reset After Update

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      12
      0 Votes
      12 Posts
      667 Views
      PeterJonesP

      @networkproblemsolver said in Style Configurations Reset After Update:

      @PeterJones

      But what if I want (need) to run in “Admin Mode” ??? Is Notepad++ unable to run in “Admin Mode” and still save Style Configurations? That seems silly.

      Security experts would tell you that constantly running any app in admin/root mode is a lot worse than silly.

      And since Notepad++ v8.6.6, there is no reason to run Notepad++ in Admin mode to edit/save UAC-protected files, because Notepad++ can ask for UAC Elevation for the individual save actions . So the only activity that you might still need to run Notepad++ in Admin mode for is when installing a new plugin, and you don’t need to be constantly running in Admin mode for that. That is: you most likely don’t “need” to run in Admin mode anymore.

      That said, the reason why Notepad++ often has problem with Admin mode and settings is because of cross-contamination of permissions: running an app in Elevated privileges makes WINDOWS treat that app differently. It may be that with your current setup, the Elevated/Admin-mode won’t allow writing to AppData (since that’s a per-user, and for some system configurations, WINDOWS won’t allow admin to write to %AppData%). Or it might be that because you often ran N++ as Admin that the AppData-based settings might have been created/saved with Admin-privileges, so when you run N++ as normal user it cannot read or save the settings. Without being able to look at your file permissions for you, I cannot say exactly what caused it – you would need to verify where Notepad++ is trying to do the settings, and look at the directory and the stylers.xml in that directory, looking at Windows’ SECURITY settings for both; and then maybe try running experiments to see whether changing a setting/style-configurator in Notepad++ is saved when you exit Notepad++ when running normally and/or when running as Admin.

    • Wolfgang GrafenederW

      config Search to ignore \CR \LF

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

      @Wolfgang-Grafeneder ,

      Read Find Text Copied From Excel Cell and the issue(s) it links to, as there was an entire recent discussion on this.

    • Offshore9521O

      I'm in a Paragraph Find and Replace Hell

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      1 Votes
      2 Posts
      59 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 following regex S/R :

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

      REPLACE \x20

      So, any \r\n sequence, which respects the before and after conditions, 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 !

    • P

      Can't get the old toolbar

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      65 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
      79 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
      207 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 temporarily at .../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).

      update 2: The installer themes in the source code have been updated to have all the styles needed (to be able to fix the problems from v8.8.9). You can go here to grab the theme file(s) you want: https://github.com/notepad-plus-plus/notepad-plus-plus/tree/master/PowerEditor/installer/themes

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

    • Pierrick ramP

      The update deletes the macro file.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      84 Views
      Terry RT

      @Pierrick-ram

      I think you will need to provide more information. Such as copying the “Debug Info” from your Notepad++ installation and pasting it here. It’s under the ? menu.

      Terry

    • S

      NppTextFX2 not working for me in v8.8.8

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

      @Sinsearach ,

      Just updated after quite a long while,

      So that means it wasn’t just v8.8.8 that you had the problem with. Please only use the “Notepad++ x.y.z release” announcement topics for changes between immediately-previous version and this version. For example, that v8.8.8 topic should only mention regressions that changed behavior between v8.8.7 and v8.8.8. Any other problems you find when you jump from v8.1.5 (for example) to v8.8.8 should go in “help wanted” (where I put this duplicate discussion), and if can be confirmed as a bug in Notepad++, we will direct you on where to put in the official bug report. But it’s not an immediate regression with v8.8.8, so doesn’t belong in that discussion.

      TextFX (NppTextFX2) plugin

      mumble mumble… I wish the person who had done the conversion to make it compatible with N++ v8+ had renamed the menu and About box, not just the underlying DLL. (Not your fault, I know… but if someone accidentally just calls it TextFX, we are led to believe it’s the out-of-date incompatible plugin. So thanks for at least putting the real name in parentheses.)

      plugin will not work (appear at all), whether installed manually or through plugin admin,

      Weird. I just took portable v8.8.8 on my Windows 11 machine, and used Plugins Admin to install NppTextFX2 1.4.1, and it installed just fine. When N++ restarted, the TextFX menu was there, and I tried a couple random commands, and they did what was expected.

      I would be very much surprised if this were a Windows 10-vs-11 thing, because NppTextFX2 hasn’t changed recently, and N++ itself is tested on both Win10 and Win11…

      Yes I ran as admin.

      when did you run as admin? when you installed the plugin? or when you tried to run the plugin? or both? Because if you’ve got a portable Notepad++, it should be in a directory where you have full write access… and you shouldn’t need to Run as Admin (in fact, since v8.8.6, you probably shouldn’t need to Run As Admin for just about anything; it will individually ask for permission when writing files in protected directories). But if you installed it as Admin, maybe it broke the permissions of your portable directory

      In your portable 64-bit (you shouldn’t need to use 32-bit in modern OS): please do the following:

      go to ?-menu, and share your Debug Info with us show us a recursive directory listing of your portable Plugins directory, so that we can see that the directory hierarchy is correct (dir /S from a cmd.exe prompt, or powershell equivalent)
    • Arp RipA

      How to copy and paste large line ?

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

      @Arp-Rip said in How to copy and paste large line ?:

      I want to copy and paste from line 234566 to 6573242.

      Due to it is pretty large line, I can not push the mouse left key and pull.

      What kind of effective method that I can do this ?

      Ctrl+G then 234566 to go to first line, and place the caret wherever you want to start on that line Edit > Begin/End Select (or keyboard shortcut equivalent) Ctrl+G then 6573242 to go to final line, and place the caret wherever you want to end the selection on that line Edit > Begin/End Select (or keyboard shortcut equivalent) Everything between the Begin and End will be selected