• Strange highlighting in PHP files

    3
    2
    0 Votes
    3 Posts
    427 Views
    Nazar HotsaN
    Thank you! Problem solved.
  • Name on donation button is not "Don Ho" -- is this okay?

    2
    1 Votes
    2 Posts
    464 Views
    shane knappS
    @David-Brown i came here to let you know that my receipt had what appears to be his email address on it (which i’ve blocked out here for privacy): [image: 1770251302182-2a1a9747-0e42-4d15-80d0-eb4737ffabd4-image.png] seems legit to me, but i can’t know for sure. :)
  • 0 Votes
    8 Posts
    832 Views
    S
    @PeterJones Hello, Here is a demonstration of what altsnap does You can press the ALT key, or the “hot click” which on my mouse is mouse button #5. And this allows moving and resizing a window from anywhere. https://youtu.be/Wzt7hSyGGmc It is very ergonomic as you don’t have to position the cursor on the thin window edges. I think this is quite rare and cutting edge practice, most people I think just maximize their window and use one application at a time. But I have a very large desktop of 4x 40 inch 4K monitors and I needed more efficient way to move the windows around. As for the scrolling, there are two “middle-click” based scrolling methods I know about. There’s the autoscroll round thing which I don’t really like, it’s like using a thumbstick. It’s good if you want to let it scoll at a constant speed like the text scroll at the beginning of star wars but it is otherwise clumsy and slow to use, not “dextrous”. I prefer the “scroll anywhere” method which is similar to like you would scroll a touch tablet interface. I demonstrate both of these modes here https://youtube.com/shorts/yHuWI4f1rOg So, what I am asking is like scroll anywhere but in a left-right direction to move the center divider around.
  • 4k resolution

    4
    0 Votes
    4 Posts
    2k Views
    J
    @Maxitrol-Mat said in 4k resolution: While some things look good, some other things look microscopic. One thing that may help: In Preferences > Toolbar, try choosing a “large” UI option.
  • 0 Votes
    1 Posts
    233 Views
    No one has replied
  • The problem with notepad.runMenuCommand

    10
    1 Votes
    10 Posts
    1k Views
    W
    @PeterJones said in The problem with notepad.runMenuCommand: Simple and light is often the opposite of universal. This is often the case, but not always. @PeterJones said in The problem with notepad.runMenuCommand: If you solution is “universal enough” for you, fine; Of course, when there is no ideal option, you have to choose the one that is most suitable for the situation. @Alan-Kilborn said in The problem with notepad.runMenuCommand: Good luck achieving all of those all of the time. Or do you have a “pick any 2” or “pick any 3” type rule? ;-) Thanks. It happens to everyone at some point ;) But it must be universal and fast, even if it means making the code complex.
  • Search Dialog Adding `\r\n` to pasted search queries.

    3
    0 Votes
    3 Posts
    390 Views
    H
    @PeterJones Thanks so much for the quick reply. Installing the release candidate fixed the issue for me. Much appreciated!
  • 0 Votes
    1 Posts
    167 Views
    No one has replied
  • TABS CTRL+TAB, CTRL+TAB+SHIFT

    2
    0 Votes
    2 Posts
    395 Views
    PeterJonesP
    @El-Greco-0 , The Ctrl+Tab / Ctrl+Shift+Tab is the “Document Switcher” feature. By default, Settings > Preferences > Misc > Document Switcher has ☑ Enable MRU behavior checkmarked, which turns on Most Recently Used (MRU) order for the Ctrl+Tab order. If that is unchecked, then the Ctrl+Tab order is determined by the order of the tabs in the view, so if you turn off that option and use Window > Sort By > Name A to Z, then Ctrl+Tab will follow alphabetical order. The reason why Ctrl+Tab defaults to MRU, is because it is often (maybe even mostly) used as the quick/simple “swap between this tab and the last tab I used”, rather than cycling through the entire list. Also, there is a separate set of keystrokes, Ctrl+PageDown for next-tab and Ctrl+PageUp for previous-tab, which already follows the order of tabs in the view (so also affected by the Window > Sort By > … sorting), so it’s already easy to navigate between tabs in the view order by another similar means – so again, it makes sense to default the Document Switcher Ctrl+Tab to use Most Recently Used behavior…
  • UNIgetUI update shows 2 instances of notepad++

    1
    1
    0 Votes
    1 Posts
    201 Views
    No one has replied
  • HOW Do You Add Keyboard Shortcuts

    11
    0 Votes
    11 Posts
    5k Views
    CoisesC
    @PeterJones said in HOW Do You Add Keyboard Shortcuts: Actually, anything in the Scintilla Commands tab of the Shortcut Mapper can have 0 or more shortcuts assigned. It’s not limited to only 2. And it’s not limited to only Copy/Cut/Paste. This is described in the user manual’s Preferences > Shorcut Mapper, specifically in the paragraph that starts with “In the Scintilla commands tab, you can actually assign more than one shortcut to a given Scintilla command” This might be confusing to @Michael-Neumann, because Cut, Copy and Paste are no longer Scintilla shortcuts; they moved to the Main menu tab, Edit category, as part of the changes that enhanced multiple selections and implemented VS Code-style line cut/copy/paste. Since the two sets of shortcuts, with X/C/V and with Insert/Delete, are so familiar and either would have been missed, special allowance was made to let those menu items have two distinct shortcuts. No other commands work that way.
  • Open container folder in cmd but as a toolbar button ?

    4
    1
    0 Votes
    4 Posts
    461 Views
    S
    Hello Thank you for the responses ! @Ekopalypse I have tried this method After installing PythonScript, it was unclear where I could add the script open_containing_folder_in_cmd.py I tried C:\Users\user\AppData\Roaming\Notepad++ (no) C:\Users\user\AppData\Roaming\Notepad++\plugins (no) C:\Program Files\Notepad++\plugins\PythonScript\scripts (maybe) It still wouldn’t appear, until restart (this should, auto refresh I believe, when you open configuration at least ?) It appeared in the menu [image: 1768356923637-0ac210cc-ad88-4800-87c7-58a74d503428-image.png] But not in the configuration page [image: 1768356942740-322dddaa-81f2-486f-a484-d2097340a938-image.png] Click on Plugins->Python Script-> Scripts -> open_containing_folder_in_cmd.py Did open cmd.exe in the right location Ah ok, from clicking the “new” script button The path is C:\Users\user\AppData\Roaming\Notepad++\plugins\config\PythonScript\scripts The folder was not created during installation apparently ! Now it does appear ! [image: 1768357171622-cd365908-f84e-46cf-8ff8-9ae887336bc6-image.png] And yes this works ! [image: 1768357246736-493bdea5-d298-4f7b-869c-b2918b47ebf8-image.png] Thanks ! @PeterJones Thanks for this suggestion I gave this a try as well [image: 1768357370965-ab026774-25a1-450d-8212-b4bc999595d7-image.png] Then I edited C:\Users\user\AppData\Roaming\Notepad++\plugins\config\CustomizeToolbar.btn I pasted your suggested command changed the file to a screenshot of the cmd.exe icon I took I also added you suggested extra space fix File,Open Containing Folder,cmd,,fRgHGCzWpi.png,fRgHGCzWpi.png,fRgHGCzWpi.png View,Show Symbol,Show All Characters,,Icons\allChars.bmp,Icons\allChars_off.ico,Icons\allChars_off_dark.ico This did not work yet I used webservice https://www.icoconverter.com/ To create a .ico file with these settings [image: 1768358066419-c7397a0a-1735-44fc-a70e-b4b6e891d909-image.png] and I downloaded the 3 files from the github issues https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/icons/standard/toolbar/allChars.bmp https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/icons/light/toolbar/regular/allChars_off.ico https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/icons/dark/toolbar/regular/allChars_off.ico And I placed them in folder C:\Users\user\AppData\Roaming\Notepad++\plugins\config\Icons Restarted notepad++ The icon appears and works but the icon is wrong [image: 1768358107727-f9a8a675-ab97-4ff9-931f-bb7bc7497520-image.png] I tried these settings [image: 1768358206633-a95b67a9-69de-4527-9a06-aa6cbbbac32f-image.png] Also does not work [image: 1768358253062-0c0e31a7-ed98-4597-a728-94df39b63ab7-image.png] also no [image: 1768358274231-d5274fe9-e9c7-422b-b35b-93844462b236-image.png] also no ??? Oh wait File,Open Containing Folder,cmd,,cmd.ico,cmd.ico,cmd.ico should have been File,Open Containing Folder,cmd,,Icons\cmd.ico,Icons\cmd.ico,Icons\cmd.ico Icon has disappeared ! [image: 1768358445494-54d68466-f8bd-4877-803e-82916cc556ec-image.png] ok, instead move the file to C:\Users\user\AppData\Roaming\Notepad++\plugins\config [image: 1768358478776-51f48583-924a-4e0b-be1d-9df87f8909a3-image.png] change it back to File,Open Containing Folder,cmd,,cmd.ico,cmd.ico,cmd.ico restart npp icon is back, but still question mark [image: 1768358822785-580fc2d1-b691-4081-916b-935a9805cdce-image.png] Maybe the file is not 16x16 256 colours ? [image: 1768358796670-b7aa94fa-7748-42b8-8e51-49e507acb631-image.png] Looks like it is as specified Maybe something is wrong with the file … [image: 1768358970466-e0b2e4e5-7210-4687-881d-69eebba78699-image-resized.png] I’m not good enough to mentally decode this, looks normal Hmm https://en.wikipedia.org/wiki/ICO_(file_format) 0x02 idType is 1 , which is ICO good 0x04 idCount is 1, just 1 image 0x06 ICONDIRENTRY struct bWidth is 10 , which is width 16 bHeight is 10, which is width 16 bColorCount 0. does not use a pallette wPlanes is 1, has color plane , whatever that is, 0 is black and white ? wBitCount, it is 8 bit per pixel dwBytesInRes, 1384 bytes ?? idk … onion.bmp,onion.ico,onion.ico ah wait you have BMP in there ?? [image: 1768360143367-2f4a2017-f18f-4b16-af27-0fa951d8d002-image.png] File,Open Containing Folder,cmd,,cmd.bmp,cmd.ico,cmd.ico restart [image: 1768360162379-72f5b447-bfe2-46c1-a8b4-fc22137f42ad-image.png] woohoo ! Wow, I was about ready to give up there ! Thanks both of you, I will go with the CustomizeToolbar plugin as it give me that distinctive icon !
  • 0 Votes
    6 Posts
    8k Views
    xomxX
    @Justin-Goodell said in Undo/Redo (CTRL+Z/CTRL+Y) behaves unexpectedly after a few hours (NppFTP, NPP 64-bit, Win11): use the “alt” key to highlight a chuck of text on multiple lines, then delete that section Yep, there was that “alt” column mode +DEL undo regression (from N++ v8.8.9), some details & STR in the fix-PR: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/17307 The fix is in the already released v8.9 but due to some other problems in that version, it hasn’t been triggered for a N++ autoupdate (so if you wanna use it, you have to dl & run the v8.9 installer yourself). @PeterKee Do you also use N++ macros? Currently I’ve identified another such (this time a longstanding) bug in the N++ codebase (PR fix is still in progress, it’ll be hopefully in the next version, for a STR look here).
  • Where is the Plugins Admin?

    7
    0 Votes
    7 Posts
    2k Views
    Karlo-FK
    I’m guessing that GUP.exe and/or nppPluginList.dll somehow wasn’t updated before.
  • Notepad++ help for fast formatting date of births

    5
    0 Votes
    5 Posts
    572 Views
    PeterJonesP
    @Laura-Harrison , Don’t post essentially the same thing twice. The posting form reminds you that until you have enough upvotes, you have to wait for the posting queue for the post to show up. If all of your badly-quoted dates have the quotes in exactly the same places (3 digits, quote, digit, hyphen, quote, digit, quote, digit, hyphen, quote, two digits), then you can use a similar idea to above, but put each into capture groups using the (...) notation: FIND = (\d{3})"(\d)-"(\d)"(\d)-"(\d{2}) . Each capture group gets numbered 1-5 for each set of parens, and is $1 - $5 in the REPLACE WITH field. So REPLACE WITH = "$1$2-$3$4-$5" This will take 199"0-"0"8-"28 199"2-"1"1-"12 and make it "1990-08-28" "1992-11-12" But I have a feeling you are going to tell me in the next post that what you really have is quotes in different places each time, like 1"99"0-"0"8-"28 199"2-"1"1-"12 "2"0"2"6"0"1"0"6" In which case, I’d say, look for “possible quote, digit, possible quote, digit, possible quote, …etc”, where “possible quote” is in regex as "? (which means "0 or 1 quote mark) FIND = "?(\d)"?(\d)"?(\d)"?(\d)"?-"?(\d)"?(\d)"?-"?(\d)"?(\d)"? REPLACE = "$1$2$3$4-$5$6-$7$8" REPLACE ALL would give "1990-08-28" "1992-11-12" "2026-01-06" (Note that if you had more digits than that, like if you also had hh:mm:ss, so it would be up to 14, the replacements for 10-14 would be ${10} - ${14})
  • Page with the license fixed in front of the text

    2
    0 Votes
    2 Posts
    346 Views
    PeterJonesP
    @Arí-Ricardo-Ody , v8.8.2, like every other version of Notepad++, shows the license when you use ?-menu’s About Notepad++ entry, or click the F1 key on your keyboard (default shortcut). [image: 1767278645849-1e29ea25-95d1-4882-a90e-35b5122c61ce-image.png] But it’s super-simple to get rid of. You can click OK or hit the ESC key on your keyboard, and it goes away. (The ESC key won’t work if you’ve clicked in the main Notepad++ window after the About dialog appears, because the ESC key needs the dialog to have focus to work. You can give the dialog focus by clicking anywhere in that dialog.) The problems that I can only guess you might be having: You clicked somewhere else, so ESC doesn’t work for you. Possible fixes: clicking the OK button clicking anywhere in the dialog’s window then typing ESC The OK button isn’t visible. Possible fixes: clicking on the About window somewhere, then typing ESC clicking on the About window somewhere, then use Alt+SPACEBAR to bring up the System Menu for the dialog. From there, you can select Move (or your language’s equivalent); if you cannot see the System Menu, it might be hidden somewhere, so you can type M (or whatever your language’s normal letter is for the “move this window” action from any application’s Alt+Spacebar System Menu). Either way, once it’s in move mode, you should be able to move the window around until you can see the OK button [image: 1767278936187-9a5c9577-11dd-42ab-81c1-6efb2986a824-image.png] You see and click the OK button, but the window doesn’t go away, or comes back Not sure what could be causing this. My best guess would be that the F1 key on your keyboard is stuck (or some other application or malware is constantly sending the F1 keystroke command), so it is repeatedly opening the About dialog, even after you close it. There’s nothing Notepad++ can do about this, but a reboot might help, or trying a different keyboard on that computer. If F1 is really a problem that you cannot solve through keyboard or reboot, go to Settings > Shortcut Mapper (you can do that even when the About menu is showing), type F1 into the Filter, click on About Notepad++ in the grid, click the Clear button – this will remove the F1 shortcut from About Notepad++, so F1 will no longer launch that dialog. So then if you close it, even pressing F1 shouldn’t launch the dialog anymore. [image: 1767279285572-b67fd922-5af6-48ac-8c17-399711af3351-image.png] But, in General, Notepad++ (v8.8.2 or any other version) only shows that dialog when you access it through the menu or through using F1, and can easily be closed using the OK button or typing the ESC key while the dialog is in focus. If nothing in this works, you will have to give us more information (maybe a screenshot of the dialog, in case I’ve misinterpreted what you meant by the “page with the license”)
  • Fluent close/x on tab bar

    Moved
    5
    0 Votes
    5 Posts
    864 Views
    MarkusBodenseeM
    Chill, Peter :-) Breath in, breath out. Everything is fine. (This is meant in a very positive way. I feel that you are very busy right now.) Of course, yes, this is definitly no big deal. But it is nothing wrong in talking about it. Or just bringing up a question about it. Or an idea. IMO, Thomas is not wrong with his observation/question/request. The red x icon is the only colorized icon while using light mode and fluent UI. So a more consistant behaviour would be, to have the x icon appearance coupled on the icon choice rather than the light/dark mode choice. (Means red x icon coupled to standard icons, a fluent x icon to the fluent UI.) Yes sure, this issue is nothing important compared to the more urgent topics in the issue tracker.
  • Notepad for android

    2
    0 Votes
    2 Posts
    373 Views
    Terry RT
    @ErickNet Short answer is no. There are some posts on this forum over the years on the same subject, just do a search with the word android to see them. One of the later (relevant) ones is here. Terry
  • Add current file to Workspace?

    2
    0 Votes
    2 Posts
    353 Views
    PeterJonesP
    @Glenn-M said in Add current file to Workspace?: Hi, first time posting here… I have a Workspace setup with a folder called Favorites that contains files I use frequently. Is there an easy way to add a currently open file/tab to the Favorites folder? Not via a single click. The only way I have found to add a new file to the folder is to use “Add Files…” which opens a file browser, so I have to browse to select the file that is already open in the editor. Unnecessary extra effort. You could right click on the tab of the file, then Copy to Clipboard > Copy Full File Path, then paste that into the Add Files… dialog, which would avoid having to browse. But you are right, it would be nice to be able to choose “Add active tab to project” in the same Project Panel menu as “Add Files…” If there is not currently a way to add an open file/tab to a Workspace, can that be added as a Suggested Feature? Look through the existing official issues, searching for either project panel or workspace (people sometimes use one term or the other for this same feature) and make sure the request doesn’t exist already. If not, click on the New Issue button and create the request. However, Project Panel features haven’t been updated much in the last few years, so I don’t know how likely it is. You might want to try the Explorer plugin (you can install it through Plugins > Plugins Admin, checkmark Explorer, then Install), which has a Favorites feature, and that might work better for you than a Project Panel anyway. I recommend trying that plugin out to see if it meets your needs – either instead of putting in the feature request, or to give you something similar to tide you over while you are waiting to see if the feature request is implemented.
  • 9 Votes
    50 Posts
    25k Views
    Lycan ThropeL
    @PeterJones said in Config Files Need Updating, Too: But, unfortunately, there were a few growing pains in transferring from the plugin to the builtin that I was really hoping wouldn’t happen, because I had ironed out so many problems in the plugin version already. That IS why it’s called ‘developing’. and maintainers are ‘developers’. :-) If I ever saw a first version of anything that worked unscathed on the first try, I’d be digging through the code looking for the bomb that went undetected. :-)