• Can't Open URL in HTML Link

    General Discussion file open issue html
    2
    0 Votes
    2 Posts
    29 Views
    M Andre Z EckenrodeM
    @Sylvester-Bullitt said: I can no longer open a file by right clicking on the URL in an HTML href I assume you are attempting to do so using RIGHT CLICK > OPEN FILE, which I had never used before but just tried it and confirm, it doesn’t work for me either. However, double-clicking on links continues to work here.
  • 0 Votes
    4 Posts
    87 Views
    guy038G
    Hello, @decrepit-old-geekoid, @peterjones and All, It just so happens that I still have the docMonitor.2.2.zip archive on my old Win XP computer. So, on the last XP version of N++ ( v7.9.2 ), within a plugin directory named docMonitor, I installed the docMonitor.unicode.dll that I renamed docMonitor.dll Notepad++ opened normally and the plugin was here with the single option Plugins > Document Monitor > Start to monitor. Before activating this plugin, I ran, in a CMD command prompt window, the command : notepad++ -nosession Test.txt Then, the DOS command : echo ABCDE >> test.txt I verified that I got, within N++, the usual dialog : This file has been modified by an other program. Do you want to reload it? Clicking on the Yes button, it added, as expected, the line ABCDE to the empty Test.txt file => OK As soon as I choosed the option Plugins > Document Monitor > Start to monitor, any subsequent echo command uodated silently the Test.txt file, as well => OK Then I ran the option Plugins > Document Monitor > Stop monitoring. I thought that it would again show the dialog to reload the file, but subsequent echo commands still updated silently the file !? I said to myself : May be it’s worth to stop/start the computer again. However, the problem remained identical, afterwards ?? Then, I desintalled the DocMonitor plugin completely, including the docMonitor.ini file under config and restarted my Win XP computer. But, again, any echo command still updated the Test.txt file silently !!?? At that point, I didn’t understand at all ! Thus, I decided to pull out the stops and reinstall a clean version of a portable N++ v.7.9.2 in a separate directory ! By default, this new version correctly showed the dialog This file has been modified by an other program. after a command : echo bla bla blah >> test.txt Then, I had the idea to compare all the N++ preferences between my normal intallation and this new version and…, surprise : there were some differences in the MISC. preferences : The file status Auto-detection section shows the Enable for all opened files option and the Update silently and Scroll to the last line after update options were checked, in my normal intallation The file status Auto-detection section shows the Enable option and the Update silently and Scroll to the last line after update versions were unchecked, in the new N++ version So, in the new version, I re-installed the Doc Monitor plugin and even after running the Plugins > Document Monitor > Start to monitor option, the MISC. preferences for file status were still the default ones ! Howewer, if you close and re-start N++ immediately, you see, this time, the Enable for all opened files option and the two box options checked, in the MISC. preferences ! So, apparently, at least , with this 2.2.0.0 version, Don simply activates, with his plugin, these specific N++ options which updates silently any opened file ! Best Regards, guy038
  • 0 Votes
    3 Posts
    126 Views
    Thorin SchmidtT
    @PeterJones Thanks for the keyboard shortcut. I’m embarrassed to say I never considered that approach. But here are some function blocks. I’m doing this quick and dirty right now, so forgive the inelegant code. (This is for a character generator for an obscure RPG you probably haven’t heard of) def get_bonus(self, score): if score > 18: return "+4" elif score > 16: return "+3" elif score > 14: return "+2" elif score > 12: return "+1" elif score > 8: return "+0" else: return "-1" def roll(self, n=1, d=6): total = 0 for i in range(n): total += randint(1, d) return total #CLASS FUNCTIONS def choose_class(self): print( """First, choose your character's class by entering the letter of your choice: WARRIORS MAGICIANS SPECIALISTS -------- --------- ----------- A) Amazon F) Elementalist K) Hunter B) Barbarian G) Lyrist L) Thief C) Centaur H) Nymph D) Noble I) Priest E) Spearman J) Sorceror """) while True: self.code = "" self.code = input("Your Choice [A-L]: ")[0].upper() if self.code in "ABCDEFGHIJKL": break match self.code: case "A": self.char_class = "Amazon" self.primary = Stat.SKILL self.secondary = Stat.GRACE case "B": self.char_class = "Barbarian" self.primary = Stat.MIGHT self.secondary = Stat.WILL case "C": self.char_class = "Centaur" self.primary = Stat.MIGHT self.secondary = Stat.SKILL case "D": self.char_class = "Noble" self.primary = Stat.LUCK self.secondary = Stat.OTHER case "E": self.char_class = "Spearman" self.primary = Stat.SKILL self.secondary = Stat.WILL case "F": self.char_class = "Elementalist" self.primary = Stat.WILL self.secondary = Stat.WITS case "G": self.char_class = "Lyrist" self.primary = Stat.GRACE self.secondary = Stat.LUCK case "H": self.char_class = "Nymph" self.primary = Stat.GRACE self.secondary = Stat.LUCK case "I": self.char_class = "Priest" self.primary = Stat.WILL self.secondary = Stat.LUCK case "J": self.char_class = "Sorceror" self.primary = Stat.WILL self.secondary = Stat.WITS case "K": self.char_class = "Hunter" self.primary = Stat.SKILL self.secondary = Stat.WITS case "L": self.char_class = "Thief" self.primary = Stat.WITS self.secondary = Stat.LUCK case _: # Default action if no other case matches print("ERROR") exit()
  • Fanuc macro B

    Help wanted · · · – – – · · ·
    3
    0 Votes
    3 Posts
    72 Views
    PeterJonesP
    A GitHub user Poualedesmon just uploaded FANUC_KAREL_UDL to the collection. I don’t know if that was @darren-hoyland or someone else, but it’s now publicly available for download from the Collection, per the same instructions in the README as linked earlier.
  • NppExec v0.8.11 has been released!

    Notepad++ & Plugin Development
    3
    5 Votes
    3 Posts
    385 Views
    Vitalii DovganV
    NppExec v0.8.12.1 has been released! Glory to Ukraine! Glory to the heroes! improved: now WarningAnalyzer automatically removes “” around a file path/name fixed: the Console Output Filters dialog did not clear WarningAnalyzer’s cache improved: now Highlight’s [I], [B], [U] have Italic, Bold and Underline style Get it here: https://github.com/d0vgan/nppexec/releases/tag/NppExec_v08121
  • v8.7 Search Results Missing

    Help wanted · · · – – – · · ·
    18
    0 Votes
    18 Posts
    6k Views
    henriknorenH
    @xomx thanks a bunch
  • nppGitClone (14-16ko)

    Notepad++ & Plugin Development
    5
    0 Votes
    5 Posts
    138 Views
    gcyrillusG
    @Michael-Vincent Thanks for the feedback ;) fixed with : https://github.com/gcyrillus/nppGitClone/releases/tag/V1.0.1
  • Formatting/Commenting Issue with YML files

    General Discussion
    2
    0 Votes
    2 Posts
    79 Views
    PeterJonesP
    @Travis-Young , I cannot replicate your problem: [image: 1781542289284-yamlpaste.gif] When I paste that in, the YAML formats the comments correctly, as far as I can tell. Could you either give the original data, and where you paste it? And your ?-menu’s Debug Info?
  • Ctrl not working in 8.9.6.4

    General Discussion
    3
    0 Votes
    3 Posts
    98 Views
    CoisesC
    @Emmanuel-PIERRE said: Hello today I see that in 8.9.6.4 on win11 the Ctrl is not working, though in all others app this is fine. I have very few plugins in it (mime tools, npp converter, npp exports) so I guess this is not where it comes from. Shortcuts are fine. any idea ? If you mean that the Ctrl key with a letter that isn’t a shortcut isn’t inserting the traditional control character, see Settings | Preferences… | Editing 2 | Prevent control character (C0 code) from typing into document and be sure it is not checked. If you mean that Ctrl+drag on a selection is not working as it does in most Windows programs, that is a known peculiarity which can be resolved in either of two ways: Press the mouse button down first, then the Ctrl key. or Uncheck Settings | Preferences… | Editing 2 | Enable Multi-Editing (Ctrl+Mouse click/selection). If neither of those is your problem, you’ll have to be more specific.
  • How do I highlight text in alternate colors?

    General Discussion
    3
    0 Votes
    3 Posts
    83 Views
    CoisesC
    @PeterJones said: Columns++ plugin (though I don’t remember it having the header or full-column highlight, or just a gazillion other features which make column manipulation easier; the author @Coises can chime in at this point). There’s nothing in Columns++ for coloring text. The plugin is helpful if you want to do operations on data in visible columns (like right-justify the entries in a column, add the numbers in a column together, search/replace restricted to a column, do calculations to create a new column, sort on a column in situations that don’t work with Notepad++’s built-in sort) and/or to use elastic tab stops to make maintaining visible columns easier. It doesn’t do any coloring, though. Help is here if anyone wants to examine it to judge whether they might want to install Columns++.
  • 1 Votes
    1 Posts
    46 Views
    No one has replied
  • Important files lost during recent update

    General Discussion
    8
    1 Votes
    8 Posts
    344 Views
    PeterJonesP
    @Konsolate said: Everything is lost. Also, while we confirmed with @zack-mosbrucker that the backup folder was empty, you never confirmed that. Are you sure that folder was empty, or did your session file just get reset? (If you don’t know where yours is, it’s probably in %AppData%\Notepad++\backup\ – if it’s not there, share your ? > Debug Info and we can help you find it.) Notepad++ backs up the session file into session.xml.inCaseOfCorruption.bak, so if you still have files in the backup\ folder, then you can recover the old session if you exit Notpead++, rename session.xml.inCaseOfCorruption.bak to session.xml, and restart Notepad++, and it will go back to the previous version of the session file. And if it still doesn’t open all the files from your backup folder, you can just manually open those files from Notepad++, and then save them to a reasonable known location on your computer, so that you won’t lose them again in the future.
  • 0 Votes
    5 Posts
    187 Views
    gcyrillusG
    @Michael-Vincent and anyone reading :) Besides the jokes, i’d like some real feedback about the plugin, the code and mainly about the fact that gemini assisted me … Be critical without trolling, do not be afraid to point out all of the funny code, nonsense and incoherence that a light IA can bring within your code unless there is some goods in it . Good jokes are also welcome ;)
  • 6 Votes
    17 Posts
    6k Views
    PeterJonesP
    v0.012 released to CPAN Update for Notpead++ v8.5.4 - v8.9.6.4 Update Editor messages and enumerations (hashes) Update Notepad++ menu commands and messages Remove notepad->prompt() and the Win32::GUI dependency [#91] Please comment on Issue #92 if this call is important to you <https://github.com/pryrt/Win32-Mechanize-NotepadPlusPlus/issues/92> Improve test suite Get it working through Perl v5.42 Don’t test as many old versions (too much compute overhead) See CHANGES file for full history, including interveninng v0.009, v0.010, and v0.011 I don’t always post about new versions here (mostly because I get distracted and forget to). But I thought it was important on this one, because notepad->prompt() has been disabled in this version: if notepad->prompt() is important to you, please comment on https://github.com/pryrt/Win32-Mechanize-NotepadPlusPlus/issues/92 and stick with v0.011, which (until further notice) is the most recent version to include the notepad->prompt()
  • Find & Replace & Mark re-organization proposal

    General Discussion
    20
    8
    0 Votes
    20 Posts
    692 Views
    S
    @PeterJones I have been having a crack at it. https://youtu.be/UaXvg9w0_O8 [image: 1781246396141-1349f7c1-791f-4298-b47d-df25824aaf10-image.jpeg] I think I can put … everything in it. If I don’t burn out. Absolutely everything, including what you call the “ridiculous proposal”. (Which mostly just adds a preset system for common searches) I have taken care not to use any API after GDI+. And it’s only alpha borders on icons that keep this from being simple win32 GDI.
  • 0 Votes
    5 Posts
    181 Views
    rdipardoR
    @medvidec It’s impossible to know for sure without seeing your code, but I doubt the issue has anything to do with Notepad++. If this “global variable” is supposed to be shared between multiple C++ source files, you have to do the following: declare the variable in a header file as extern, e.g.: // your_header.h #include <string> extern const std::string configFile; include “your_header.h” in every source file that uses configFile . provide a definition (at global scope) of configFile in one (and only one) of the source files that includes “your_header.h”: // source_file.cpp #include "your_header.h" // ... const std::string configFile = "/plugins/config/verilogConfig.txt"; // ... You can read about storage class specifiers to learn more.
  • 1 Votes
    5 Posts
    346 Views
    Václav HanzlikV
    @PeterJones Thank you very much.
  • Notepad++ release 8.9.6.4

    Pinned Announcements
    10
    3 Votes
    10 Posts
    4k Views
    xomxX
    @MarkusBodensee Yes, I also found that 2nd problem. Thanks for handling the fix, I’ll try to review.
  • bad window

    Boycott Notepad++
    2
    0 Votes
    2 Posts
    159 Views
    PeterJonesP
    @makeymalik , Longstanding known issue: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8660 From what I understand from that Issue, it’s usually related to the OS display-scaling setting in High-DPI modes. There’s a volunteer who has been slowly working through the known DPI issues, but hasn’t gotten to this one
  • [New Plugin] MultiReplace

    Notepad++ & Plugin Development
    78
    3 Votes
    78 Posts
    64k 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!