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
    • Joe WiltonJ

      UDL - combining C++ folding and Nasal highlighting

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      0 Votes
      5 Posts
      229 Views
      PeterJonesP

      @Joe-Wilton,

      Obviously there is some interaction between the characters in the Operators 1 list and the Folding in Code 1 and 2 styles.

      The intention for UDL is that no given token (symbol or word) is found in two separate fields: they are supposed to be unique, because you cannot style a token both as an Operator and as a Folding-In-Code, as the two are mutually exclusive. There is an internal order they are processed, but that order is not guaranteed (a few versions back, Notepad++ actually changed the order of a couple of the fields, which broke some UDL that were relying on the old order of processing to handle conflicts in their definitions). If you make the UDL without conflicts, you won’t have problems if Notepad++ changes the internals again.

      (By “no given token … is found”, I mean “is found alone”. For example, you could have a fold-open2 of { and an operator of {{ – if it finds double-brace, it will render it as an operator, but a single-brace will be a fold-open2.)

    • G

      "New UI" for NPP here

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      -2 Votes
      5 Posts
      489 Views
      G

      @PeterJones

      If you have compare plugin installed you can use it, compare english.xml with english_customizable.xml I provided and you’ll see all differences. Anyway below is explanation of couple of them (ones that you didn’t mention).

      Ps. you probably know this but you can make context menu and tab context menu work in both localizations by referring to items by their IDs instead of their names. IDs can be found with NPPUISpy plugin or by reading english.xml localization file.

      renamed “Window” menu as Tabs as to my observations items inside are tabs, not windows.

      “containing folder”. I have not heard this term used anywhere else than NPP. Most common name for showing file folder in explorer is “Show In Explorer”, sometimes also “Open in Explorer”. IMO in this context “current folder” is more intuitive.

      “close multiple documents” --> “close multiple tabs”. How often people use NPP to edit “documents” ? For me I edit mainly script or programming source code, txt, ini, xml files, etc… Document gives completely wrong impression (in my opinion) so tab is a better term.

      “edit - insert”–>“edit - insert date, time”. If you use the program seldom you will not remember what sort of insert options there are inside so better to have more descriptive menu item name.

      “Convert case to”–>“Case”, “Line Operations”–>“Line”, “EOL Conversion”–>“EOL”, unneeded words cluttering UI

      “Auto-Completion”–>“Auto-Complete”, latter is de-facto term used for this feature

      “View - View current file in”–>“View - Open with”, Open with is more common way to describe this feature

      “Encoding - Character Set”–>“Encoding - Non-English Encoding”. Character set is pretty ambigous name but this submenu contains only encoding related to non-english languages so I thought this name would be more descriptive.

      “Language - User Defined Language”–>“Language - UDL Settings”. IMO things related to UDL were maybe most confusing and illogical part of NPP UI. So I did a lot of changes there.

      “Reload from Disk”–>“Reload”. Usually it is called just Reload or Refresh

      “Open in default viewer”–>“Open in default program”

      “Folder as Workspace”–>“Workspace - Panel”

      “Synchronize Horizontal Scrolling”–>“Sync Horizontal”

      “Focus on Another View”–>“Focus on Other View”

      “Open User Defined Language folder…”–>“Open userDefineLangs Folder…”

      “Notepad++ Online User Manual”–>“USER MANUAL”

      “Run…”–>“Open External Program…”

      “Close - Close All BUT This”–>“Close - Other Tabs”

      Close - Close All to the Left"–>“Close - Left”

      “Find in Files”–>“Search in Multiple Files”. This was especially confusing. I had no idea what Find in Files would mean but Search in Multiple Files is pretty self explanatory.

    • VTGroupGitHubV

      Open files with NPP_EXEC then switch to the tab of the first opened file?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      241 Views
      Vitalii DovganV

      I’ve added this case to the Manual!
      https://d0vgan.github.io/nppexec/?q=4.6.20

    • D

      Notepad++ DLL Hijacking Vulnerability (CVE-2025-56383)

      Watching Ignoring Scheduled Pinned Locked Moved Security
      10
      0 Votes
      10 Posts
      1k Views
      donhoD

      https://notepad-plus-plus.org/news/v886-released/

    • Franz-Josef BadeF

      Assigning a special UDL Languages

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      245 Views
      Franz-Josef BadeF

      @PeterJones
      Again, thanks a lot and good luck/success for your further work.
      Ps. Do you know perhaps an old program “VEDIT”? I worked with it for some decennies ;-) , but …

    • bofhlusrB

      Looking for dBASE IV (old DOS versions) UDL

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      24
      2 Votes
      24 Posts
      3k Views
      Lycan ThropeL

      @James-Burke-0 ,
      Yeah…okay, whatever. It’s clear now, you don’t know what you’re talking about and pushing a product that isn’t what you say it is.

      Your statement is false, period. It can’t read all known DBF types, as you state because it can’t read level 7 DBF files, which has been the latest official dBASE file type for the past approx 28 years almost since it’s been written to work in Windows, so I’ll consider your postings to be uninformed spam. Have a nice day.

    • C

      possible to create a openfile dialog under jn-npp-plugin ?

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      0 Votes
      4 Posts
      163 Views
      PeterJonesP

      @PeterJones said in possible to create a openfile dialog under jn-npp-plugin ?:

      Or the plugin has a wiki , so that documentation might help you with your issue.

      For example, this page in its wiki describes how to call win32 api functions from the plugin. Using that, and the topic that @Alan-Kilborn linked, where @Ekopalypse showed how to wrap that same win32 api dialog using PythonScript plugin, combing the two ideas might allow you to do the same wrapping in jn-npp-plugin.

    • fml2F

      Separately set the beginning and the end of selection

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

      @fml2 said in Separately set the beginning and the end of selection:

      Goes to study the NP++'s menues

      https://npp-user-manual.org/docs/editing/#edit-menu
      is a good place to start. The other menus are described in appropriate places in the manual

    • LeeL

      [FORK] after v8.8.2 is slow to launch

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

      UPDATE: With the release of v8.8.7, Notepad++ is once again signed by a GlobalSign-issued certificate, as well as the Notepad++ self-signed certificate.

      So updating to 8.8.7 should eliminate the problem originally described.

    • Jon LesterJ

      Sudden issue with increasing cursor offset proportional to column

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      1 Votes
      4 Posts
      199 Views
      Jon LesterJ

      Thanks for the replies both.

      @Coises that seems to have solved it! - all is good again after switching to Direct Write - many thanks!

      I haven’t updated video drivers, but Win10 installed a couple of updates at some point today (KB5065429 and KB5065957) - maybe there was a related change there somewhere.

    • Mister SmittM

      Folding without closing parentheses or tags

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      252 Views
      Mister SmittM

      @rdipardo

      This is the perfect option!

    • Matthew HabashM

      Seperating words in between dash with a line break

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      1 Votes
      3 Posts
      95 Views
      Matthew HabashM

      @PeterJones Thank you for the explanation and my apologies for the confusion. I meant for both sides of lines to have the same number of dashes. I guess I did not catch that.

      Your regex code worked and that was what I needed. Thank you very much!

    • SuperCPUS

      How to show web links with a different color in Notepad++ ?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      196 Views
      SuperCPUS

      @PeterJones

      Changing only the ink color is much better than nothing, it works very well, thank you!

    • Steve RhoadsS

      Line wrap on line 1000 can cause continual wiggles

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      256 Views
      Alan KilbornA

      @Steve-Rhoads

      This is a known issue, reported several times. Here’s one of those times (that links to some others): https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13341

    • Bill ConnellB

      Installer Stub to allow calling it and always getting the current version to install during Windows Sandbox Spinups?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      130 Views
      NicholasN

      winget install Notepad++.Notepad++

      I think the sandbox has winget. It has been a while since I have used it. Use -i if you want to select install options.

    • Freon Sandoz 0F

      Feature Request: Ask before deleting record of current files

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      337 Views
      xomxX

      @Freon-Sandoz-0 said in Feature Request: Ask before deleting record of current files:

      from the record

      Maybe it’s about the already opened N++ session files and not about the recent files list?

      If so, rather check the Preferences > Backup > Remember inaccessible files from past session.

      More info in: https://npp-user-manual.org/docs/session/#inaccessible-files-in-an-active-session

    • V

      Windows 11 64bit, not able to install compareplus plugin either by pluginAdmin or manually on NP++ v8.6. Please help !

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      11
      0 Votes
      11 Posts
      4k Views
      PeterJonesP

      @ModelsRUs ,

      Reading the comments on the issue you created, it appears the plugin author has helped your confusion, both with regard to Compare coming pre-installed or not (which it doesn’t), but also regarding uninstalling it.

      But for those who don’t follow links to the issue boards, the short version:

      Notepad++ does not come pre-installed with ComparePlugin or ComparePlus plugin. It is safe to delete D:...\Notepad++_portable\plugins\ComparePlugin\ (as long as N++ is not actively running when you delete it), and it will not in any way, shape, or form mess up nppPluginList.dll. Not noted in the comments: the nppPluginList.dll essentially tells Notepad++ where to download plugins using the Plugins Admin interface; and while it does read the N++ plugins directory to find out what plugins and versions are currently installed, it doesn’t care if that changes outside its control.

      What happens if I install “ComparePlus” without “Compare” being removed?

      There would be two plugins in the Plugins menu, and each would set up its own toolbar buttons (and I’m not sure you could tell which buttons go with which plugin). And if you used the ComparePlugin comparison, it wouldn’t work right in Dark Mode (see here for a recent issue about that) the two can technically coexist, but you would just always have confusion over which you are using. the intention is to only have one of the two plugins installed. (And since ComparePlus was released, the intention has been for users to uninstall ComparePlugin and just use ComparePlus.)
    • fml2F

      How to jump to the other end of selection?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      181 Views
      fml2F

      @PeterJones ,

      thank you for the description! A did it and it works like a charm! It is indeed amazing what’s possible with Notepad++! Likewise it’s also amazing what a friendly and helpful community it has!

    • CoisesC

      Unicode Normalize: A simple plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      5 Votes
      4 Posts
      367 Views
      CoisesC

      @guy038

      I implemented your suggestions in version 1.1.

      Hex values for the Unicode code points are shown if there are no more than eight code points in any of the normalized forms.

    • Jergen Ross EstacoJ

      quick toggle multi-line tab on/off.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      0 Votes
      8 Posts
      1k Views
      N

      @PeterJones
      That’s really unfortunate to find out… Even though it was made possible by mistake, we actually had it! So it’s certainly technically possible to implement. Wish an exception can be made for the Multi-line feature and an ID code can be assigned to be able to call upon it outside of Preferences.
      Well thank you very much for the reply because I know now, so appreciate it.