• Please Read This Before Posting

    Pinned Locked faq newbie
    1
    7 Votes
    1 Posts
    8k Views
    No one has replied
  • HELP: Having trouble with Macros in v8.5.3 or later

    Pinned
    28
    2 Votes
    28 Posts
    22k Views
    Mike NewmanM
    Moderator Note: The contents of this post were moved to a separate topic, Macro works normally, but fails when shortcut is Ctrl+Shift+C, because it’s actually separate from the >=v8.5.3 issue for this Topic.
  • Confusing/Frustrating folding behavior

    4
    0 Votes
    4 Posts
    143 Views
    PeterJonesP
    @Thorin-Schmidt said: But here are some function blocks Sorry, I cannot get it to replicate your problem description. Maybe it has to do with the way you pasted it into your post – I had used moderator powers to move the ``` to the beginning of the line, so it would actually do the full code as a block in the forum… but the indentation didn’t seem consistent even after that. But whether (1) I try with get_bonus() fully on the left, with its contents double-indented, and the the roll() and choose_class() are both one level indented more than the start of get_bonus(); or whether (2) I indent choose_class() to match the other two; or whether (3) I do 2, but also prefix with a dummy class header – no matter which of those I do, I cannot replicate your problem. Can you confirm whether the indentation matches what you’re using… and if not, post the code again, more carefully, so that we get an exact representation of your indentation (and maybe a screenshot of what it looks like in Notepad++, to make sure). And then, a blow-by-blow account of the actions you take, like, “I fold get_bonus(), fold roll(), fold choose_class(), then when I unfold roll(), work in it, and edit something inside it (be detailed), and fold it back up again, then choose_class magically unfolds” – or even more detailed, including line numbers, and exact things you type. Because unless someone can replicate your problem, it will be hard to help you.
  • Can't make a keyboard macro for a shortcut in Notepad++ v6.9.2

    4
    0 Votes
    4 Posts
    105 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
  • Fanuc macro B

    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.
  • v8.7 Search Results Missing

    18
    0 Votes
    18 Posts
    6k Views
    henriknorenH
    @xomx thanks a bunch
  • On selection - open file does not working

    5
    1 Votes
    5 Posts
    347 Views
    Václav HanzlikV
    @PeterJones Thank you very much.
  • How do I change the size of text. I don't know what I did

    5
    1
    0 Votes
    5 Posts
    646 Views
    PeterJonesP
    @rspeicher452 , If you’re always on that screen for that laptop, I would recommend changing Settings > Style Configurator > Language: Global Styles > Style: Default Style to use a bigger font size for the text, so that you don’t have to change the zoom. (The “zoom” feature was designed to be temporary, whereas setting the Default Style font size was designed as the perment way to set text size)
  • Snippets won't stay pinned to any side other than default

    4
    0 Votes
    4 Posts
    300 Views
    PeterJonesP
    @deleelee , As I said there, the plugin needs to be fixed and a new version released. It’s not a config file for the end user.
  • possible to delete almost duplicate lines?

    6
    0 Votes
    6 Posts
    278 Views
    tenchyUKT
    @PeterJones Thanks again. I think I’d need to do that myself to learn it fully, bit like you can’t learn to drive from a book… I wish I’d asked about this years ago! I periodically create these files which may start with 2 or 3000 lines and end up with around 1500 lines after exact dupes are removed. I then compare with CTRL ALT C with the compare plugin to the master file which is about 16K lines. I then manually add completely new lines if found to the master file. And any that have the 2 letter in the new file that aren’t in the master file, I add though two letters in to the master. Having these lines in the new file: G7ODA,IO93WS, G7ODA,IO93WS,PE, Does tend to confuse the compare plugin so this will make life easier for me! thanks again
  • 0 Votes
    16 Posts
    712 Views
    guy038G
    Hello, @pellelin, @mpheath, and All, Oh…, @pellelin, in my previous post, I forgot to mention confidentiality and sensitive information. Of course, I completely understand why you don’t want to send me your summary file! However, if you could send me an example — even a shorter one, with any personal information removed — I’m sure I could find a suitable replacement, using regular expressions ! I only need the text’s formatting / text’s frame, not the words themselves . BR guy038
  • Where did the "plus" for creating new files go?

    2
    0 Votes
    2 Posts
    140 Views
    PeterJonesP
    @Taras-Tkachenko , No version of Notepad++ has such a button on the tabs bar. There is one on the far right of the menu bar (beyond the ? menu): [image: 1780441214049-dbd16aed-078a-4380-be71-254794b615fc-image.jpeg] That one can be turned off using Settings > Prefeerences > General, where there’s a setting ☐ Hide right shortcuts + ▼ ✕ from the menu bar – if you checkmark that, and restart, then it will hide those three symbols. Notepad++ never sets that option by default, so maybe you accidentally set it at some point. If it’s checkmarked, just uncheckmark it, and restart, and those three buttons will be back. But, again, Notepad++ doesn’t have a similar button on the tabbar (and never has). You can, however, double-click to the right of the tabs, and it will create a new tab without needing to find the symbol [image: 1780441370585-7b98eeb8-54c3-49c2-bb2c-1ca8c9df8891-image.jpeg] User Manual on related topics: https://npp-user-manual.org/docs/preferences/#general https://npp-user-manual.org/docs/user-interface/#tabs
  • Jump List not being added to

    9
    1 Votes
    9 Posts
    515 Views
    rednoise0R
    @PeterJones - Yes! It works that way for me, too. That’s the magic bullet - have Windows to add it to the Open With list, which triggers creating the file in AutomaticDestinations\ which will then start collecting file names. I now have my jump list back. Thanks for helping me puzzle this through. I have a few files that I use daily and this makes my work flow much more efficient.
  • Increase Fold (Plus/Minus) Code Bracket Size?

    2
    0 Votes
    2 Posts
    137 Views
    PeterJonesP
    @jabcreations said: The only “people” using 800x600 these days are bots. That’s an absurd exaggeration. Whether or not there’s anyone on 800x600, there are plenty of people still using 1920x1080 monitors. (In case you don’t believe me, per April 2026 Steam HW/SW survey, more than 50% of Steam users are running at 1920x1080. So it’s still reasonable behavior for more than half of users – and that’s skewed toward gamers, who are more likely to have “fancy” tech; I am confident that in general, even higher percentage is still using 1920x1080.) Did I miss something or does this need to be a feature request? Could it be improved for 4K users? Likely (I’ve never used a 4K monitor, so I have no experience). There’s a long-open set of 4K issues in the official tracker, and it wouldn’t surprise me if this were already one of the open issues remaining… You might want to search the 4K issues in the repo to see if it already exists. But in the meantime, what’s your OS display scaling set to. Normally, with 4K, it’s somewhere in the 150% to 200%, IIRC from other posts. But if you’re at 100%, then of course GUI elements will be tiny.
  • 0 Votes
    3 Posts
    160 Views
    EvgenyVenalainenE
    @peterjones Yes, mostly the issue is for end user. Thanks for complete explanation!
  • Inability to save file to OneDrive with 8.9.6 version of Notepad++

    5
    0 Votes
    5 Posts
    817 Views
    PeterJonesP
    @smcclosr said: Not 100% user if this version addressed this specific issue, It almost definitely did not. The changes between 8.9.6 and 8.9.6.1, as announced in the forum and by looking at the git-diff at GitHub, were completely related to vulnerability fixes (COPYDATASTRUCT, removing commandLineInterpreter hidden config file option, and making it harder for saved-Run-menu entries from shortcuts.xml to run apps from non-approved directories), and do not seem in any way related to OneDrive. (And least, I don’t see how any of them could affect saving of files to OneDrive) My guess was the change in v8.9.6 that changed behavior relative to v8.9.5 was the “saving dirty read-only files” fix (but that’s just a guess… and it wasn’t changed/reverted in v8.9.6.1, so that doesn’t seem a plausible explanation for your experience.) but it is resolved for me now. Hopefully it stays that way. Good luck.
  • Is there a way to do a new Page Break

    17
    0 Votes
    17 Posts
    1k Views
    AlanRobbo 69A
    Thank You Everyone for your Time and Effort.
  • Force single Reload from command-line?

    3
    0 Votes
    3 Posts
    299 Views
    Dev NullD
    @PeterJones Thanks!
  • New to Notepad++ and trying to convert 12 hour time to 24

    4
    0 Votes
    4 Posts
    569 Views
    LachlanmaxL
    @guy038 Just to say, I tried your solution in native N++ for kicks, and it worked! So kudos for an elegant idea. :)
  • Find/replace

    9
    0 Votes
    9 Posts
    559 Views
    guy038G
    Hello, @balancedcircular, @terry-r, @coises and All, I suppose that the following regex S/R should be close to what you want ! I consider the entire line because you may have other lines with attributes Name and/or Comments FIND (?-si)^(<RectangularPart Version=.+ Name=")\d\d\d (.+/.).+?(\d")(.+ Comments=").+(?=>) REPLACE $1$2$3$4$2$3 As @coises said, try this global replacement on a copy of your file ! If everything works as expected, I’ll explain you, next time, how all the regex syntax means ! Best Regards, guy038 I almost forgot the last line of your post. To simultaneously search for any of the three words Rafter, C.Tie and Web, simply use the regex (?-i)Rafter|C\.Tie|Web