• 0 Votes
    5 Posts
    1k Views
    pbarneyP
    This question has been addressed elsewhere, but this particular community topic showed up at the top of my web search results, so I’ll add an answer for future visitors. When using Edit → Line Operations → Split Lines (Ctrl+I) to split long lines into multiple shorter lines, the splitting point depends on your Vertical Edge Settings. You can this at Settings → Preferences → Margins/Border/Edge → Vertical Edge Settings. Vertical Edges are purely visual column markers. They do not effect your editing in any way. They do not cause auto-wrap or act as any kind of fixed edge. You can specify one or more for whatever purposes you deem fit. Here is how they affect Split Lines (Ctrl+I): If you do not have any vertical edges defined, your lines will spliit at the edge of the editor window. If you do have one or more vertical edges defined in your settings, your lines will split at the last number listed in the Vertical Edge Settings field. It is crucial to realize that the column numbers do not need to be listed in any particular order. For example: Vertical Edge Settings Lines Split at [80] Column 80 [80 100 120] Column 120 [80 120 100] Column 100 Disclaimer: because I’ve been accused of this multiple times before, I probably need to say it: this post may sound like it’s AI-generated, but I write technical documentation, and this is just the way I write.
  • 0 Votes
    4 Posts
    560 Views
    S
    Ah, that clears it up. I didn’t realise the confirmation prompt could be controlled through the Recycle Bin properties, so it looks like the option is still there rather than being completely removed. Thanks for pointing that out!
  • 0 Votes
    9 Posts
    680 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.
  • Notepad++ release 8.9.9.1

    Pinned Announcements
    23
    3 Votes
    23 Posts
    2k Views
    PeterJonesP
    PeterJones said: Please note that the request to move / reorder the new checkbox control is being tracked as #18639. For those who the placement/order bothers, if you haven’t already, you could go add your upvote to that issue. The fix to reorder has already been implemented, so at least that much will be in the next version. If you have strong feelings on moving it as well, further discussion could happen there.
  • # colors lines comments when they should not be

    General Discussion
    3
    0 Votes
    3 Posts
    207 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.
  • 0 Votes
    4 Posts
    290 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?
  • [New plugin] Smart Math

    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!
  • 0 Votes
    3 Posts
    182 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.
  • 0 Votes
    8 Posts
    220 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++
  • 0 Votes
    1 Posts
    192 Views
    No one has replied
  • authenticode check failed

    General Discussion
    2
    0 Votes
    2 Posts
    281 Views
    xomxX
    @musicpanda @musicpanda said: I got an error popup “Authenticode check failed: signature or signing certificate are not recognized”. That was not really a problem: I just clicked the message away and the file opened in Notepad++. Weird - in the past (pre v8.0 N++ versions), when N++ was showing that security message, it then couldn’t continue and quit (that was a msg used for checking of the dynamically loaded Scintilla SciLexer.dll). to 8.9.8.1) Notepad is still coming to the front but the file is no longer opened. Are you using a shortened notepad++.exe file path in the AstroGrep settings? I mean e.g. C:\Progra~\Notepad++\Notepad++.exe . If so, just upgrade to the latest v8.9.9.1, where that thing is fixed.
  • examining updates

    General Discussion
    2
    0 Votes
    2 Posts
    254 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
  • 3 Votes
    1 Posts
    221 Views
    No one has replied
  • Notepad++ release 8.9.9

    Announcements
    28
    4 Votes
    28 Posts
    4k Views
    donhoD
    @pnedev Cannot reproduce - it works fine for me. Please create an issue on Github & provide all necessary information there, I (& other devs eventually) will try to reproduce according your information.
  • 0 Votes
    4 Posts
    327 Views
    PeterJonesP
    @fml2 said: Oh, I thought each button in each dialogue had a shortcut key… Dialog buttons can have a keyboard accelerator “for free” if the text has an & preceding a character that works. But because that button uses a symbol (that changes) which is not on standard keyboards, that button obviously doesn’t have an accelerator now. As such, extra code would have to be added to give a shortcut rather than accelerator for that button. If that’s something you would like added to the interface, feel free to put in a feature request.
  • Get/Turn On Wordwrap in NP

    Notepad++ & Plugin Development
    2
    0 Votes
    2 Posts
    263 Views
    PeterJonesP
    @Charles-Billow , View > Word Wrap or the toolbar equivalent.
  • Ahem - I want to rant

    Boycott Notepad++
    3
    -4 Votes
    3 Posts
    655 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!
  • 0 Votes
    4 Posts
    460 Views
    xomxX
    @Sevens99 I guess that it depends on a specific SW (Windows edition, build, libraries, other installed shell context menu handlers) rather than on a different HW. But who knows. It’s a race condition bug, so everything is possible.
  • Notepad++ v8.9.9 Release Candidate

    Announcements
    34
    6 Votes
    34 Posts
    5k Views
    PeterJonesP
    @tm8544 said: There is a regression in Notepad++ 8.9.9. I saw it already in 8.9.8.1, but I could not pinpoint it at that time. “Regression” means a bug introduced in this version that wasn’t present in the previous version. So if you saw it in the previous version, then it’s not a regression, just a bug. Use Compare plugin, diff since last save (Ctrl+Alt+D) This sounds a lot like this report, which the plugin author is now looking into and tracking in that plugin’s issue tracker. Plugin authors are responsible for investigating bugs/crashes that are caused when using features of their plugins, as they are the only ones who can determine whether the problem is on their end or on Notepad++'s end; bugs/crashes in a plugin should be reported directly to the plugin author.
  • 1 Votes
    20 Posts
    2k Views
    guy038G
    Hello, @coises, I confirm that, if I choose the GDI (most compatible) rendering mode instead of the DirectWrite (default), the spliting action seems to always occur after 78 letters P ! I verified this assumption with, both, the proportional Times New Roman font and the fixed width Consolas font BR guy038