• FORUM: Posting Queue

    Pinned
    10
    12 Votes
    10 Posts
    8k Views
    Ivy_PearsonI

    Thanks for the update, Peter. Totally understand the need for a posting queue—spam is getting tricky these days. Hopefully, it won’t take long to get posts approved once you earn reputation!

  • Please Read This Before Posting

    Pinned Locked
    1
    4 Votes
    1 Posts
    8k Views
    No one has replied
  • How to change the colors used for html/css that is exported

    2
    0 Votes
    2 Posts
    44 Views
    David Smith 2D

    This issue has been fixed:
    I did the following. As I use a inline style sheet I created a “css color.css” file in Notepad++. Just a blank page that I can do the following:

    I can now paste my HTMLPad 2025 css code into Notepad++ with the colors I changed under Settings> Style Configurator.

    I also created a “html-colors.html” blank file and I can copy the html code with colors that Notepad++ provides that has been updated in the Style Configurator.

    Next I highlight the text then go to “Plugins” on the toolbar then “NppExport” then “Copy all formats to clipboard”.

    I can now paste in the html/css code into Word with the colors I want.

    I still cannot create a style in Word 2024 with colors as I suspect it would be too complicated for Word to figure what parts the different text it should color.

  • Session migration

    2
    0 Votes
    2 Posts
    44 Views
    PeterJonesP

    @Magic-Mugs ,

    Assuming all your open files are real files, and all in the exact same folders on old and new machine, then just copy over %AppData%\Notepad++\session.xml

    If some of your files are the unsaved new # tabs, you will also need to copy over everything in %AppData%\Notepad++\backup\

    But if you want all the same settings from your old to your new, just copy over everything from %AppData%\Notepad++\

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Strange highlighting in PHP files

    3
    0 Votes
    3 Posts
    155 Views
    Nazar HotsaN

    Thank you! Problem solved.

  • Name on donation button is not "Don Ho" -- is this okay?

    2
    1 Votes
    2 Posts
    226 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):

    2a1a9747-0e42-4d15-80d0-eb4737ffabd4-image.png

    seems legit to me, but i can’t know for sure. :)

  • 0 Votes
    8 Posts
    324 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
    125 Views
    No one has replied
  • Pascal multi line string highlight

    4
    0 Votes
    4 Posts
    745 Views
    EkopalypseE

    @ViniwDOrazio

    Yes, when working with multi-line matches enclosed by the same pre- and suffix, you should try to match something unique before the prefix.
    If the number of lines is fixed, you could also adjust the offset configuration parameter accordingly.

  • The problem with notepad.runMenuCommand

    10
    1 Votes
    10 Posts
    592 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
    156 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
    98 Views
    No one has replied
  • TABS CTRL+TAB, CTRL+TAB+SHIFT

    2
    0 Votes
    2 Posts
    127 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
    0 Votes
    1 Posts
    100 Views
    No one has replied
  • HOW Do You Add Keyboard Shortcuts

    11
    0 Votes
    11 Posts
    4k 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
    0 Votes
    4 Posts
    272 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

    0ac210cc-ad88-4800-87c7-58a74d503428-image.png

    But not in the configuration page

    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 !

    cd365908-f84e-46cf-8ff8-9ae887336bc6-image.png

    And yes this works !

    493bdea5-d298-4f7b-869c-b2918b47ebf8-image.png

    Thanks !

    @PeterJones

    Thanks for this suggestion

    I gave this a try as well

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

    f9a8a675-ab97-4ff9-931f-bb7bc7497520-image.png

    I tried these settings

    a95b67a9-69de-4527-9a06-aa6cbbbac32f-image.png

    Also does not work

    0c0e31a7-ed98-4597-a728-94df39b63ab7-image.png

    also no

    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 !

    54d68466-f8bd-4877-803e-82916cc556ec-image.png

    ok, instead move the file to C:\Users\user\AppData\Roaming\Notepad++\plugins\config
    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

    580fc2d1-b691-4081-916b-935a9805cdce-image.png

    Maybe the file is not 16x16 256 colours ?

    b7aa94fa-7748-42b8-8e51-49e507acb631-image.png

    Looks like it is as specified

    Maybe something is wrong with the file …

    e0b2e4e5-7210-4687-881d-69eebba78699-image.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 ??

    2f4a2017-f18f-4b16-af27-0fa951d8d002-image.png

    File,Open Containing Folder,cmd,,cmd.bmp,cmd.ico,cmd.ico

    restart

    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
    6k 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
    461 Views
    Karlo-FK

    I’m guessing that GUP.exe and/or nppPluginList.dll somehow wasn’t updated before.