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

      Small problems in Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      12
      0 Votes
      12 Posts
      282 Views
      U

      My last message was wrong. Please excuse me.

    • Matt BrownM

      Find / Replace All Behavior Change

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      10
      0 Votes
      10 Posts
      93 Views
      PeterJonesP

      @Matt-Brown said in Find / Replace All Behavior Change:

      @PeterJones Thank you! Probably my own bone-headed oversight. I know it updated recently and afterwards I noticed the behavior…I’ve never intentionally touched the “wrap around” checkbox. It was unchecked. I appreciate the explanation.

      That happens. Glad you figured it out.

      (I deleted my intervening post, which was made before your post got approved in the post queue)

    • Salam EliasS

      All of a sudden cannot type anything in Notepad++ 8.8.8

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      0 Votes
      8 Posts
      221 Views
      Salam EliasS

      @PeterJones Thanks for your efforts, yes, I think that was the issue.

    • dz15mlruD

      BUG: N++ does not keep in UTF8 unsaved open files

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion bug cyrillic utf8 encoding
      8
      0 Votes
      8 Posts
      182 Views
      dz15mlruD

      So, I’ve checked the session.xml to see how many files and in which encoding are.
      https://i.imgur.com/H10X5Sh.png

      What I’ve discovered here are inconsistent results.
      While I expected all files to be in UTF-8 due to my settings, here I found:

      Some (most) UTF-8 files with encoding “-1” in session.xml Some UTF-8 files with encoding “10007” in session.xml Some “Cyrillic -> Macintosh” files with encoding “10007” in session.xml Some “Cyrillic -> Windows 1251” files with encoding “1251” in session.xml

      Somehow, N++ for itself has decided and selected alle these different encodings. What I need is to have all my files always in UTF-8, and now I’m thinking maybe to mass-convert all the file to UTF-8 somehow…

    • Mark AndersonM

      Find Text Copied From Excel Cell

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      7
      1 Votes
      7 Posts
      178 Views
      guy038G

      Hi, @mark-anderson, @peterjones, @alan-kilborn and All,

      Phew ! More fear than harm ! See my very last issue_comment :

      https://github.com/notepad-plus-plus/notepad-plus-plus/issues/17227#issuecomment-3591646890

      BR

      guy038

    • Todd MarshallT

      **Title: Proposal to Add `Ctrl + ]` Shortcut for Matching Braces**

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

      @Todd-Marshall ,

      Some comments, based on your two most recent posts:

      We had no way to know how exactly you used the AI – it could have been either of the following: you prompted it to “take a common problem found in Notepad++ and propose a solution” This version was why I suggested it might have been hallucination Since you didn’t say earlier, I had no way to know this wasn’t what had happened. you prompted it with "brace matching is not working for me in Notepad++, with details X, Y, Z. could you re-write this as a “proposal for improvement” This version was why I suggested that it was bad data fed into the prompt (ie, that you were wrong) This turned out to be closer to the truth, as you described. Both in regards to what you actually asked the AI to do, and with regard to the fact that you were wrong or incomplete in your description to the AI This was a lot of extra effort on your part. Instead of explaining to the AI what you wanted to say, and then have it re-write your text in its own words, you could have just explained it to us in your own words. And it would have been better, because it wouldn’t have introduced the AI-garbage uncertainty. And you wouldn’t have been violating the forums rules for posting. So it would have been better all around. Your posts don’t even match the AI text you posted. In your two most-recent posts, you claim you suggested Ctrl+D, but your AI text actually suggested Ctrl+] … that’s two different keystrokes. So by going through the AI intermediary, you didn’t even know what you posted. Re: Documentation: I have no idea what you mean by “mired in COIK” As the primary maintainer of the Notepad++ documentation, if you have concrete examples of how the Online User Manual is “poorly organized”, feel free to create an issue in the user manual repo with concrete descriptions… but understand that the basic structure is pretty set-in-stone at this point. But if you really meant, “I have been burned by other documentation before, so I don’t bother reading any documentation”, the onus is still on you to give each new application’s documentation a chance before rejecting it out-of-hand. I really don’t care about how good or bad the documentation for a major corporation’s huge flagship product is, and you basing your decision on whether or not to read any documentation based on a bad experience with a huge, gigantic application like that is rather unfair of you to any other documentation Re: the root cause being mismatched braces: you cannot really expect a feature that says “go to matching brace” to work as you described you wanted when the braces aren’t matching. And, in fact, the way that Notepad++ does work helps to indicate that the braces are mismatched, now that you know what that symptom means.

      To sum up: don’t post AI-generated content in a Community of human Users of Notepad++; it’s not allowed, and it didn’t work well for you when you did.

    • Ian HicksI

      Run Notepad++ as commandline to edit and save

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      0 Votes
      10 Posts
      308 Views
      Ian HicksI

      @Ian-Hicks Hit a few too many speedbumps, so retraced my steps and found a solution using MSXML. Output isn’t as elegant, but it’s readable, so provides a solution to my problem

    • h-jangraH

      Does arm64 plugin build required to include?

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      179 Views
      EkopalypseE

      @h-jangra

      It could be, yes, because I downloaded it and ran setup_arm64.bat in a normal cmd shell, and it worked.
      But it could also be due to how you originally set up Rust. I also played around with this a bit, but couldn’t reproduce your problem.
      I had MSVC installed via the Visual Studio installer, and then I installed the Rust toolchain. Some weeks later I add the arm extensions for VS and added the target to Rust, and it works for me.

    • It'sAWonderfulLifeI

      "Open containing folder in Explorer" always launches a new Explorer process instead of re-using!

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      144 Views
      It'sAWonderfulLifeI

      @PeterJones

      Thanks for pointing me to that Github issue. I somewhat researched the topic (using VS code/Electron) repos and added a suggestion there.

      The issue, I think, is that instead of using a dedicated shell API, Notepad++ tries to manually launch an Explorer process.

    • donhoD

      Notepad++ 8.8.8 release

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      19
      1 Votes
      19 Posts
      5k Views
      GarrettG

      @Daniel-Richter I am using PSADT 4.1.7 for packaging and deploying with both Intune & MECM

    • James Burke 0J

      Working with "User Defined Language"

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      80 Views
      PeterJonesP

      @James-Burke-0 ,

      Also, please don’t waste our time by asking the same question repeatedly in different ways. I told you this in early November, in this post, where I said, “instead of providing you a Save button…”, and went on to explain the same thing.

      It’s very annoying to go to all the trouble of giving a detailed answer, and then to get proof that the answer is completely ignored by the person who asked.

    • S

      autoupdater and connection temp.sh

      Watching Ignoring Scheduled Pinned Locked Moved Security
      12
      0 Votes
      12 Posts
      4k 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
      47 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.

    • fml2F

      Set current directory to default if no real file is open

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      0 Votes
      9 Posts
      256 Views
      fml2F

      I’ve created two feature requests: one in Notepad++ and another in the Python Script plugin (and cross referenced them), since I don’t know where this feature would be better impemented.

      https://github.com/notepad-plus-plus/notepad-plus-plus/issues/17246 https://github.com/bruderstein/PythonScript/issues/401
    • Alex De LaraA

      Switch to previous/next document... was this previously asked ?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · need help
      10
      1 Votes
      10 Posts
      1k Views
      PeterJonesP

      I think what is really needed, are 2 new keyboard shortcuts to:
      (a) move to/from 1st and last tab

      View > Tab > 1st Tab already has a default shortcut of Ctrl + Numpad1 View > Tab > Last Tab doesn’t have a default shortcut, but Shortcut Mapper can assign one quite easily (Settings > Shortcut Mapper > Main menu, Filter = last, click on Last Tab and Modify to set to whatever keyboard shortcut you would prefer) Notepad++ has hundreds of menu commands (a thousand? probably pretty close). They cannot all come with default keyboard shortcuts, and the user is expected and encouraged to customize the shortcuts to match their individual needs.

      (b) move to/from previously selected tab.

      If Settings > Preferences > MISC page’s Document Switcher section has both ☑ Enable and ☑ Enable MRU behavior turned on, that’s exactly what Ctrl+TAB does. If you don’t hold down the Ctrl, it just toggles between the current tab and the previously-used tab. And if you hold down the Ctrl, it allows you to navigate through in order from most recent (top of list) to least recent (bottom of list).

      So all three features you mentioned already exist, and 2 out of the 3 have default keyboard shortcuts already defined. So to get everything you want, you just have to use the Shortcut Mapper to assign a key to the Last Tab command (which might naturally go to Ctrl + Numpad0, to align with the the Ctrl + Numpad1 for the 1st Tab).

      Useful References Document Switcher feature: https://npp-user-manual.org/docs/user-interface/#document-switcher Document Switcher preferences: https://npp-user-manual.org/docs/preferences/#misc
    • Sylvia NgariS

      Which theme has the best support for Python in terms of syntax highlighting?

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

      @luk3Z ,

      You could share it in the centralized NppThemes Collection at https://github.com/notepad-plus-plus/nppThemes/ , which makes it easier for people to look through available themes (and with the CollectionInterface plugin being able to directly access that Collection, the plugin can simplify their installation process)

    • Kaptain BiwouakK

      Notepad++ 8.8.8: 2 issues detected

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

      @Kaptain-Biwouak,

      1/ last updates about Perl language don’t allow anymore to detect perl subroutines with the menu function (It was working well with Notepad++ 8.8.1).

      By “the menu function”, I am assuming you mean the View > Function List.

      But when you say it doesn’t “detect perl subroutines”, you will have to be more specific, because Function List does work for Perl files in v8.8.8 – though it is known to have efficiency issues.

      b60af6c5-90e6-4a07-b34d-a45c6524db4c-image.png

      the version of the Perl FunctionList parser found here will hopefully be in the next version of Notepad++ (presumably v8.8.9), so if you put the new XML in %AppData%\Notepad++\functionList\perl.xml (you might have to create the functionList subdirectory) and restart Notepad++, it will use the more efficient parser.

      After doing that, if it still doesn’t show your subroutine, please click the </> button in the reply, and paste a small Perl program that shows one or two subroutines that don’t show up in the FunctionList.

      2/ on-going modifications usually shown with * on the tab bar are no more accurate; Several tabs have now this status even if one file is currently being modified.

      I only see an * on the title bar if a tab that has unsaved edits is active. If I switch to a tab that has no edits, the * is not shown on the title bar. Can you give a minimal series of steps to reproduce the problem? because I cannot get it to be wrong about the *.

    • b-squaredB

      Can't install any plugin - hash mismatch

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      68 Views
      CoisesC

      @b-squared said in Can't install any plugin - hash mismatch:

      Hi,

      I get the following error when trying to install a plugin from the Plugin Admin tool. I’ve tried several including Compare, JSON Viewer, 3P, HEX-Editor, JSON Tools.

      Your Debug Info shows that you are using 64-bit Notepad++ version 8.8.8; Plugins Admin in that version should be offering Preview HTML 1.3.3.3. From your screenshot, it looks like it’s trying to load a 32-bit plugin with version 1.3.2.0.

      I’m thinking that somehow your copy of the plugins list is not getting updated properly. Just to be sure… is this a regular installed version or a portable version, and exactly where are you getting the download?

      Any way to install plugins manually, or will I just run into the same issue?

      You can install plugins manually and there isn’t a hash check when you do that. Before we go that way, though, we need to figure out why your installation copy of the plugins list is messed up — I have to think it might not be the only thing that’s messed 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)

    • A

      BUG: Clicking on pin causes app unresponsive for a while

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      91 Views
      xomxX

      @andwan0

      Your issue has been fixed for the N++ v8.8.6+.