• Reload error on every single save to Google Drive

    10
    0 Votes
    10 Posts
    479 Views
    EkopalypseE

    @Doug-Girard said in Reload error on every single save to Google Drive:

    Ekopalypse, are you a NPP developer?

    Thank you for the offer but no, I’m not a npp dev.

  • Two suggestions

    32
    0 Votes
    32 Posts
    7k Views
    Michael VincentM

    @Alan-Kilborn said in Two suggestions:

    If you are looking for enhancement requests [ probably not! :-) ], maybe if the color settings could be presented in the Settings box, something like this:

    Truly not necessary, but if you want to play next time you are in the code! :-)

    If you want to try it out - see the latest development - no compiled release, you’ll need to do that yourself.

    https://github.com/vinsworldcom/nppChangedLines/tree/develop

    Also added:

    click in ChangedLines margin goes to next change / Shift+Click goes to previous Colorized buttons for change and save colors in Settings dialogue Auto populate / update of ChangedLines panel for current file

    Cheers.

  • 0 Votes
    14 Posts
    4k Views
    Alan KilbornA

    @guy038 said in Question regarding new find-in-files filter excluding ability in version 7.8.2:

    Note that you cannot just write an exclusive mask, alone ! For instance, the !*.log filter does not scan any file :-(( Personally, I think that !*.log should, implicitly, mean !*.log *.* i. e. it would have scanned all files, except for those with extension = log

    This has been changed in Notepad++ 7.8.7 so that you can write exclusive mask(s) alone. See HERE and note point #12 of the change log:

    12. Allow user to skip *.* when adding only excluding Filters for Find/Replace In Files.

  • Actions for bookmark in Mark box.

    17
    2 Votes
    17 Posts
    1k Views
    Alan KilbornA

    It seems the Notepad++ devs have arrived at a solution that is less complicated than some of those suggested here (especially my idea of a 5th tab).

    See HERE and notice point #2 of the 7.8.7 change log:

    2. Add right-click context menu to bookmark margin.

    While not exactly what the OP wanted, it certainly makes the bookmark handling commands easier to get to than menuing to them.

  • Markdown Lexer

    13
    1 Votes
    13 Posts
    2k Views
    guy038G

    Hello, @michael-vincent, @alan-kilborn, @ekopalypse, @peterjones and All,

    Here is my own Markdown test style ;-))

    First, it may give you some hints about the way to realize some specific things, on our NodeBB Notepad++ forum

    Secondly, you may use it to test a Markdown lexer or UDL

    So, this raw input text, below :

    #### FONT styles : ¯¯¯¯¯¯¯¯¯¯¯ DEFAULT text *Italic1* _Italic2_ **STRONG1** __STRONG2__ ***STRONG_italic1*** ___STRONG_italic2___ ~~Strikethrough~~ `Monospace` ``There are LITERAL `back-ticks` here !`` #### HEADERS : ¯¯¯¯¯¯¯¯¯¯ Header H1 ========= Header H2 --------- and # Header H1 ## Header H2 ### Header H3 ### #### Header H4 ##### Header H5 ###### Header H6 # #### NON-ORDERED lists : ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ * First item * Second item - Third item - Fourth item + Fifth item + Sixth item - Seventh item - Eighth item * Ninth item * Tenth item #### ORDERED lists : ¯¯¯¯¯¯¯¯¯¯¯¯¯¯ 1. First item 2. Second item 2020\. What a year ! 3. Third item 999. Last item #### Block QUOTES : ¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > This is the **first** level of quoting. > > > **Second** level : this is a **nested** blockquote. > >Back to the **first** level. > **Second** block quote test > #### **`Third`** block quote > > > 1. This is the **first** list item. > > 2. This is the **second** list item. > > > > Here's some example **code**: > > > > return shell_exec("echo $input | $markdown_script"); > This is the end of the **first** level #### CODE blocks : ¯¯¯¯¯¯¯¯¯¯¯¯ With **`4` leading** spaces : static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } } By **default** ( identical ) : ~~~ static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } } ~~~ With **`CPP` language** specified : ~~~cpp static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } } ~~~ **Without** any language **extension** : ~~~no static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } } ~~~ #### HORIZONTAL rules ( *** or --- or ___ ) ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ Before the **rule** --- After the **rule** #### LINKS : ¯¯¯¯¯¯ **In-line**-style links : This is the [1st link](https://example.com/) example This is the [2nd link](https://tests.com/ "Hovered Text") example **Reference**-style links : This is the [1st Reference][id1] style link [id1]: <https://tests.com/> [id2]: https://example.com/ "Hovered Text" This is the [2nd reference][id2] style link **Implicit**-style link : The [Daring Fireball][] site [Daring Fireball]: https://daringfireball.net/ (Daring Fireball Site) #### PICTURES : ¯¯¯¯¯¯¯¯¯¯ **In-line**-style image : ![](https://imgur.com/P0GFeMF.jpg) The *same* **in-line** image with **hovered** text ![](https://imgur.com/P0GFeMF.jpg "Winter Landscape") **Reference-style** image ( **Notepad++** animation ) : ![][id3] [id3]: https://i.imgur.com/HvBd52m.gif [id4]: <https://i.imgur.com/HvBd52m.gif> 'RENUMBERING with RECTANGULAR selection' The *same* animation, with **hovered** text ![][id4] #### AUTOMATIC links : ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ <https://www.google.fr/> <xxx.xxx.xxx@gmail.com> #### ESCAPED characters : ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ a LITERAL backslash **\\** character a LITERAL back-tick **\`** character a LITERAL asterisk **\*** character a LITERAL underscore **\_** character a LITERAL opening curly brace **\{** character a LITERAL ending curly brace **\}** character a LITERAL opening square bracket **\[** character a LITERAL ending square bracket **\]** character a LITERAL opening parenthesis **\(** character a LITERAL ending parenthesis **\)** character a LITERAL hash mark **\#** character a LITERAL plus sign **\+** character a LITERAL minus sign (hyphen) **\-** character a LITERAL dot **\.** character a LITERAL exclamation mark **\!** character #### TABLES : ¯¯¯¯¯¯¯¯ **`6`** **columns**, so **`7`** **delimiters** ( character **`|`**) | Name | AgeM | AgeF | Occupation | ABC |Xyz| |-|:-:|:-:|-|:-|-:| | John COOMBE | 60 | | Farmer | | Y | | Joseph COOMBE | 28 | | | Y | Y | | Elizabeth COOMBE | | 22 | | Y |N| | | | | | | | | George COOMBE | 16 | | |N| Y | | Richard COOMBE | 14 | | |N|N| |.|.|.|.|.|.| | Christopher COOMBE | 11 | | | Y || | Francis COOMBE | 2 | | | || That's **ALL** !

    Should produce this output :

    FONT styles :

    ¯¯¯¯¯¯¯¯¯¯¯

    DEFAULT text

    Italic1
    Italic2

    STRONG1
    STRONG2

    STRONG_italic1
    STRONG_italic2

    Strikethrough

    Monospace

    There are LITERAL `back-ticks` here !

    HEADERS :

    ¯¯¯¯¯¯¯¯¯¯

    Header H1 Header H2

    and

    Header H1 Header H2 Header H3 Header H4 Header H5 Header H6 NON-ORDERED lists :

    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

    First item Second item Third item Fourth item Fifth item Sixth item Seventh item Eighth item Ninth item Tenth item ORDERED lists :

    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯

    First item Second item
    2020. What a year ! Third item Last item Block QUOTES :

    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯

    This is the first level of quoting.

    Second level : this is
    a nested
    blockquote.

    Back to
    the first level.

    Second
    block quote
    test

    Third block quote
    This is the first list item. This is the second list item.

    Here’s some example code:

    return shell_exec("echo $input | $markdown_script");

    This is the
    end of the first level

    CODE blocks :

    ¯¯¯¯¯¯¯¯¯¯¯¯

    With 4 leading spaces :

    static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } }

    By default ( identical ) :

    static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } }

    With CPP language specified :

    static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } }

    Without any language extension :

    static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } } HORIZONTAL rules ( *** or — or ___ )

    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

    Before the rule

    After the rule

    LINKS :

    ¯¯¯¯¯¯

    In-line-style links :

    This is the 1st link example

    This is the 2nd link example

    Reference-style links :

    This is the 1st Reference style link

    This is the 2nd reference style link

    Implicit-style link :

    The Daring Fireball site

    PICTURES :

    ¯¯¯¯¯¯¯¯¯¯

    In-line-style image :

    The same in-line image with hovered text

    Reference-style image ( Notepad++ animation ) :

    The same animation, with hovered text

    AUTOMATIC links :

    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

    https://www.google.fr/

    xxx.xxx.xxx@gmail.com

    ESCAPED characters :

    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

    a LITERAL backslash \ character
    a LITERAL back-tick ` character
    a LITERAL asterisk * character
    a LITERAL underscore _ character
    a LITERAL opening curly brace { character
    a LITERAL ending curly brace } character
    a LITERAL opening square bracket [ character
    a LITERAL ending square bracket ] character
    a LITERAL opening parenthesis ( character
    a LITERAL ending parenthesis ) character
    a LITERAL hash mark # character
    a LITERAL plus sign + character
    a LITERAL minus sign (hyphen) - character
    a LITERAL dot . character
    a LITERAL exclamation mark ! character

    TABLES :

    ¯¯¯¯¯¯¯¯

    6 columns, so 7 delimiters ( character |)

    Columns 1, 4, 5 are default left justified Column 6 is right justified Columns 2,3 are centered Name AgeM AgeF Occupation ABC Xyz John COOMBE 60 Farmer Y Joseph COOMBE 28 Y Y Elizabeth COOMBE 22 Y N George COOMBE 16 N Y Richard COOMBE 14 N N . . . . . . Christopher COOMBE 11 Y Francis COOMBE 2

    That’s ALL !

    BR

    guy038

  • import vim syntax to notepad++

    2
    0 Votes
    2 Posts
    1k Views
    PeterJonesP

    @franco-otaola ,

    The vim syntax files are very different beasts from Notepad++ syntax-highlighter style-configurator themes or Notepad++ UDL definitions; as far as I know, there is no converter between them.

    For Notepad++ builtin lexers, the style-configurator settings change colors and on some keyword types can add extra keywords to the list. Similarly, UDL defines lists of keywords and operators, and sets the colors for those and a few other things.

    But in the native Notepad++ interface, you cannot do things like syntax match from a vim syntax file, which defines a new regex to determine when a number or operator or keyword should be considered a match.

    If all you want to do is grab the lists of syntax keyword xxx statements, you could grab those, and paste the values from each differently-named xxx into one of the 8 groups of keywords in the Language > User Defined Language > Define Your Language dialog, that is easily doable.

  • Suggestion: Modernize Select Behavior

    4
    0 Votes
    4 Posts
    321 Views
    EkopalypseE

    @ColdFlo

    Probably not the best place to make your suggestions.
    See here for a more detailed explanation.

  • Find multipe word and affix

    3
    0 Votes
    3 Posts
    231 Views
    Den CarlitoD

    @Michael-Vincent
    That did the trick. Thank you very much.

  • Suggestion: Move Updating to Next App Close

    2
    0 Votes
    2 Posts
    182 Views
    EkopalypseE

    @beard-second

    Please see here.

  • Replace all number to a new line

    2
    0 Votes
    2 Posts
    267 Views
    guy038G

    Hello, @app-guide and All,

    Easy with regexes !

    Open the Replace dialog ( Ctrl + H)

    Type in [\d.]+$ in the Find what: zone

    Type in \r\n$0 in the Replace with: zone    OR    \n$0 if you works on an Unix file

    Tick the Wrap around option

    Select the Regular expression search mode

    Click on the Replace All button

    Voila :-))

    Notes :

    The [\d.] regex syntax searches for a single character which can be, either, a digit (\d) or a dot ( . )

    Then, the [\d.]+ looks for a non-null range of characters, which can be, either, a digit or a dot

    And the [\d.]+$ tries to match the greatest non-null range of digits / dots till the end ( $ ) of current line

    In replacement, we first write the line-break characters ( \r\n or \n ), followed with the overall search match ( $0 )

    Best regards,

    guy038

  • Spellcheck

    9
    1 Votes
    9 Posts
    109k Views
    Smart Hub SHS

    Here is a full video to download, install and use spell check
    https://youtu.be/XgCBiSwbokA

  • XAML Regions Not Supported

    2
    0 Votes
    2 Posts
    228 Views
    EkopalypseE

    @jeronymite2 said in XAML Regions Not Supported:

    <!–#region MyRegion–>
    <!-- Lots of XAML! -->
    <!–#endregion–>

    Npp uses scintilla as a lexer for languages and avoids modifying
    individual languages in order to make upgrading to a newer scintilla
    version as easy as possible. This means that scintilla has to do it to be
    added to npp one day

  • XML Pretty Print no longer working?

    3
    2 Votes
    3 Posts
    2k Views
    Sean PearceS

    Hmm… Seems to work OK today - regardless of filename or “no file” saved yet… Thanks for the pointer to the “correct” place though :-)

  • Find & Replace Not Working

    3
    0 Votes
    3 Posts
    1k Views
    PeterJonesP

    @Ward-Scott ,

    There’s a FAQ for that: in short, docx aren’t text files, and you cannot expect Notepad++ (a Text Editor) to be able to search for literal text in a binary-encoded format like docx.

    Notepad++ search-in-files searches for literal bytes (or multibyte characters) in the files on disk, but the docx compresses and otherwise encodes text so that the bytes in the docx file are indistinguishable from random noise to Notepad++.

  • Comare Plugin not showing up in Plugin

    8
    0 Votes
    8 Posts
    680 Views
    EkopalypseE

    @D-Mishra

    the only source I’m aware of is the official documentation here.
    It might not handle everything but I would say most of it.

  • Which plugins would you recommend to install?

    9
    0 Votes
    9 Posts
    851 Views
    Alan KilbornA

    @Michael-Vincent said in Which plugins would you recommend to install?:

    you can get a pretty capable IDE-lite (similar to M$ latest offering everyone seems to be going ga-ga over)

    It is a fairly remarkable achievement (N++), given the small number of developers that work on it, compared to the number that must work on M$'s offering. N++ Plugins are a bit of a different story as they all have different authors, but the core product is what I’m talking about (so I guess I’m changing the topic a bit).

    Sure, there are A LOT of smallish bugs, and there’s a reluctance for big-change by the author, but maybe this reluctance actually helps keep it great (as opposed to the other way – letting massive changes in, leading to instability and possibly a real mess!).

    Can not stress that enough to new users

    But, scripting is not for everyone, and in fact seems to scare a lot of people. Plus, people just want to get the job done (and rightly so), not fuss around.

  • XML Tools - Validation problem with inline DTD

    3
    0 Votes
    3 Posts
    4k Views
    Michael VincentM

    @Luca-Andrea-Ludovico said in XML Tools - Validation problem with inline DTD:

    Now I have just updated the plug-in to version 3.0.4.2, and it seems not working anymore: it asks for an XML schema (XSD). The dialog says:

    I would open an issue at the XML Tools Github issue tracker if you haven’t done so already. Also, provide a link to this thread in your issue there.

    I’ve had no experience interacting with that developer directly, but there have been a flurry of XML Tools updates in the past few months as it seems he migrated to a new XML engine (Replacement of libXML with MSXML) back in January this year (according to Github commits). Since January 2020, there have been 14 new release (counting the latest pre-release). He certainly seems active and committed to the project - and thankfully, since I use XML Tools plugin as well, although maybe not to the degree you are.

    Good luck!

    Cheers.

  • Copying Text

    4
    0 Votes
    4 Posts
    196 Views
    EkopalypseE

    @Chris-Blake

    When you say keeps failing, what does that mean?
    Npp doesn’t do anything but you can still work with it?
    You see the busy pointer and Npp isn’t responding anymore?
    How large are 44,150 pages?
    Which Npp version are you using? (Please post the debug-info from ? menu)
    How do you copy the data and is this textual data only?

  • Add Notepad++ to "How do I open this file?" dialog please...

    3
    0 Votes
    3 Posts
    493 Views
    PeterJonesP

    @Scott-Sanders,

    Because you showed %ProgramFiles%\Notepad++ as your path, I am going to assume you have the 64-bit Notepad++ in a 64-bit Windows OS.

    So when you installed, you didn’t get HKCR\*\shellex\ContextMenuHandlers\ANotepad++64,
    which directs to HKCR\CLSID\{...}\, which points to Notepad++.exe’s installed location? Because that’s what the installer tries to do, in my experience. And that should set up the Edit with Notepad++ right-click entry for all file types.

    With 64-bit Windows 10, that sometimes doesn’t work… not because Notepad++ or its installer is doing anything wrong, but because in some configurations of Windows, the OS is starting to move away from always honoring that old-style association, preferring instead to use it’s “OpenWith” list.

    In another post from last month (linked here), I pointed another user to look for a bad setting in HKCU\Software\Classes\Applications\notepad++.exe and/or HKLM\Software\Classes\Applications\Notepad++.exe – one or both of those may have accidentally gotten set to %ProgramFiles(x86)%\Notepad++\notepad++.exe instead of %ProgramFiles%\Notepad++\notepad++.exe, in which case Windows won’t allow “Open With” to get assigned to Notepad++. It may be in certain circumstances that the OpenWith confusion makes the edit-with-notepad++ global entry not work… I haven’t experimented with that.

  • 0 Votes
    7 Posts
    633 Views
    gstaviG

    A hyperlink contains visible text and hidden address.

    Notepad++ deals with text files that are made of a sequence of symbols (letters) and new lines.
    It displays all the symbols in the file. It does not have a concept of hidden “metadata” symbols. If your text file contains ‘here’ that should be treated as a hyperlink text you can’t hide the destination in the same text file since Notepad++ will show it as well. That is (probably) not going to change (ever).

    With additional plugins you can imagine a linking-database on the side where the plugin consult the database to jump around.
    If you wanted to write: “Additional details can be found in AppleJuice.note” then a tag lookup plugin could allow you to jump into AppleJuice.note file. But if you want 5 different 'here’s to jump into 5 different places you will probably need to develop your own plugin with its propriety database.