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++ release 8.9.9.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      26
      3 Votes
      26 Posts
      3k Views
      M Andre Z EckenrodeM
      @donho said: You can increase the width of Find dialog. Yes, I can, and even do — up to the width of my screen, and/or the confines imposed by other applications etc. that I need to keep visible on my screen while I work in NPP. More often than not, I have NPP occupying only the right half of my screen, with one or more other applications with data I need to refer to occupying the left half. And yes, of course, the Find/Replace dialog occupies its own space independent of the where the main application window is, but there’s almost always a trade-off for me because I use lengthy FIND WHAT and REPLACE WITH strings so often, and either the dialog ends up covering something else I need to see, or I’m unable to view my find/replace strings in their entirety anyway because I’ve run out of available width for the dialog. Having both combo boxes be as long as they possibly can be helps.
    • andrecool-68A

      Why do the HTML tag plugin command IDs change with each update of Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      5
      0 Votes
      8 Posts
      280 Views
      PeterJonesP
      @andrecool-68 said: If you have the constant IDs of this plugin, everything works perfectly, and when switching the language in Notepad++, the context menu also automatically changes to the Notepad++ language. “if”. But they aren’t. And because there is no way that plugins can guarantee specific commandID for Notepad++ menus, and there’s no way for Notepad++ to assign a “constant” ID, that’s not going to happen. (Notepad++ cannot know how many plugins exist in the world, nor how many menu commands each will use; the plugin interface is public, so anyone could write their own private plugin. So Notepad++ cannot allocate fixed commandIDs. I cannot see a way around that which would work in all circumstances.) If you have a plugin like this whose commands translate, you can put in both the English and the Localized version: <Item FolderName="AndreCool" PluginEntryName="HTML Tag" PluginCommandItemName="Перейти к соответствующему тегу" /> <Item FolderName="AndreCool" PluginEntryName="HTML Tag" PluginCommandItemName="Find matching tag" /> then whichever localization is picked, that one will be in the menu Or, if you want to stick with just having one commandID-based entry per command, then you will have to live with the fact that the commandID can change when you update a plugin, install a plugin, or possibly even when all you do is update to a new version of Notepad++
    • F

      Where does "Split Lines" actually split?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · menu lines columns text
      8
      0 Votes
      8 Posts
      2k Views
      D
      Thanks pbarney, that clears up the part that always confused me too — I had assumed the split used the first edge in the list, not the last number typed in the field. One practical tip from my own use: if there is no space near the split column, Split Lines can break in the middle of a word, so I usually pick the edge based on the text I am editing rather than leaving several edges set. And if a split lands in an awkward spot, Ctrl+J (Join Lines) puts it back quickly, so it is easy to undo and try a different edge setting.
    • R

      No plugin admin since last update

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      350 Views
      R
      @PeterJones No block boxes, and all files have read/execute allowed. What I have found is if i install an older version and then work up through the versions to V8.9.9.1 the admin option is there. So all good now but i am none the wiser as to what the iussue was. registry?
    • F

      [New Plugin] XML Tree – FOXE-style XML tree panel

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      2 Votes
      3 Posts
      141 Views
      D
      Thanks for sharing this, FalcoNefasto. The lazy loading approach sounds like the right call for large XML files — a full tree built up front is usually what makes these tools slow. The well-formedness checker with clickable line jumps also looks genuinely useful; that is the part I would use most when editing config files by hand. One question: how does it handle files with namespaces or very deeply nested elements? I will give it a try on a few of my larger files and report back if I spot anything.
    • Steve ValliereS

      # colors lines comments when they should not be

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      259 Views
      D
      You are right about Windows INI files, and this is not something you did wrong in langs.xml. For INI files, Notepad++ uses the built in INI lexer, and that lexer treats both ; and # at the start of a line as a comment. That behavior is in the lexer itself, not in langs.xml, which is why you did not find # listed as a comment marker there. Windows itself only treats ; as a comment in INI files, so the coloring is misleading for your files, but it is expected Notepad++ behavior, not a mistake in your setup. For your own language definition, check two things separately. First, open Language, Define your language, select your language, then look at the Comment and Delimiter tab and make sure # is not listed as a comment line opener. Second, check that the file is actually using your language, not INI: the Language menu should show your language name when that file is active, and the file extension should be assigned to your language only. Listing # as an operator should not turn a line into a comment on its own, so if # lines are still colored as comments in your custom files, the INI lexer is the likely cause, because the file is being treated as INI. Lycan Thrope’s EnhanceAnyLexer suggestion is a good workaround for the INI case, because it lets you override the comment color for # lines so they look like normal text. For your custom language, removing # from any comment definition in the UDL, then saving and reopening the file, is the cleaner fix. If you test with a small file that only has one # line and one ; line, you can tell at once which lexer is coloring it.
    • H

      Notes repeated, repeated...

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      42 Views
      PeterJonesP
      Notepad++ should update the session when you close the file inside Notepad++, so that when Notepad++ exits, it should remember to not have the file in the session the next time. I’ve never personally seen that fail, in 15+ years of using Notepad++. If Notepad++ is in multi-instance mode, the instance that saves the session might not be the one you think. I see you have it default to mono-instance mode, based on your Debug Info. But do you ever use the “move to new instance” or “clone to new instance” commands, to have multiple Notepad++ windows open at once? If you do, then only one of them gets to save the session, so files you close in a second instance would not be removed from the session. If you only ever have one Notepad++ window open, then that’s not the culprit. My other guess is somehow you have a permissions issue on session.xml. As an experiment: Exit all open Notepad++ windows. Look at %AppData%\Notepad++\session.xml properties (Right Click in Explorer, then Properties), and look at the last-modified time, as well as the Security tab’s permissions section for your user (or for USERS in general, if your user isn’t listed in the choice box): make note of the last-modified time , and make sure “read only” is not checkmarked. [image: 1795190652610-effba03f-4f20-4de5-a4bb-ccc550f75edb-image.jpeg] Make sure your user has write-permission to the file [image: 1795190669034-3702b1ed-44d7-46d6-b6fe-b92ba7655ecb-image.jpeg] Run Notepad++ Close one of the tabs in Notepad++, so it should remove it from the session. Exit Notepad++ Look at %AppData%\Notepad++\session.xml properties again, and see if the last-modified time has updated. If it’s not been updated, then Notepad++ is, for some reason, not writing to the session file. Run Notepad++ again, and see whether the closed file is still closed, or whether Notepad++ re-opened it. If that works, then the system as a whole should be working, so maybe it will work from now on. If it doesn’t work, then tell us where in the process it diverged from expected behavior (screenshots of the properties, similar to mine, would be nice)
    • O

      Search and replace window: tab (to navigate) doesn't work as it used to

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      1
      0 Votes
      2 Posts
      34 Views
      PeterJonesP
      @Olli-B. said: When using the S+R popup, nowadays the second navigation item when using Tab (as we all do, I think), is the checkbox - at least for me it seems new Lots of people have already complained about this, including multiple in the 8.9.9.1 announcement, here, here, and here; as well as two issues, #18639 and #18662 . The code has been updated, so the order will be changed in the next version, so that one TAB from FIND is REPLACE, as it used to be.
    • Morten SiljubergM

      Why do Notepad++ keep the "Move to recycle bin" delete prompt?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      0 Votes
      5 Posts
      669 Views
      D
      That matches what I have seen as well — the prompt is not really a Notepad++ setting, it comes from Windows, so Notepad++ cannot turn it off on its own. One thing worth knowing before changing it: the Recycle Bin setting applies to every program, not just Notepad++, so turning off the confirmation dialog means Windows Explorer stops asking too. If you only want to skip the prompt once in a while, Shift+Delete deletes a file permanently without sending it to the Recycle Bin, though that is worth using carefully since there is no easy undo.
    • J

      印刷仕様の選定(指定)方法

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      97 Views
      PeterJonesP
      @ja2njf , Like most Windows apps, Notepad++ hands that off to the printer driver, so you need to go to the preferences for your printer to set the paper size for printing
    • C

      The Notepad++ website is blocked in Russia.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      0 Votes
      6 Posts
      6k Views
      PeterJonesP
      @Андрей-Максимов said: Try to use CudaText if you’re not welcome here It’s not Notepad++ or the owners of the Notepad++ website that was doing the blocking. It was something that the user’s service provider (or someone else in the middle) was blocking. From the Notepad++ team’s perspective, all users are free to download and use Notepad++, no matter where their IP physically maps to. But Notepad++ cannot prevent an ISP (or some other entity) from putting up a blockade between their users and the Notepad++ website.
    • J

      Duplicate context menu entries

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      1
      0 Votes
      9 Posts
      765 Views
      D
      Glad the second reboot held — that fits with what PeterJones described. Windows 11 does not keep these primary-menu entries in the classic HKCR*\shellex registry keys the way Windows 10 did; the “Edit with Notepad++” entry comes from NppShell.dll through a sparse package registration, and Windows caches that registration, so a stale entry can survive an uninstall and reinstall until Explorer and the shell cache are refreshed by a reboot. If it does come back, the thing I would check before reinstalling again is whether two copies of the shell extension are registered — for example a leftover 32-bit install alongside the 64-bit one, or an old install folder still on disk. Re-running the current installer as administrator and toggling the shell extension off and back on, or following the unregister and re-register steps in nppShell issue 79, is usually enough without a full reinstall. And if it returns after a future update, noting whether the Publisher field in the manifest changed would help confirm it is the same known issue rather than a new duplicate.
    • donhoD

      You've a lot of reasons to hate Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      93
      5 Votes
      93 Posts
      196k Views
      M
      How would you like a shortcut definition UI to be designed then?
    • musicpandaM

      authenticode check failed

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      323 Views
      D
      Thanks xomx, that explanation makes sense — the shortened path in AstroGrep is a good catch. It would be useful to know whether upgrading to 8.9.9.1 fixed it for you, musicpanda, since that would confirm the cause for anyone else hitting the same error after updating from 8.9.3. If the upgrade does not fix it, it is worth checking the full path set in AstroGrep as well, and making sure the file path is passed with quotes when it contains spaces. The warning itself is a safety check, so it is better to fix the path than to work around the check.
    • Carlos SánchezC

      [New plugin] Smart Math

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      12
      1 Votes
      12 Posts
      2k Views
      Vitalii DovganV
      SmartMath is more than just a calculator. SmartMath natively supports one-dimensional lists/arrays (inspired by SpeQ Mathematics), aggregation functions (inspired by Python: sum, sort, filter and so on), time values (inspired by NumLock Calculator) and complex numbers. Since lists/arrays are natively supported, SmartMath does not need Python’s map function. Instead, it directly calculates such expressions as 100 + (5, 15, 30), sin((pi/4, pi/3, pi/2)) and so on. There is a joke about the C programming language that its creators stopped developing it once C could compile code that no human could understand. Well, here are a few expressions that work in SmartMath: 1e1i++i v = (5-+-1, 1+-+5) v[0]i(33) v[0]%**v[1] upd(a,n,x) = (a[0:n], x, a[n+1:]) g=(): 9.8; g=g() Finally, here are a few examples that looked interesting enough to be included into the “SmartMath,md”: check_index(a,n) = filter(n, t: t>=0 && t<len(a))[0] upd(a,n,x) = check_index(a,n)*0 + (a[0:n], x, a[n+1:]) Do you still think that SmartMath is just a calculator? ;) The latest binaries are available here: 32-bit (x86): https://drive.google.com/file/d/1QNtDeN09VdfpZsfD6dDQ5j8xvcPd-1pO/view?usp=drive_link 64-bit (x64) https://drive.google.com/file/d/1a0In5EZuESV4L4jH_b21fHAfoyAfUiDR/view?usp=drive_link And the online version: https://d0vgan.github.io/AkelPad-Smart-Math/ Have fun!
    • fahrrad13F

      Paste normal cut text in column mode

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      214 Views
      D
      Thanks for the detailed steps, Coises — that Shift+Right Arrow trick to turn the column selection into a multi-editing selection is the part I had been missing. One alternative that worked well for me in a similar case, when the values are already on separate lines, is to skip the cut step altogether: place a caret at the end of each target line with Ctrl+click (multi-editing), then paste the multi-line text. Notepad++ puts one pasted line at each caret, so the 1 goes after the first ID = and the 2 after the second, with no blank lines left behind. It is a bit fiddly if there are many lines, but for two or three lines it is quicker than converting the selection back and forth. Either way, checking that both multi-editing options are enabled in Settings > Preferences > Editing 2 first, as you said, seems to be the key.