• Plugins download but do not install

    2
    0 評價
    2 貼文
    1k 瀏覽
    PeterJonesP

    @gaming-unknown ,

    Like I said before, I am unable to replicate the problem.

    There are some things you can do to help us. The biggest is to go to the ? menu, and give us the Debug Info. That will tell us about your configuration and location, and might give us insight into what’s going wrong.

    Next, a common problem with installing plugins occurs if you try to install plugins but are behind a corporate proxy. To make your proxy settings for Notepad++'s Plugins Admin, go to ? menu, and Set Updater Proxy – you will need to restart Notepad++ as Administrator to do that (exit Notepad++; right click on the notepad++.exe and Run As Administrator, then ? > Set Updater Proxy)

    If that’s not your problem, could you try Plugins > Open Plugins Folder and give us a screenshot of what’s in that folder (including the full folder name)? In up-to-date windows 10, use the WinKey+Shift+S to start Snip & Sketch, which will allow you to draw a box around the portion of the screen that you want to snip, then click in your reply and Ctrl+V to paste:
    297b8f99-d0a9-4c2f-b298-32c8ca9c535c-image.png

    Alternately, Alt+PrtScrn will copy an image of the full active window into the clipboard, and you can paste that into your reply.

    If there are any error messages, you could also use Snip & Sketch or Alt+PrtScrn to grab those and paste into your reply as well.

    Hopefully, you’ll be able to respond with those details, so we can help you figure out your problem.

  • I cant change the type of file

    4
    0 評價
    4 貼文
    288 瀏覽
    Andrius ŽemaitisA

    @Alan-Kilborn thanks mate

  • question

    6
    0 評價
    6 貼文
    2k 瀏覽
    UpayU

    @guy038 it works, like what i want… thank you very muchh :) :)

  • Is it possible to insert an image into a error message? ( X=MsgBox() )

    2
    0 評價
    2 貼文
    213 瀏覽
    Alan KilbornA

    @Rosa-Wu

    I think you can find your answer HERE.

  • How to quickly select multiple discontinuous entire lines?

    4
    0 評價
    4 貼文
    2k 瀏覽
    astrosofistaA

    @PeterJones said in How to quickly select multiple discontinuous entire lines?:

    Settings > Preferences > Editing > Multi-Editing Settings > Enable will allow ctrl+click multi-selections

    If that’s not fancy enough for you, there’s also the BetterMultiSelection plugin, available from the Plugins > Plugins Admin…

    Hi @PeterJones, @j-s, @Alan-Kilborn, All

    I strongly support @PeterJones advice, since the multi-selection feature and the BetterMultiSelection plugin make a quite powerful combo.

    Let me show you how to select discontinuous lines —1, 15, and 19— and then, copy, paste, select or deselect by characters, words, or the complete line. Notice that you are allowed to select from the beginning or from the end of the line:

    giphy

    Have fun!

  • How to copy/paste selection from multiple lines

    3
    0 評價
    3 貼文
    3k 瀏覽
    astrosofistaA

    Hi @guy038, @Shawn-Evans, All

    For illustrative purposes , here is an animated version of the instructions posted above by @guy038|:

    Giphy

    Hope you don’t mind I changed the ending :)

    Have fun!

  • Mystery folder...

    17
    0 評價
    17 貼文
    8k 瀏覽
    Michael VincentM

    @PeterJones

    Interesting. I’ve never installed N++, always used portable so like you said it must somehow “become” available to the portable edition, maybe during packaging. All my other plugins can write to my Plugins_config directory - not sure why CodeAlignment doesn’t.

    Cheers.

  • Hyperlink problem

    2
    0 評價
    2 貼文
    197 瀏覽
    Alan KilbornA

    @Colin-Troth

    I think you might find your answer HERE.

  • How to remove paragraphs with specific pattern ?

    11
    0 評價
    11 貼文
    2k 瀏覽
    Harl XuH

    Hi @guy038 , and All

    Thank you for taking some extra work to explain the differences. Those schematic and details… You are so cool… :)
    Then like I said in above post, regex 3 is what I need.

    Best Regards,

    Harl

  • Colouring the text

    2
    0 評價
    2 貼文
    228 瀏覽
    EkopalypseE

    @Silent-Pill

    something like this?

  • Bind extension (filetype) to theme

    2
    0 評價
    2 貼文
    243 瀏覽
    EkopalypseE

    @Sebastian-Janik

    short answer, no.

  • Strange tab behaviour in text

    5
    0 評價
    5 貼文
    2k 瀏覽
    lar3rycaL

    @lar3ryca said in Strange tab behaviour in text:

    Thank you!!!
    I had the Elastic Tab Stops installed. No idea why.
    Now I wonder where you set the tab length. I obviously set it before, but I can’t find the setting now.
    Thanks again!

    Never mind. Found it.

  • Removing numbers and emoji

    6
    0 評價
    6 貼文
    4k 瀏覽
    astrosofistaA

    @guy038 said in Removing numbers and emoji:

    our Boost regex engine is, generally, not able to find them properly

    @guy038, yes sorry, you’re right, I was misguided by my PCRE education :(

  • Backspace Unindents

    24
    1 評價
    24 貼文
    3k 瀏覽
    Alan KilbornA

    Based upon @guy038’s in-depth treatment just ABOVE, and some experimentation on my own based upon it, I decided that I think I don’t like how Scintilla’s backspace-unindents works. :-(

    So I am getting rid of the script I posted above, and going back to the script I had previously (where I did things much more “manually”), which did more of what I want/expect. :-)

  • Adding at the number on the beginning of every line

    5
    0 評價
    5 貼文
    497 瀏覽
    guy038G

    Hello, @ryan-jay-alfonso and All,

    Ah, OK ! Here is the macro code that does the work :

    <Macro name="Test_#" Ctrl="no" Alt="yes" Shift="no" Key="187"> <!-- Shortcut : ALT + = --> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <!-- Search Initialisation --> <Action type="3" message="1601" wParam="0" lParam="0" sParam="#$" /> <!-- Search Regex : # at END --> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <!-- Regular Expression mode --> <Action type="3" message="1702" wParam="0" lParam="512" sParam="" /> <!-- Search Downwards --> <Action type="3" message="1701" wParam="0" lParam="1" sParam="" /> <!-- Hit on Find Next button --> <Action type="0" message="2453" wParam="0" lParam="0" sParam="" /> <!-- Hit on HOME key --> <Action type="1" message="2170" wParam="0" lParam="0" sParam="1" /> <!-- Writing of the digit 1 --> <Action type="1" message="2170" wParam="0" lParam="0" sParam="0" /> <!-- Writing of the digit 0 --> <Action type="1" message="2170" wParam="0" lParam="0" sParam="0" /> <!-- Writing of the digit 0 --> <Action type="0" message="2451" wParam="0" lParam="0" sParam="" /> <!-- Hit on END key --> </Macro>

    Remark :

    If you’re totally sure that the # only occurs, once, at the end of some specific lines, we can, simply, use the Normal search mode, giving the following macro code :

    <Macro name="Test_#" Ctrl="no" Alt="yes" Shift="no" Key="187"> <!-- Shortcut : ALT + = --> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <!-- Search Initialisation --> <Action type="3" message="1601" wParam="0" lParam="0" sParam="#" /> <!-- Search of the # symbol --> <Action type="3" message="1625" wParam="0" lParam="0" sParam="" /> <!-- Normal search mode --> <Action type="3" message="1702" wParam="0" lParam="512" sParam="" /> <!-- Search Downwards --> <Action type="3" message="1701" wParam="0" lParam="1" sParam="" /> <!-- Hit on Find Next button --> <Action type="0" message="2453" wParam="0" lParam="0" sParam="" /> <!-- Hit on HOME key --> <Action type="1" message="2170" wParam="0" lParam="0" sParam="1" /> <!-- Writing of the digit 1 --> <Action type="1" message="2170" wParam="0" lParam="0" sParam="0" /> <!-- Writing of the digit 0 --> <Action type="1" message="2170" wParam="0" lParam="0" sParam="0" /> <!-- Writing of the digit 0 --> <Action type="0" message="2451" wParam="0" lParam="0" sParam="" /> <!-- Hit on END key --> </Macro>

    Now,

    First, determine the location of your active shortcuts.xml configuration file. It depends if you have a local N++ install or not :

    Along with the notepad++.exe file, for a local configuration, in any folder different from C:\Program files[(x86)]

    In the path %AppData%\Notepad++, in case of use of the installer to install N++

    Stop any Notepad++ instance

    Insert 1 of the codes, above, in the <Macros>........</Macros> node of your active shortcuts.xml file and save it

    Restart Notepad++

    Select your file tab

    Insert a dummy xxx# line, without line-break, at the very end of the file ( This line must satisfy the search ! )

    Go to the very beginning of file ( Ctrl + Home )

    Click on the Macros > Run a Macro Multiple Times... menu option

    Select the Test_# macro, in the drop-down list

    Choose the Run until the end of file option

    Click on the Run button

    Reminder : You must move to the very beginning of your file, before running the Run until the end of file option

    Best Regards,

    guy038

  • hotkey to browse user UDLs

    5
    0 評價
    5 貼文
    2k 瀏覽
    PeterJonesP

    @MaximiIian said in hotkey to browse user UDLs:

    I just downloaded 100 or so and am quite curious.

    WooHoo! We apparently have an actual user of https://github.com/notepad-plus-plus/userDefinedLanguages. I’m glad that wasn’t wasted effort.

    @MaximiIian , like @Alan-Kilborn , I would highly recommend only keeping the UDL that you’re actually likely to use. If you do that, then the extension-awareness should usually not conflict with each other, and Notepad++ can automatically pick the right UDL for your file based on file extension. For example, I have Markdown defined as a UDL (though it’s a different UDL than comes with Notepad++ natively), with the extension list of md markdown readme, so if I go File > New then File > Save As, and save a file with any of .md or .markdown or .readme, Notepad++ will immediately apply my Markdown UDL to the active file, even before I’ve started typing anything – no Language pulldown menu required; or if I go File > Open and pick something.readme, it will automatically apply the Markdown UDL when it opens that pre-existing file as well.

    The only times I ever really use the Language menu:

    When defining a new UDL or editing an existing UDL for my own use When I’m helping someone in this forum, and I want to do something strange like intentionally applying CSS or JS highlighting to an HTML file when I have a quick File > New tab that I’m never going to save, but want to quickly apply a temporary UDL to the temporary file buffer. (unlike some, I don’t generally save a file for each person on the forum I help; sorry. I just use the forum itself as my archive of what I’ve done for others; NPP screenshots for the forum, OTOH, I rarely get around to deleting, despite the fact that they’re archived here and for my animated ones at imgur as well. Which reminds me, probably about time to clean out my NPP image directory on my work laptop. Thanks. :-) )

    That said, once you’ve pared it down to a manageable set of actually-used UDL, if you have a couple that you like switching between (akin to toggling generic XML to a specific XML-based language, or some such), there was a whole thread (https://community.notepad-plus-plus.org/topic/18988/how-to-change-syntax-via-hotkey) about various ways to switch between syntax highlighters (between two builtin lexers or between two UDLs); you might want to read through that thread, and see if any of that helps you.

  • word character list - special characters █►◄ not selected as expected

    12
    0 評價
    12 貼文
    2k 瀏覽
    Alan KilbornA

    @astrosofista said

    caret…move in circles from the beginning to the end of the word: \A(?=\b).

    You must mean with Wrap around ticked.
    I’m not surprised by the behavior of this regex.

    It makes sense how it is working.
    Well, within the confines of Notepad++ anyway. :-)

  • Make vertical scroll bar darker

    18
    0 評價
    18 貼文
    2k 瀏覽
    Makwana PrahladM

    Hello ,@Michael-Vincent

    Please try this information,To Make vertical scroll bar darker

    Control Panel
    Display
    Appearance
    Advanced
    Item: 3D Objects Color 1: <-darker colour->
    Item: Scrollbar Size: <-larger size->

    I hope this information will be usefull for you.
    Thank You.

  • how delete a specific line and next line?

    3
    0 評價
    3 貼文
    283 瀏覽
    김성찬

    @astrosofista said in how delete a specific line and next line?:

    (?-s)Not dissected data bytes (\d+ bytes):\R^.*\R

    thanks your comment
    i do it this way well

  • Changing Text Direction RTL/LTR hotkey to Ctrl+right/left shift

    4
    0 評價
    4 貼文
    3k 瀏覽
    PeterJonesP

    @amymor said in Changing Text Direction RTL/LTR hotkey to Ctrl+right/left shift:

    @Ekopalypse
    i cant set ctrl+right shift or left shift. is it impossible?
    ty

    All keyboard shortcut assignments have to have one actual key, along with 0 or more modifier keys. Ctrl and Shift are both modifier keys (so is Alt), and keyboard shortcuts cannot tell the difference between left-shift and right-shift, so you have to pick an actual key (from the drop-down choices) to go with it.

    You could choose something like Ctrl+Shift+Left and Ctrl+Shift+Right to use the left and right arrows in combination with the control and shift keys. However, both of those are usually mapped to select-word-left and select-word-right. At least in mine, Ctrl+Alt+Shift+Left and Ctrl+Alt+Shift+Right aren’t used, so you could map them to all three modifiers plus the left and right arrow keys.