• Spell-check highlighting delayed

    6
    0 Votes
    6 Posts
    323 Views
    Michael VincentM

    @Christopher-Slominski

    No worries!! Glad it worked out. I believe 1.4.16 is the latest DSpellCheck available for Notepad++ 7.8.7. But as long as it’s working - stay where you are!

    Cheers.

  • 0 Votes
    7 Posts
    597 Views
    astrosofistaA

    Hi @Anthony-Bouttell, @PeterJones, @guy038, All:

    For the sake of variety, look at this non-regex solution (it only requires the BetterMultiSelection and Elastic Tabstops plugins installed and enabled, which you can download and install via Plugins Admin):

    Giphy

    First off, open Preferences -> Editing, and enable the Multi-Editing Settings.

    Then, do as the movie shows:

    Go to the first line and insert the required spaces to move the second word up to column 32.

    Press Home to place the caret at the beginning of this line.

    Press Shift + Alt and move the caret from the top line until the bottom of the list with the arrow down - you will get a giant caret blinking along 8 lines with no characters selected.

    Press Ctrl + Right twice. Eight carets will be blinking at the left of each second word.

    Press Shift + Left to backward select a space.

    Press Tab to magically align all the second words.

    Press Esc and then Down to release the multiselection.

    Select Plugins -> Elastic Tabstops -> Convert Tabstops to Spaces.

    That’s all. Hope you like it.

    Have fun!

  • GEDCOM file extension (.ged)

    9
    1 Votes
    9 Posts
    3k Views
    Michael VincentM

    @donho said in GEDCOM file extension (.ged):

    It’s not bug for me

    (also reference: https://community.notepad-plus-plus.org/topic/19529/notepad-v7-8-7-released/27)

    I tend to agree now that @PeterJones has showed us the registry HKCR and file extension experiment and I get the same behavior when saving with Windows standard plain old boring notepad.exe. This appears to be Windows default behavior, not a Notepad++ “bug”.

    However, there is some discussion on the issue I opened prior to fully understanding @PeterJones troubleshooting and explanation. You may want to close that?

    Thanks for Notepad++! - and sorry about the premature bug report.

    Cheers.

  • Backward regular expression searching disabled

    17
    5 Votes
    17 Posts
    3k Views
    Makwana PrahladM

    Hello,@Alan-Kilborn

    Follow this step,To Backward regular expression searching disabled

    Step 1:- Start Notepad++ 7.5 (32-bit) from a fresh unzip of the portable install.
    Step 2:- Execute any Find operation with Regular Expression as the search mode (note that when the search mode is changed to Reg Exp the “backward direction” checkbox becomes disabled–correct behavior).
    Step 3:- Quit and restart Notepad++ 7.5.
    Step 4:- Invoke the Find dialog. Note that the search mode is Reg Exp but the “backward direction” checkbox is now incorrectly enabled.

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

  • Reload error on every single save to Google Drive

    10
    0 Votes
    10 Posts
    482 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
    326 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
    232 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
    183 Views
    EkopalypseE

    @beard-second

    Please see here.

  • Replace all number to a new line

    2
    0 Votes
    2 Posts
    269 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
    229 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
    681 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
    860 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.