• Why the comparing takes so many hours??

    2
    1 Votes
    2 Posts
    2k Views
    pnedevP

    @Martin-X ,

    Hi Martin,

    Unfortunately Compare plugin takes A LOT OF TIME comparing some kind of files (that is because of their content, not their type). I suppose your files are falling in that group.
    It also doesn’t show a meaningful progress in that case because the compare process is not linear and there are several compare stages. Your comparison is having troubles in the early stages (because of the file contents specifics) but it is very possible once that stage is over the other stages to go almost instantly.
    I’m pretty sure it is still comparing, it hasn’t crashed but there is no way to check how much time it will take it to finish.

    Having said that leads to the conclusion that Compare plugin is pretty useless in your case.
    You’ll need to kill the running Notepad++ instance from the Windows Task Manager because the progress Cancel button won’t work in that situation.

    I suppose it’s not the case but if it happens that your files are not confidential I’ll appreciate it if you send them to me so I can further check what’s happening.

    BR

  • Indentation of XML Causing Crashing of Notepad++

    1
    0 Votes
    1 Posts
    154 Views
    No one has replied
  • Python 3 f-strings not colourizing correctly

    4
    1 Votes
    4 Posts
    1k Views
    Peter LP

    Yes! That’s it. All working perfectly now.
    Yes, you’re quite correct, I have customised the settings (quite a bit), so that’s what’s happening.
    I’ll be aware of that for future issues.
    It may well be simpler for me to keep a track of my customisations, then uninstall and reinstall Notepad++ for a new upgrade, along the lines of what @Alan-Kilborn does with his portable version.
    And thank you @PeterJones for your kind comments.

  • Replace text

    8
    0 Votes
    8 Posts
    420 Views
    astrosofistaA

    @Craig-McFarlane

    Glad it worked. Thank you for report it back.

  • Insert Text at tge beginning of found documents

    3
    0 Votes
    3 Posts
    201 Views
    digidaxD

    Thanks, have used not the right words for the search here but it solves my problem.

  • 0 Votes
    9 Posts
    2k Views
    PeterJonesP

    @Alan-Kilborn said ,

    I downloaded Notepad ++

    You mean we weren’t actually starting with a Notepad++ related problem from the very beginning

    I chose to interpret that statement as “I re-downloaded and re-installed Notepad++” (which could have had the effect of fixing the .txt file association back to Notepad++, so that they were properly icon’d for Notepad++ rather than Excel). Otherwise, … yeah, that statement gave me pause, too. :-)

    But ignoring that, I don’t often have my OneDrive folders showing files that it hasn’t downloaded to my machine, so I don’t remember how seamlessly that feature of OneDrive works; but maybe Notepad++ requests to open the file differently than some other common applications, so OneDrive doesn’t recognize the request and download the file promptly enough; or maybe Notepad++ isn’t patient enough while OneDrive processes the request, and if the OP tried to open the file a second time, it would be there. But i think “Always keep on this device”, and being patient once, should help the OP’s current problem.

  • Character counter!

    2
    0 Votes
    2 Posts
    161 Views
    Alan KilbornA

    @Ricardo-0 said in Character counter!:

    I wonder if it is possible to count characters in Notepad ++?

    View (menu) > Summary…

    I need to know why I use forums where the limit is 1000 characters.

    Can’t help you with that one!

  • Need help on replacing text

    13
    0 Votes
    13 Posts
    3k Views
    Claude CadieuxC

    @Alan-Kilborn said in Need help on replacing text:

    BET \1 AND \2

    Thank you so much for your time and patience and the link.
    There’s always something new to learn.
    Claude :-)

  • 0 Votes
    2 Posts
    1k Views
    EkopalypseE

    @Claudia-Svenson

    I thought this comes from npp, to be more precise, from gup.exe.
    In order to disable this message you have to uncheck
    settings->preferences->MISC.->Enable notepad++ auto-updater

  • remove everything from text file and replace with....

    6
    0 Votes
    6 Posts
    1k Views
    guy038G

    Hello, @craig-mcfarlane, @alan-kilborn and All,

    I just gave it a try :

    First, in a Windows console DOS, I ran the command Copy nul Test.txt

    I opened the file Test.txt from within Notepad++

    Unfortunately, the regex S/R below does not work, even if the search, only, does detect a zero length match !

    SEARCH \A^

    REPLACE Blah blah

    Best Regards,

    guy038

  • theme keywords: "WORD", "KEYWORD" and "TYPE WORD" etc.

    5
    0 Votes
    5 Posts
    2k Views
    David WilkinsonD

    @PeterJones

    Hi Peter, thanks again for the prompt reply.

    Your experiment was spot on. However, If I specify individual “names”: “parm”, “yAxis”, “labels”, and “font” in the “WINDOW INSTRUCTION” style “User-defined keywords” box instead of the complete name “this.parm.yAxis.labels.font” it works:

    e6f79221-bfb6-4437-a5dd-89dc4b4776f2-image.png

    If I go further and add the appropriate keywords to the “TYPE WORD” style “User-defined keywords” box, I can get this:

    a264c54f-b5d0-4cb5-9912-ea325f2908f4-image.png

    So, I am nearly there. That is a vast improvement.

    I have to say I am very impressed with the speed and the care you take with your replies. Thank you very much.

    David Wilkinson UK

  • compare plugin doesn't install

    4
    0 Votes
    4 Posts
    1k Views
    PeterJonesP

    That sounds to me like you have need a proxy setup. If your IT group makes you go through a proxy server, follow the instructions in this other post for changing the proxy settings (in case it’s not clear over there: you must Run as Administrator to change proxy settings). I think this should fix your download issue

    Your second issue (“even when I try to download and install from a third party”) was clarified in your other post in another compare-plugin thread (please keep your issue consolidated here) is because you “moved it into notepad + +\plugins”. That’s wrong, and has been for over a year (since v7.6.3 in Jan 2019). Notepad++ now keeps its plugins in <installdir>\plugins\PluginName\PluginName.dll. So the ComparePlugin would go as <installdir>\plugins\ComparePlugin\ComparePlugin.dll, with any subfolders it wants as subfolders of that folder (<installdir>\plugins\ComparePlugin\subfoldername); there shouldn’t be any DLLs directly in <installdir>\plugins anymore.

  • How to disable multiple lines?

    3
    0 Votes
    3 Posts
    629 Views
    Omar Al-saadiO

    @PeterJones said in How to disable multiple lines?:

    Toggle that setting with View > Word Wrap or the little Word wrap button on the toolbar

    87be51e2-7244-4256-bedc-f1c0af8ce261-image.png

    Ah! Thank you so much!

  • Replacing three digit numbers with random numbers

    2
    0 Votes
    2 Posts
    275 Views
    Alan KilbornA

    @Calypsm

    It’s an OK question to ask here.
    Unfortunately, neither Notepad++ nor plugin can help you with that type of problem.
    If you want to resort to programming, it can be done, but don’t know if that is an option for you.
    You also really need to show some of what your data looks like, if you want further help.

  • Keeping urls and deleting rest of the stuff from copied sourcecode.

    7
    1 Votes
    7 Posts
    557 Views
    Alan KilbornA

    It is sometimes difficult to keep certain text by trying to match the remaining text, usually because the remaining text is hard to match because it may not be as patterned as the “to keep” text.

    @guy038 discusses a technique to do this kind of text retention in this thread. Probably could be adapted to work well here.

  • Preferences not saving

    2
    0 Votes
    2 Posts
    145 Views
    EkopalypseE

    I don’t really understand your problem, can you elaborate on it?

  • Breaking one text file to multiple files.

    2
    0 Votes
    2 Posts
    239 Views
    dailD

    What have you tried so far?

  • Regex Help to replace text except when it matches a string

    5
    0 Votes
    5 Posts
    399 Views
    guy038G

    Hello, @alfred-streich, @alan-kilborn and All,

    As, seemingly, all lines, which must be joined to their previous line, do not contain any colon symbol ( : ), an alternate syntax, to the Alan’s one, could be :

    SEARCH (?-i)</para>\h*\R+\h*<para>(?![^\r\n]+:)

    REPLACE \x20

    Notes :

    First, the in-line modifier (?-i) forces a non-insensitive search process

    The part \h*\R+\h* matches any range of horizontal blank char(s) ( Space and Tab ), even null, followed with a non null range of line-breaks ( \r\n, \n or \r ), itself followed with an other possible range of blank char(s)

    The part (?![^\r\n]+:) is a negative look-ahead structure, which defines a necessary condition for the overall regex to match, although not part of the final match, and looks for a line with does not contain any colon character, after the literal string <para> till its line-break

    Note that the [^\r\n]+ defines a non-null of characters, different of EOL chars. So, any char after <para> till the colon symbol : !

    In replacement, the syntax \x20 is the hexadecimal representation of a space character and you may, as well, write a single space char in the Replace with: zone

    Best regards,

    guy038

  • Disable Find Autocomplete

    6
    0 Votes
    6 Posts
    602 Views
    Alan KilbornA

    @Hyde233

    reversing the negative

    I think you’re right, and that it would be that way if it was a settable preference from Notepad++ 1.0.

    Notepad++ users are used to it filling the field in; “don’t” seems to flow logically from that, maybe.

    In the end it doesn’t matter: It will never be changed now.

  • ColdFusion Lexer and NPP after (7.5.9)

    11
    0 Votes
    11 Posts
    7k Views
    PeterJonesP

    @Michael-Benoit , the user @Joe-DeRose hasn’t been here since that single post.

    In the intervening 8 months, that old collection has been moved to https://github.com/notepad-plus-plus/userDefinedLanguages, and the specific file he mentioned is
    https://raw.githubusercontent.com/notepad-plus-plus/userDefinedLanguages/master/UDLs/ColdfusionCF9_bySpenster.xml