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

      20 Search Entries Deletes To 10 After Restarting N++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      139 Views
      D
      Thanks PeterJones, that explains it — 10 is the default limit, so it is not a bug or lost settings, just the history being trimmed on restart. One practical tip for anyone editing config.xml to raise that number: close Notepad++ completely first, and make a backup copy of config.xml before changing it. If Notepad++ is still running when you edit the file, it can overwrite your change when it exits. After restarting, check that the Find history keeps more than 10 entries before relying on it for a long session.
    • R

      [Fork] MarkdownViewer++ (WebView2)

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      1
      0 Votes
      3 Posts
      253 Views
      PeterJonesP
      Practical feedback When I tried the “undock” button, it crashed the plugin (giving an error message included in a screenshot) – [image: 1795294404964-mv-wv2.error.png] well, maybe the plugin hasn’t crashed, but that action didn’t work, anyway, because it is not showing the undocked window as expected, but Notepad++ was still running. If I re-start Notepad++ after that error, it started with the panel undocked; this is highly repeatable for me. If I CONTINUE after the crash, and toggle the view of the panel, it displays, and for that run, undock and dock will work. Continued experiments show that if it starts undocked (through that button being used the previous time), then the dock/undock button toggle works right; but if it starts a run docked and I click the “undock” button, it will show that error and not show the undocked window until I tell it to show the preview again (or restart Notpead++). This is bad user experience. Second, when it’s successfully undocked via the button, I cannot use the normal Notepad++ docking panel behavior of dragging it to an edge to re-dock. OTOH, if I don’t use the button, but undock by the normal Notepad++ dragging, then I can drag it back to docked just fine. And if I make the mistake of dragging-to-undock, then clicking the button that’s still labled “undock”, it will crash not just the plugin but the entire Notepad++ application. If you’re going to call the feature “dock/undock”, it needs to work the same as the Notepad++ dock/undock, otherwise, it will cause confusion. So, what does that button gain you that the normal dragging does not? If it’s just the button, could you make it compatible with the normal dock/undock, so it’s just two alternative ways to get exactly the same compatible result? Philosophical feedback Just because the code is open-source doesn’t mean the name is freely available. In general, if you’re going to take over an existing piece of software and develop it from your own fork, you either need to get permission to use the name (like what happened with PythonScript and some other plugins), or give it a new name. Misc [deleted some ranting]: sorry, the earlier version(s) of my post were too harsh. I normally applaud anyone who revives an abandoned plugin, even if I do caution them to ask for naming rights or to rename to avoid trouble. But my rant was too strong, this time. See my post here for a comparison of various of the MarkdownViewer++ alternatives in and/or submitted to Plugins Admin at this point.
    • musicpandaM

      authenticode check failed

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

      # colors lines comments when they should not be

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

      Paste normal cut text in column mode

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      267 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.
    • A

      Ahem - I want to rant

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      3
      -4 Votes
      3 Posts
      748 Views
      A
      @PeterJones Ahem. UKRAINE SHALL BE BURNED TO THE GROUND AND A NEW UKRAINE, ONE MORE OPEN TO RUSSIAN INFLUENCE, SHALL RISE IN ITS PLACE!
    • S

      Anyone Here Use Notepad++ for Large Files?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      387 Views
      S
      @Mark-Olson That’s really helpful, especially the point about a huge single-line file being slower than a much larger file with shorter lines. I hadn’t considered that line length could make such a big difference to Notepad++ performance. I’ll definitely take a look at the Large File Restriction setting and the HugeFiles plugin as well. Thanks for sharing all these details!
    • Laurie StearnL

      PHP Lang: Word vs Keyword

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      384 Views
      Laurie StearnL
      @PeterJones Good info on StyleID, thanks.
    • F

      Plugin trust chain: unsigned DLLs, hash-only verification, and a writable plugin directory

      Watching Ignoring Scheduled Pinned Locked Moved Security security, 披露因素, trust
      3
      0 Votes
      3 Posts
      901 Views
      PeterJonesP
      same user also posted similar in this issue in comment in #17480
    • F

      Uninstall keeps user config: what survives a 'clean reinstall', and why it matters

      Watching Ignoring Scheduled Pinned Locked Moved Security security
      3
      0 Votes
      3 Posts
      298 Views
      PeterJonesP
      same user posted similar in this issue #10923 comment
    • PeterJonesP

      Comparison of the slew of Markdown Viewers Available

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development markdown markdownviewer++ ai generated plugins
      2
      13
      5 Votes
      2 Posts
      114 Views
      D
      Thanks for putting this together, Peter — this table is exactly the kind of comparison I was looking for before installing yet another Markdown plugin. The Sync and Local Images columns are the ones that matter most to me: I write long notes with local screenshots, and a preview that drifts out of sync with the editor is more distracting than no preview at all. Two columns I would find useful if you keep updating the table: whether the preview follows Notepad++ dark mode, and how each plugin behaves with large files. On my setup a few thousand lines is where some viewers start to lag on re-render, and that is the point where I usually give up on a plugin. For my own use the shortlist from your table is the WebView2 fork, MahiMarkD++ and MarkLens, mainly for the combination of two-way sync, local images and a table of contents. I will try the WebView2 fork first since it is the one I already have a feel for, and report back if I find anything that differs from your table.
    • 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
      732 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
      153 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.
    • 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!
    • A

      examining updates

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      314 Views
      PeterJonesP
      @asapuntz said: can I access things in a different way It takes some effort, but usually the pull request that fixes an advisory includes that advisory’s ID in the message, so you can search the pull requests for each ID
    • Charles BillowC

      Get/Turn On Wordwrap in NP

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      312 Views
      PeterJonesP
      @Charles-Billow , View > Word Wrap or the toolbar equivalent.
    • T

      Notepad++ crashes after requesting admin rights

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      258 Views
      PeterJonesP
      @ThatsYar_ , Can you share your ?-menu’s Debug Info? Does the same problem occur if you turn off all plugins (using -noPlugin command line option)? Is it for all files that need admin? Or just in one directory? Or just the one file?
    • Steven GuillemetS

      KB5127936 and changes to the Windows 11 context menu.

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      318 Views
      PeterJonesP
      @Steven-Guillemet said: Hopefully this will let Notepad++ ditch its current method Until that patch has effectively 100% deployment, Notepad++ should not change its implementation, otherwise it breaks something that currently works for anyone who hasn’t applied that fix. (If there’s a way to make the two methods coexist peacefully, or if there’s a way the installer can test the version and use the appropriate alternative, then that’s great. But if not, then breaking a feature to support bleeding edge is a bad idea)
    • fml2F

      Windows list / Entry for the current tab not visible initially

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      2 Votes
      5 Posts
      869 Views
      fml2F
      For the reference: I’ve created https://github.com/notepad-plus-plus/notepad-plus-plus/issues/18554.