• Confirmation email - the link does not work

    3
    0 Votes
    3 Posts
    257 Views
    PeterJonesP

    For this specific instance, debug continued in chat (because of privacy issues).

    But if you are a reader in the future, who is encountering the same thing:

    The link you are provided in the confirmation email is a one-time link. So if you follow the link twice, or if you accidentally hit “reload” in your browser, or if your browser for whatever reason requests the page twice (view source, reload, network confusion, …) then the second time will give a “Not Found” error. It may be that you never saw the first successful load, even though it was successful behind-the-scenes.

  • Filtering the shortcut mapper

    15
    3 Votes
    15 Posts
    731 Views
    Mark OlsonM

    The proposed feature of filtering the shortcut mapper has been added to Notepad++ via this commit.

    See this issue in the user manual repo for some examples of how the new functionality will work.

  • help! regular express

    2
    0 Votes
    2 Posts
    207 Views
    guy038G

    Hello, @李唯任 and All,

    Not difficult with regular expressions !

    Do a normal selection of your first text part to modify

    Open the Replace dialog ( Ctrl + H )

    Untick all box options

    Tick the Wrap around box option

    Select the Regular expression search mode

    Enter (?-s)(?:.+(\R))+.+ in the Find what: zone

    Enter {\1$0\1}, in the Replace with: zone

    FIRST possibility :

    Tick the In selection box option

    Click on the Replace All button

    SECOND possibility :

    Do not tick the In selection box option

    Click on the Find Next button

    Click on the Replace button if the present selection must be replaced (A)

    Click again on the Find Next button, if the present selection must stay unchanged

    Return to line (A)

    And so on…

    => the FIRST possibility just produce one global replacement on your selection whereas the SECOND possibility allows you to choose the zones of text to modify or not !

    Notes :

    First, the in-line modifier ( (?-s) ) means that the regex character . represents a unique standard char only ( not EOL )

    Then the (?:.+(\R))+ part represents a bunch of, at least, 1 complete line(s), surrounded by a non-capturing group ( (?:.......) ), each with :

    1 or more standard characters

    Any kind of End of Line ( \R ), so \r\n or \n or \r, stored as the group 1 , which will be re-used in replacement

    Finally the .+ part match a LAST non-empty line ( Thus, the case if your last section is at the very end of file, without any EOL, will be matched, too )

    In replacement, we simply write the { character first, followed with an EOL character ( the group \1 ), followed with the whole regex ( $0 ) and, again, followed with a second EOL character and, finally, the } character

    Best Regards,

    guy038

  • Notepad++ Searching by columns for non alpha characters

    12
    1 Votes
    12 Posts
    1k Views
    Ray NaylorR

    @Coises
    Thank you soo much! Works perfectly now.

  • Change Color of Hyperlinks in Text File (Not Just on Hover)

    6
    0 Votes
    6 Posts
    994 Views
    DeeTNBlazerD

    The two solutions given here solved my issue. Thank you so much to the contributors!!

  • Word count in Status Bar on text selection

    4
    0 Votes
    4 Posts
    2k Views
    guy038G

    Hello, @michelle-pace,

    You may also be interested by this Python script, built up with the @alan-kilborn’s collaboration and some other Python gurus !

    On the last line of this Summary report, it will give you, at the same time, the number of characters, words and bytes of all your selected text, in one or several ranges, of the current file, whatever the view used !

    https://community.notepad-plus-plus.org/topic/20218/emulation-of-the-view-summary-feature-with-a-python-script/14

    Of course, if you select all the file contents, the results, reported in the last SELECTION(S) line, should be identical to the 3 lines just above :
    Total chars, Words count and Buffer length

    BTW, note, that I added the mention (Caution !) in the Words line, because the word notion is quite odd in many languages ! Refer to this post :

    https://community.notepad-plus-plus.org/topic/20218/emulation-of-the-view-summary-feature-with-a-python-script/3

    If needed, you may even change the default definition of a word character, as explained at the beginning of the post !

    Best Regards,

    guy038

  • "Clear Type" does not affect the font display in the editor

    3
    0 Votes
    3 Posts
    217 Views
    Storm CorpS

    Yes, that’s what I need! Thanks for the help!

  • Perl folding fails on comment with right curley brace "#}"

    4
    0 Votes
    4 Posts
    300 Views
    mpheathM

    @CodeBiene said in Perl folding fails on comment with right curley brace "#}":

    So it has nothing to do with the fact that there are several consecutive comment lines.

    I agree that It is something that has not been mentioned yet.

    The hexadecimal 3FF displayed in the margin is negative folding caused by unbalanced braces.

    perl_fold4.gif

    2 frames alternate every 4 seconds displaying the default lexer property value of

    fold.perl.comment.explicit=1

    and the changed value of

    fold.perl.comment.explicit=0

    Comment explicit enabled for the lexer is usually the leading comment character(s) followed with a brace. Perl comment explicit is #{ as a open fold and #} as a close fold.

    Notice the line with #} { shows fold flags of 402 401 which means it is closing a fold. The next frame with that same line shows fold flags as 402 402 which means that there is no change in the folding state.

    The Ctrl+Q key sequence changes } { to # } { which is not recognized as a fold by comment explicit as to the space after the # symbol.

    PythonScript can be used to disable the comment explicit option which is enabled with the value of 1 by default:

    editor.setProperty('fold.perl.comment.explicit', 0)

    This setting will not survive changing buffers so may need a callback to be setup.

  • Remote linux agent to trigger a local edit?

    1
    1 Votes
    1 Posts
    204 Views
    No one has replied
  • [feature request] cloned tab lighting

    12
    1 Votes
    12 Posts
    738 Views
    Lycan ThropeL

    @Alan-Kilborn ,
    Thanks to you, (grumble :) ) I’ve started checking out the YT videos by Chris Amit to check out some of the other things NPP and Plugins do that I’ve not been using and already have enabled 3 more plugins. ::sigh:: Ignorance was bliss, now that I’ve eaten the apple, like Adam, I’m screwed. :)

  • How to highlight text?

    10
    0 Votes
    10 Posts
    140k Views
  • Merge files in one - How does it work?

    1
    0 Votes
    1 Posts
    250 Views
    No one has replied
  • WinGup update waiting...

    4
    0 Votes
    4 Posts
    518 Views
    PeterJonesP

    @mattesh ,

    I’ll put it there little later

    I actually already pointed it out to Don here, and he has tagged wingup 5.2.8. He has incorporated that new wingup into Notepad++ v8.6.3-RC2

    seems that this fix might even not be enough for some use cases

    If you find a use case that isn’t covered by wingup 5.2.8, you will have to create a new wingup issue. A fix for a new issue (likely) won’t make it into the final Notepad++ v8.6.3 release, but it should make it eventually (assuming he is able to come up with a fix).

  • Weird 'Find Window' situation with search text box

    8
    1 Votes
    8 Posts
    498 Views
    Mark OlsonM

    @big_guitar
    If you’re using JsonTools 4.4, you should upgrade to v6.1.1 or v7 even if it’s not responsible for your problem (and I seriously doubt it is).

  • Getting project data when using external execution.

    10
    0 Votes
    10 Posts
    711 Views
    G

    @PeterJones
    OK. I get the picture now. Although notepad++ has many features - great editing and the ability to run external programs - it lacks the ability to handle projects properly.

    The ability to have $(CURRENT_PROJECT_FILE) and $(CURRENT_PROJECT_NAME) is all it would take.

    Although notepad++ is my editor of choice I will just have to ‘bite the bullet’ and carry on as I currently do. I manually create a file containing the file list and compile that.

    I can currently do what I require by creating the panel information file in my data directory with the extension npp then looking for this file in the current addressed directory. Only one project/directory allowed.

  • "Summary" feature improvement

    31
    3 Votes
    31 Posts
    3k Views
    Alan KilbornA

    @guy038 said in Improved version of the "Summary" feature, ...:

    what do you think of ?

    I wouldn’t bother trying to rename things at this point.
    It’s no problem simply because I was confused (that’s MY problem). :-)
    Carry on… :-)

  • Full line selection and keyboard shortcut

    12
    0 Votes
    12 Posts
    10k Views
    Alan KilbornA

    @SoCu said in Full line selection and keyboard shortcut:

    you can see that with each update you have to reconfigure everything that has been changed, I think this would not have to be changing with each update.

    No, that’s not true.
    However, if the author of Notepad++ “adjusts” keycombos for a new release (there’s been some mumbo jumbo with Ctrl+c lately), then you might have to.

  • [Bug] Npp loses all open files after restarting as Admin

    20
  • Windows 11

    17
    0 Votes
    17 Posts
    5k Views
  • Selected text color issue?

    5
    0 Votes
    5 Posts
    655 Views
    Diehl WithItD

    @PeterJones Legit, you the man.
    13048f20-e1b3-40ad-bbb4-1371331f4532-image.png

    There were many styles I was missing so I’ve updated my styles.xml with them all now.

    Thanks.