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
    • Zack MosbruckerZ

      Important files lost during recent update

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      1 Votes
      8 Posts
      339 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.
    • gcyrillusG

      nppGitClone (14-16ko)

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      135 Views
      gcyrillusG
      @Michael-Vincent Thanks for the feedback ;) fixed with : https://github.com/gcyrillus/nppGitClone/releases/tag/V1.0.1
    • gcyrillusG

      [new plugin] AssistantIA alpha 0.0.0.1 looking for feedback

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      180 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 ;)
    • medvidecM

      Npp Plugin - failing when "string" type is used

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      180 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.
    • Thorin SchmidtT

      Confusing/Frustrating folding behavior

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      114 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()
    • Darren HoylandD

      Fanuc macro B

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      68 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.
    • decrepit-old-geekoidD

      Can't make a keyboard macro for a shortcut in Notepad++ v6.9.2

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      70 Views
      PeterJonesP
      I unzipped the v6.9.2, and looked a bit: docMonitor was one of Don’s old plugins that he didn’t bother continuing development on when he moved Notepad++ from sourceforge to GitHub, because the feature of updating files every few seconds is already built into Notepad++, even in the old v6.9.2. DSpellCheck.dll and SpellChecker.dll are two different spell-checker plugins. There’s no reason to have both. DSpellCheck allows either the Hunspell dictionary, or the Aspell dictionary (which is what ShellChecker.dll uses), or Windows’ built in spell-checking files (which is what Word and similar use). There’s no reason to have both, even in the old v6.9.2. It is possible to add a keyboard shortcut to any of NppTextFX commands – use the Settings > Shortcut Mapper, go to Plugin Commands, and look for the TextFX command (like Convert quotes to "), and you can Modify those to have a keystroke for that single command I verified that even the most-recent NppUISpy here has the 32-bit version (..._UNI.zip) which, if you unzip the DLL into your plugins directory, will allow you to use UISpy even on your old Notepad++. And I confirmed that the macro syntax was enough the same that the FAQ’s section on manually editing the macro will allow you to embed for example, for my portable v6.9.2, with the plugins I installed, UISpy told me TextFX > TextFX Characters > Convert quotes to ’ was at 22030 (it will almost certainly be at a different ID for you, because I didn’t grab all the same plugins that you had). But for me, I could then have a macro that would do the Select All then Convert quotes to ’ with the following macro source: <Macro name="AllSingleQuote" Ctrl="no" Alt="no" Shift="no" Key="0"> <Action type="0" message="2013" wParam="0" lParam="0" sParam="" /> <Action type="2" message="0" wParam="22030" lParam="0" sParam="" /> </Macro> so after saving that, and restarting Notepad++, I had a new macro which would correctly run the NppTextFX command. So it’s possible to do what you want in Notepad++ v6.9.2. But I still highly recommend uninstalling the outdated, insecure version, grab the most recent 64-bit version, and bring yourself into the 2020s.
    • Emmanuel PIERREE

      Ctrl not working in 8.9.6.4

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      93 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.
    • Derrick HawkinsD

      How do I highlight text in alternate colors?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      81 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++.
    • Travis YoungT

      Formatting/Commenting Issue with YML files

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      72 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?
    • Vitalii DovganV

      NppExec v0.8.11 has been released!

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      5 Votes
      3 Posts
      375 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
    • Jairo FlorezJ

      v8.7 Search Results Missing

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      18
      0 Votes
      18 Posts
      6k Views
      henriknorenH
      @xomx thanks a bunch
    • h-jangraH

      NppVim 1.14.0.0 Release : Added nppvim.rc support

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      1 Votes
      1 Posts
      44 Views
      No one has replied
    • PeterJonesP

      Announcing Perl-based automation of Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development perl automation
      17
      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()
    • S

      Find & Replace & Mark re-organization proposal

      Watching Ignoring Scheduled Pinned Locked Moved 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.