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

      Notes repeated, repeated...

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      122 Views
      PeterJonesP
      @DanielCollins said: I would add one more thing to check first: how you close Notepad++ after removing the tabs. If you close the window with the X button, Notepad++ should save the session on exit, … Try closing with File > Exit after removing the tabs, then check whether the files stay closed on the next launch. There is no difference between the X button and File > Close, as far as Notepad++'s saving of the session. but if the program is still running in the background, for example after closing the window while it is minimized to the tray, It staying on the system tray is an interesting idea. But your wording (by putting it between the “X” and the “File > Close” in your suggestions) implied strongly that using File > Close would behave differently regarding minimize/close-to-tray, which it does not. The only way to fully exit the application when it’s in close-to-tray mode is to use the tray-icon’s right-click menu and choose Close Tray Icon But since @hixcube said,m “and shut down my PC”, the system tray is not likely to be the culprit, because when Windows cleanly shuts down, it sends the proper messages to Notepad++, and Notepad++ should save the session while exiting. So, despite being an “interesting idea”, I don’t think it’s the root cause of the problem as described. or if a second instance is open, the older session can be written back over the newer one. I seem to remember saying that already. (“the instance that saves the session might not be the one you think”) It is also worth checking Settings > Backup to see whether Periodic Backup is on, No it’s not. The Debug Info already posted told us what that Periodic Backup is on. So checking it is redundant. since that is separate from the session list and can bring back the contents of unsaved notes even when the tabs themselves are gone. The whole point of the original complaint is that they had Notepad++ set to remember sessions, but closed files, and the files are coming back in the session even though they had been closed. The session feature does not bring back contents of tabs after the tabs have been closed.
    • F

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

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      2 Votes
      4 Posts
      218 Views
      Mark OlsonM
      @falconefasto Haven’t had a chance to play around with it yet, but I’m the maintainer for JsonTools so I’ve spent a lot of time thinking about and dealing with the various pitfalls that can occur with a tree view of the sort you’re describing. Some thoughts: Does the treenode position work properly when the document contains multi-byte characters? JsonTools parses the document as a UTF-16 string but Notepad++ buffer positions generally assume the document is UTF-8 encoded, so the parser has to take this into account when assigning positions to JSON nodes. Lazy loading is a great idea, but how do you handle a treenode with a lot of direct children? In JsonTools I have a configurable setting for how many direct children a tree node can have, which I arbitrarily defaulted to 10,000. Otherwise the tree can cause NPP to hang even with lazy loading. A context menu that appears when you right-click a tree node seems like a good idea. Off the top of my head, maybe have the options be: select the start tag snap to end tag select the inner XML copy attributes to clipboard recursively expand/collapse all subtrees I can’t give any advice on implementation, since I’ve written all my plugins in C#.
    • 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
      367 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?
    • Steve ValliereS

      # colors lines comments when they should not be

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      274 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.
    • R

      [Fork] MarkdownViewer++ (WebView2)

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      1
      0 Votes
      2 Posts
      81 Views
      D
      Thanks for bringing this fork back to life, Ricardo. The WebView2 rendering and the line-based two-way sync sound like the two biggest improvements over the old 0.8.2 build — scrolling by percentage always felt slightly off when jumping between long sections. I also like that it keeps the existing settings and custom CSS, so trying it is low risk. One question: does the live refresh handle large files smoothly, or does it pause rendering while you are still typing quickly? I will give it a try on a few longer notes and see how the heading links behave.
    • 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
      94 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
      687 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
      111 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.
    • 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
      343 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.
    • J

      Duplicate context menu entries

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      1
      0 Votes
      9 Posts
      796 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.
    • 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
      227 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.