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

      Search++: A work in progress

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      155
      6 Votes
      155 Posts
      49k Views
      CoisesC
      @guy038 said: Personally, your concept of a default scope bothers me a little, because it’s hard for me to know, in advance, which actions will be automatically selected by the plugin ! (It occurs to me that perhaps I should call it “adaptive” rather than “default” scope. Within the program code I called it “Smart,” but by the time I got the help and UI together I decided that word sounded too pretentious.) The uncertainty about what action a button will perform bothers me, too. I’m still trying to think of a way to mitigate that. I think the idea of an adaptive scope is useful, but I don’t like that you can’t confirm what actual command a button with adaptive (default) scope will perform at a glance, before clicking it. You just show six one-letter buttons and two one-letter button for the replace actions, as below : |F| |C| |A| |S| |M| |H| : Find Count find All Select Mark sHow |R| |A| Replace replace All All these simple-design buttons would open a common dialog box, in which the selected action — one of the eight possible options — would be already selected by default. This dialogue could be based on the table shown above ! Then, you’ll just have to check your present scope and extent choices for the chosen action Optionally a message, summarizing everything that has just been selected, could be displayed Then, this new dialog would end with three buttons : A Define button to attribute a default configuration ( scope and extent ) for the chosen action, without any execution. A Run button to start the chosen action, without any default configuration to apply to And, of course, a Cancel button, or an hit on the ESC key, to dismiss the chosen action In other words, no more drop-down menus ! Instead, a new configuration dialog to confirm the default scope and extent values of the chosen action AND / OR the execution of the chosen action, with the present options checked in the scope and extent sections There are surely some drawbacks to my proposal ! Anyway, what’s your feeling about this radical change ? At first I thought you meant every single action would require clicking a button, looking at a dialog to verify the options are what you want, then clicking a button in the dialog to actually do the action. What is now Find, Find, Find would become F, dialog opens, check defaults (change them if wrong and Define), Run, F, dialog opens, Run, F, dialog opens, Run. That would be way too much interruption of flow for a user doing simple things. Of course, you could, in one go, click first on the Define button, then click on the Run button Since this implies that Define does not close the dialog, perhaps you also intend that Run does not close the dialog. That would allow for repetitive actions, at the expense of having this dialog (in addition to the main Search++ dialog) on the screen while doing them, and having to click another button to close it after the last or only action. I’m sorry, but it sounds to me as if it would be very clumsy to use. Dialogs are even more of an interruption than menus. It would also defeat the purpose of a docking dialog if another dialog has to be raised to actually do anything… unless it is also docking… In my opinion, the main buttons must do something that’s usually useful with a single click. To what degree that should be “adaptive” (e.g., in selection when there is a “large enough” selection) is debatable: adaptation increases the chance that you can do what you want with a single click, but also increases the chance that what a single click does won’t be what you expected. I think six buttons under the find box would be too busy, making it harder for the user to immediately identify and click the desired button. A busy layout doesn’t bother me as much with something like the Settings dialog (which, I admit, is horrible) that you don’t open often, but for something that’s meant to be used frequently, maybe even kept open in a docking panel, visual simplicity is important. For what it’s worth, you can get some aspects of your idea now. Just use Shift+click on each drop-down menu to choose a command that does not use default scope as the command for the button. Click the button when you want to Run what you already have set. If you want to Run a different command, select it from the drop-down. If you want to Define and Run a different command, Shift+click it in the drop-down. (There is no equivalent to Define without Run.) Additionally, in the Settings dialog you can uncheck Default commands automatically search within selections. and Default commands automatically search within marked text. to disable the adaptive mechanism, so that default scope is always Whole Document and even if you select a plain command (Find, Count, etc.) Search++ will never infer anything other than Whole Document.
    • donhoD

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

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      117
      5 Votes
      117 Posts
      197k 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
      257k 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.
    • Gilles MaisonneuveG

      Perl language syntax highlighting troubles (bug or limitation ?)

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      112
      2 Votes
      112 Posts
      144k 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
      297k 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
      202k 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++
      92
      5 Votes
      92 Posts
      185k Views
      F
      作者的大黑几把干的我豪爽。啊啊啊啊啊要去了。
    • Bas de ReuverB

      [New Plugin] CSV Lint

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      83
      1
      6 Votes
      83 Posts
      169k 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
      73k Views
      William4565W
      @PeterJones sure.
    • Lycan ThropeL

      FunctionList Confused

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      82
      1
      0 Votes
      82 Posts
      139k 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
    • Thomas KnoefelT

      [New Plugin] MultiReplace

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      81
      3 Votes
      81 Posts
      85k Views
      Thomas KnoefelT
      MultiReplace 6.1 is out and will land in Plugin Admin with the next Notepad++ release. The focus of this release is Replace All in One Pass, running the whole list in a single left-to-right sweep instead of one full pass per entry, together with a reworked Find/Replace in Files and a handful of list and UI improvements. Several new options live under Plugins > MultiReplace > Settings. Download: Latest build Key Features & Improvements Replace All in One Pass: Runs the whole list in a single pass instead of one full Replace All per entry, so results build on each other left to right. With cat → dog and dog → cat, sequential mode turns “cat dog” into “cat cat”, one pass turns it into “dog cat”. Much faster on large documents. Toggle per tab, right-click the list tab. Use Open Documents: Find/Replace in Files can now work on files already open in Notepad++ as the live document, unsaved changes included, instead of the copy on disk. New checkbox in Settings. Skip Binary Files: New option for Find/Replace in Files (on by default), same detection as ripgrep and VS Code. Also adds UTF-16 detection without a BOM, and skipped files are always reported, broken down by reason. CSV Header Rows: Find/Replace now always searches header rows too. “Header rows to exclude” only protects sorting and duplicate detection. Collapse to File List: New Search Results dock option folding every search block down to just file names and hit counts. Ctrl/Shift-click works in the fold margin, same as Notepad++'s own Search Results panel. Library Mode: “Keep list always visible” can now be switched right from the Use List button’s context menu, no detour through Settings. Add New Row: Takes over the dialog’s current search options instead of starting all off. Find/Replace text still starts empty. Duplicate Row Reporting: A list row that exactly duplicates an earlier enabled one is skipped as before, but the status line now tells you how many rows were skipped. [image: 1789296944806-e15a9d23-6db6-4411-a694-d44fc95300e5-image.jpeg] Issues or suggestions: GitHub. Happy replacing!
    • donhoD

      Notepad++ 7.6.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      80
      6 Votes
      80 Posts
      135k 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
      169k 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
      78k Views
      Alan KilbornA
      @damianos133eu See HERE.
    • donhoD

      Support for Plugins Admin & NppPluginList

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      75
      1 Votes
      75 Posts
      157k 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
      99k 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
      76k 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
      80k 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
      80k 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
      212k Views
      Faust JonsonF
      hi everi one