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

      New built-in Plugin Admin (Plugin Manager) is ready

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      117
      5 Votes
      117 Posts
      192k Views
      Peter McLeanP
      More news. After getting 24 32-bit Plug-ins working on Windows 7, I renamed the Program Files>Notepad++ folder on XP to “Notepad++ Org”, copied the whole Program Files>Notepad++ folder tree structure to XP from my Windows 7 box, and got 21 of the 24 Plug-ins to work on XP. The only problem is now, that I do not have a “Plug-in Manager” or “Plug-in Admin” that works on XP with Notepad++ V7.6.4. I can technically only install “Plug-in Manager” on XP, whereas I cannot even install “Plug-in Admin” on XP. However even if I install “Plug-in Manager”, “Plug-in Manager” cannot manager the Plug-ins running under Notepad++ V7.6.4, since V7.6.4 uses a different installation configuration. So my option now is to install the 32-bit Plug-ins on the Windows 7 box and then copy same to the XP box, and if they work then great, if not then bad luck hey? All you have to do, if the 32-bit Plug-ins do not work on XP, is to answer yes when asked if you wish to remove for compatibility reasons, or delete the incompatible Plug-in name folder under the Program Files/notepad++\plugins folder, e.g. C:\Program Files\Notepad++\plugins\csvquery to remove the 32-bit “csvquery” Plug-in. I hope that what I have learned is of some help to someone. Cheers from Aussie mate and happy Notepad++ing hey? :-)
    • wisemike2W

      Fix corrupted txt file (NULL)

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · corrupted fix text null file
      116
      2 Votes
      116 Posts
      251k Views
      Mark OlsonM
      @Alexander-Vorobyov It will be easier for others on the forum to help you if you share debug info (?->Debug Info from the Notepad++ main menu). I seem to recall that the specific problem of Notepad++ overwriting files with a lot of NUL characters was fixed a long time ago, but I’m not super familiar with this topic.
    • CoisesC

      Search++: A work in progress

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      115
      5 Votes
      115 Posts
      34k Views
      CoisesC
      @guy038 said: FYI, during all my tests, the Autodetect character encoding option, in Settings > Preferences… > MISC, was checked and all the files, described in the P.S. section of my previous post, contain a Byte Order Mark ( BOM ). Autodetect is irrelevant when a byte order mark is present: Notepad++ always honors byte order marks. The only time autodetect matters is for a file with no byte order mark that doesn’t appear to be UTF-8 and doesn’t have an internal indication (like an HTML file with a <meta charset> declaration) of its encoding. With autodetect off, such files will always be read using the system default code page. With autodetect on, Notepad++ runs some heuristic tests to try to guess whether the file uses a different legacy encoding. When plugins access documents open in Notepad++ they necessarily use the copies Notepad++ has already loaded, so they “inherit” Notepad++’s encoding detection. The loaded copy will always be either in the system default code page (“ANSI”) or UTF-8. Notepad++ converts any document that isn’t one of those. (Any indication in the status bar other than ANSI or UTF-8 means Notepad++ has converted the document to UTF-8, and will convert it back to the indicated encoding when saving it.) If a plugin accesses files on disk without opening them in Notepad++ — as Search++ does for Search in Files, and as it appears MultiReplace does when searching in files — it’s up to the plugin to sort out the encoding. I’m not familiar with the code for @thomas-knoefel’s MultiReplace, but based on your tests, I suspect it doesn’t process UTF-16 correctly when searching in files. You could probably construct a minimized example and submit an issue if you were so inclined. Now, based on my test, have you conducted any similar tests of your own, and have you found that searching with Search++ also takes longer compared to the native search in N++ ? Comparisons looked fine at first. I was running regular expressions with a lot of backtracking against thousands of files on an SSD. Then things fell apart when I tried a network share. Most of my testing has been “stress testing” rather than comparisons, but they point to the same problem. I understand the problem. Engineering a solution is taking some time. Your tests, with the inclusion of re-running the searches, demonstrate what is happening quite well. In the rerun tests, the files from your thumb drive were already cached by Windows. Those second tests show (roughly) how much time the actual searching took. (Notice that Search++ was faster there, because it uses multiple cores of your computer to search several files simultaneously instead of processing them one at a time.) The difference between the first and second runs is (roughly) the time it took to read the files from the thumb drive. That is where the current version of Search++ is just plain doing it wrong. I naïvely supposed that Windows was smart enough to “serialize” access to a device, like a USB drive, from different threads in a manner sensible for the device. Alas, it doesn’t work that way. However many threads your computer can run simultaneously, they’re all hitting the USB drive with requests for different files at the same time. Not only is that not any faster than single-threading them, it’s actually slower, because the controller in the drive is dealing with “too many” requests coming in all at once. The multi-threading I have works pretty well for an internal SSD. It also works if Windows has already cached the entire folder in memory. For everything else… it sucks. I’m working on solving that problem now. It’s slow going. There are a lot things you can “get by with” when single-threading that just blow up under one condition or another when multi-threading.
    • Gilles MaisonneuveG

      Perl language syntax highlighting troubles (bug or limitation ?)

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      112
      2 Votes
      112 Posts
      139k Views
      PeterJonesP
      For those being directed here by other links from the forum, @Ekopalypse has a newer version available at his github, here.
    • Paweł SzmajdaP

      It's time for UI update!

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion dark interface modern windows10
      101
      17 Votes
      101 Posts
      287k Views
      PeterJonesP
      @bombitup , The contents of your “That said” paragraph were nearly identical to the quoted text from 2015. And those claims haven’t been true for years, because when Notepad++ v8.0 came out in 2021, the whole GUI – not just the editor panels – were given the ability to Dark Theme Your post sounds like something that would be said if you posted the original 2015 post as a prompt into an older generative AI and asked it to reply to that post. Just so you know, posts created by generative AI are not allowed in this forum – it’s a Community of Users of Notepad++, and, by definition, generative AI are not users of Notepad++. Any further posts like this, and you will be banned. The Sep 2024 revival post sounded like generative drivel (and, like yours, rephrased the original 2015 complaint); your post was slightly better generative drivel (it at least wrapped it in mindless wrapper paragraphs), but it was still junk. Getting posts every few years that try to “reply to” or “reword” the original, outdated post add nothing to the forum. Since this Topic has become a “honeypot” for AI nonsense, and since all the original points from 2015 have been addressed over the last decade of improvements, I am locking the discussion. Admin update: that individual has been banned for spam posts, in addition to the AI nonsense posts. Sorry for their waste of bandwidth.
    • donhoD

      Notepad++ 7.6 & new Plugins Admin

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      94
      2 Votes
      94 Posts
      197k Views
      senselockeS
      I found a fix, at least for my PC. On a Win7x64 system using 32-bit N++, I had the same problem with every post-7.6 version I had installed. None of them ever had the Plugins install correctly. I got it working, finally, with 7.8.9, but it’s likely the same issue as prior versions. I’m replying to this because it seems to have the most information/discussion. The problem was that the GUP.exe file in the notepad++/updater/ folder wasn’t ever starting. I watched my Task Manager and checked windows error logs… it never started. So I had a hunch, anc ran the GUP.exe program directly, and Windows popped up its UAC nag window ('Open File - Security Warning). I unchecked “Always ask before opening this file” to clear it with the UAC, clicked ‘Run’, and it showed the standard Notepad++ Available Update message. I clicked ‘no’. I then re-opened Notepad++, used the Plugins Admin to install a plugin, and it WORKED. Hopefully this will help others with the same problem, which was (for clarity) that selecting to install a plugin through the ‘Plugins Admin’, click ‘Yes’ to restart, and NPP closes but never re-opens on its own. When opened manually, nothing was installed.
    • donhoD

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

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      91
      5 Votes
      91 Posts
      180k Views
      MJKlodt747M
      @donho Hey!! Don’t ever tell me whuddafugg to-do… I’ll hate WHOEVER I feel like 🤌🏻, WHATEVER I feel like 🤌🏻, WHEN–THA-FUGGG-EVER I FEEL LIKE! 🤌🏻🤌🏻🤌🏻 Good day sir…🫵🏻 I SAY GOOD DAY!! 🧜🏻‍♂️
    • Bas de ReuverB

      [New Plugin] CSV Lint

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      83
      1
      6 Votes
      83 Posts
      163k Views
      A
      I had sent a comment before this one which is not yet visible to me. Just wanted to let you know it seems solved. Other plugins struggled as well so I completely uninstalled npp and started from scratch. Now it works for me as a normal user.
    • C

      survey: Incremental search usefulness

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      82
      1 Votes
      82 Posts
      70k Views
      William4565W
      @PeterJones sure.
    • Lycan ThropeL

      FunctionList Confused

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      82
      1
      0 Votes
      82 Posts
      133k Views
      Lycan ThropeL
      @guy038 , Thank you. Now, I will have to look at your code, but while I was signed out, I had another one of those epiphany things. :-) Figured it out with the reduced complexity by allowing everything after the this and stopping before the \) with the lookahead, by using this regex: \Kthis\.\K(.+)(?=\)) By doing this I was able to remove the longer more complex one that only went 3 levels deep, and reducing my or construct by one or level. This is what I can get now: [image: 1641951576189-flobjectlistsuccess2.png] I think I have a problem with overthinking things. :-) I was looking for the one you showed up there, and I might still be able to use it, somewhere else, so thanks. Lee
    • donhoD

      Notepad++ 7.6.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      80
      6 Votes
      80 Posts
      132k Views
      Jan ČernostaJ
      @Jan-Černosta Any progress in choosing proper codepage ANSI? Thanks, Jan
    • donhoD

      New Plugins Home (where Notepad++ will load from)

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      79
      7 Votes
      79 Posts
      165k Views
      donhoD
      This thread is locked. Please check here for the renewed information: https://notepad-plus-plus.org/community/topic/16996/new-plugins-home-round-2
    • donhoD

      Notepad++ v7.9.2 Released

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      78
      4 Votes
      78 Posts
      75k Views
      Alan KilbornA
      @damianos133eu See HERE.
    • Thomas KnoefelT

      [New Plugin] MultiReplace

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      78
      3 Votes
      78 Posts
      81k Views
      Thomas KnoefelT
      MultiReplace 6.0 is out and will land in Plugin Admin with the next Notepad++ release. The focus of this release is a second formula engine: ExprTk now sits alongside Lua for math, string and conditional replacements, joined by multi-list tabs, tandem mode, and a series of UI and workflow improvements. Several new options live under Plugins > MultiReplace > Settings. Download: Latest build Key Features & Improvements New Formula Engine (ExprTk): A second engine alongside Lua for math, string and conditional replacements. Its standout is the built-in output formatter - a single declarative spec that turns any result into fixed decimals, hex/binary, padded and aligned fields, time durations or formatted dates, applied right where the value is produced. Switch per tab via the (L) / (E) indicator next to Formula Support. The ExprTk integration - the (?=...) marker and the formula functions for reading captures and earlier results - follows the approach pioneered by @Coises in Columns++. Full syntax and examples are in the ExprTk formula reference. List Tabs: Keep different replacement sets available across tabs. State is fully separate per tab. Tandem Mode: MR panel snaps to the Notepad++ window edge and follows it around. Toggle via the plugin menu. Reopen on Startup: Reopens MR automatically if it was open when you closed Notepad++. Opt-in via the plugin menu. Compact Toolbar: New top toolbar layout - more horizontal space for the list. Always Visible List: Keeps the list visible instead of collapsing when you toggle it off. Requires “Keep list always visible” enabled in Settings. Bookmark Matches: Sets a Notepad++ bookmark on every match line. Toggle via the new checkbox next to Mark Matches. Column Reorder & Lock: Drag column headers to rearrange. Right-click for “Lock column width” or “Reset Column Order”. Modified Timestamp Column: Optional column tracking the last edit per entry. A dirty-flag stripe on the left edge marks unsaved changes. Excel-Compatible CSV: Lists save in the standard CSV dialect used by spreadsheets - opens cleanly in Excel, edit there, load back without conversion. Keyboard Shortcuts Ctrl+Up/Down: Move selected rows up or down (auto-repeat) Ctrl+L: Toggle list visibility from anywhere in the panel Alt+Up/Down: Round-trip between input fields and a selected row Ctrl+Shift + button click: Run from the input fields while the list stays open Ctrl+Shift+H: Pull selected editor text into Find what (optionally auto-escaped for Regex/Extended mode) [image: 1780756837071-multireplace6.png] Issues or suggestions: GitHub. Happy replacing!
    • donhoD

      Support for Plugins Admin & NppPluginList

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      75
      1 Votes
      75 Posts
      153k Views
      ThosRTannerT
      I’ve been footling around with my plugin a bit to try and generate a PR automatically when a new version is released. So - is the layout of the json files significant. Most of the entries look like \t\t\t{ \t\t\t"folder-name": "Linter++", \t\t\t"display-name": "Linter++", \t\t\t"version": "1.0.3.0", \t\t\t"npp-compatible-versions": "[8.7.5,]", \t\t\t"id": "F56573351010B62BFC75039725496C8687D53E82A3F47074F1F1B629A37A92C1", \t\t\t"repository": "https://github.com/ThosRTanner/notepad-pp-linter/releases/download/1.0.3/plugin_dll_ARM64.zip", \t\t\t"description": "Allows realtime code check against any checkstyle-compatible linter: jshint, eslint, jscs, phpcs, csslint, and many others.", \t\t\t"author": "Tom Tanner", \t\t\t"homepage": "https://github.com/thosrtanner/notepad-pp-linter" \t\t\t}, So I thought i could do my updater in python, just load up the json file, modify my entry, and dump it back, then commit One entry (just one) uses spaces instead of tabs. So my question is is there an official layout for these files? Is any valid json permissible (all on one line for instance), or is it expected to be formatted as 1 line per key and indented with tabs? Would converting those spaces to tabs as part of my PR be frowned upon, or should I just read the file and modify the lines appropriately?
    • P

      sort file removing duplicates possible?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      75
      0 Votes
      75 Posts
      96k Views
      Vasile CarausV
      ^([A-Z])([a-z]+)\R(?i:\1)\2$
    • EkopalypseE

      Little Dialog-wrapper for PythonScript

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      74
      3 Votes
      74 Posts
      73k Views
      PeterJonesP
      @Bruno-Bonaspetti , Have a little patience. You already asked that question yesterday here. This is not paid support that is guaranteed to get a reply in 5 minutes or your money back; this is a Community of fellow users of Notepad++, and as such, any who read here regularly and answer questions do so solely on their free time, and they might not always have time to answer a specific question – especially one that might take more knowledge of a specific sub-tool of Notepad++. Furthermore, this topic, “Little Dialog-wrapper for PythonScript” is focused on the Dialog Wrapper library for the PythonScript plugin; it briefly mentioned a script that was using that wrapper to help with the user interface, but the translation is not the focus of this discussion. Your original question was in the right place. This question was not. I will try to give a brief answer in the other topic.
    • Bas de ReuverB

      [c#] Adding a custom styler or lexer in C# for scintilla/notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      70
      0 Votes
      70 Posts
      76k Views
      Bas de ReuverB
      @Ekopalypse thanks for the answer. 🤔 Adding listeners for the BufferActivated event and manually setting the style each time the user switches to a different tab adds a lot of code and possibilities for bugs, for something that the user typically only does once… Honestly I think I’ll undo the new code and go back to just asking the user to restart Notepad++ after they change the default color set.
    • CoisesC

      [New plugin] Columns++

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      69
      9 Votes
      69 Posts
      76k Views
      Pete RunP
      @Coises said in [New plugin] Columns++: @Pete-Run said in [New plugin] Columns++: So my request would be an option to “Elastically Ignore” lines with no tabs. Columns++ | Profile… | Do not allow text following the last tab on a line to span columns. should not be checked for the example given. AhHa, I am not sure that I understand “Do not allow text following the last tab on a line to span columns” but that works niceley, thanks. I still don’t quite understand your use case. What is it you are trying to do that would be easier if elastic tabstop positions were shown only for selected lines? I only occasionally use NPP for NPP shortcuts.xml, some Lua, AHK etc. I was brought up on IBM mainframe early Text editors and JCL etc, so I am at home with text editors so am happy to use it for text manipulation, especially when Ms Word macros are lacking. My main gripe with tabs in textual situations is that they can “mess up/misalign” when copied between applications, hence my desire to sometimes use monospace fonts with spaces rather than tabs and of course in tables a word processor, but many situations do not afford tables. So, thanks again for your Columns++ and Elastic Tabs which helps keep my text aligned in different scenarios.
    • donhoD

      Notepad++ v6.9.2 released

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      68
      0 Votes
      68 Posts
      209k Views
      Faust JonsonF
      hi everi one