• FORUM: Posting Queue

    Pinned
    10
    12 Votes
    10 Posts
    9k Views
    Ivy_PearsonI

    Thanks for the update, Peter. Totally understand the need for a posting queue—spam is getting tricky these days. Hopefully, it won’t take long to get posts approved once you earn reputation!

  • Please Read This Before Posting

    Pinned Locked
    1
    4 Votes
    1 Posts
    9k Views
    No one has replied
  • Notepadd++ now seems to hang frequently.

    9
    0 Votes
    9 Posts
    3k Views
    Terry RT

    @Deepa-Asthana
    Before anyone can offer some ideas you will need to expand your description of the problem.

    Like how many tabs open. How big are some of the files/tabs. What are your backup settings. It seems that your problem has existed before the latest update, correct? Provide the details of your installation using the ? menu option, copy and paste here. There is a FAQ post to help you. Sorry writing on phone so can’t easily provide the link.

    Terry

  • Idea of a new installation routine

    6
    0 Votes
    6 Posts
    148 Views
    PeterJonesP

    @Murray-Sobol-1 said in Idea of a new installation routine:

    @PeterJones said in Idea of a new installation routine:

    No one should ever download a 32bit installer for modern OS. For any app. (Modern OS don’t come in 32-bit versions anymore, so I don’t understand why apps still bother distributing the 32-bit versions)

    I agree with the above statement, however when I ask for an update by clicking Downloads I see this section:
    Download 32-bit x86
    Installer | GPG Signature
    Portable (zip) | GPG Signature
    Portable (7z) | GPG Signature
    Mini-portable (7z) | GPG Signature

    Why is this even being distributed anymore??

    Because my statement was just my opinion, and not everyone agrees with it. Because there are some people who mistakenly think they need a 32-bit even though they have a 64-bit OS. And there are some people who have some unmaintained plugin that only comes in 32-bit (*). And because the developer has never decided to cut off those poor, unfortunate souls.

    (*: aside: anytime I come across someone like that, I do a bit of research to help them find an alternative, or find someone who has done an unofficial recompile of the plugin for 64-bit. there are very few public plugins that have no 64-bit version and no alternative)

    But that’s why we lobbied to put the 32-bit below the 64-bit, so the 64-bit gets the prominence it deserves – and why I rejoiced when it happened. Someone downloading N++ for the first time will see the 64-bit first, and will likely download that. Someone updating N++ should use the menu or auto-update, and never have to go back to the website.

  • Change specific tags in HTML code

    1
    0 Votes
    1 Posts
    70 Views
    No one has replied
  • Regex not found in large file, known limitation or bug?

    5
    0 Votes
    5 Posts
    336 Views
    guy038G

    Hi, @kjell-rilbe, @peterjones, @Coises and All,

    In my previous post, I said :

    I did not need to use the atomic forms *+

    I did additional tests and there a difference of execution time between the two solutions : greedy quantifiers vs atomic quantifiers

    If I use the same test file , containing 524,288 correct lines, so with 0 match :

    line 1 : one;two;three;four;five;six;seven;eight;nine;ten;eleven;twelve;end line 524288 : one;two;three;four;five;six;seven;eight;nine;ten;eleven;twelve;end

    The regex ^[^;\r\n]*(?:;[^;\r\n]*){12}$(*SKIP)(*F)|^.+$ displays the message Mark: 0 matches in entire file after between 1.65s and 1.71s

    The regex ^[^;\r\n]*+(?:;[^;\r\n]*+){12}+$(*SKIP)(*F)|^.+ displays the message Mark: 0 matches in entire file after between 1.45s and 1.51s

    Now, if I add the six incorrect lines below, at the very end of the test file :

    line 524289 : one;two;three;four;five;six;seven;eight;nine;ten;eleven;end line 524290 : one;two;three;four;five;six;seven;eight;nine;ten;eleven;twelve;thirteen;end line 524291 : one;two;three;four;five;six;seven;eight;nine;ten;end line 524292 : one;two;three;four;five;six;seven;eight;nine;ten;eleven;twelve;thirteen;fourteen;end line 524293 : one line 524294 : ;two line 524295 :

    The regex ^[^;\r\n]*(?:;[^;\r\n]*){12}$(*SKIP)(*F)|^.+$ displays the message : Mark: 6 matches in entire file after between 1.58s and 1.65s

    The regex ^[^;\r\n]*+(?:;[^;\r\n]*+){12}+$(*SKIP)(*F)|^.+ displays the message Mark: 6 matches in entire file after between 1.45s and 1.51s

    Remark that, if the Match case option is not checked, the execution time increases significantly ( between 6.1s and 6.2s ) :-((

    I repeated each test many times to obtain average values !

    Best Regards,

    guy038

    Of course, the . matches new line option is not cheched and the Wrap around option is checked

  • survey: Incremental search usefulness

    82
    1 Votes
    82 Posts
    48k Views
    William4565W

    @PeterJones sure.

  • How come I have two types of fonts in my sentences?

    9
    0 Votes
    9 Posts
    2k Views
    William4565W

    You can use sites that can transform text, simply put you text and then transform it and place in your sentence, that is how you have two types of fonts

  • need to edit text

    2
    0 Votes
    2 Posts
    142 Views
    PeterJonesP

    @Joc-Bedenčič ,

    Based on my guess as to what you meant,
    FIND = (^#EXTINF:0,).*$
    REPLACE = $1
    SEARCH MODE = Regular Expression

    That gives the result,

    #EXTINF:0, #EXTTV:Mpeg2;slv; udp://@232.2.1.1:5002 #EXTINF:0, #EXTTV:Mpeg2;slv; udp://@232.2.1.2:5002

    Because that’s my guess as to what you meant by “remove everything behind #EXTINFO:0,”

    If that isn’t what you wanted, you will want to give both “before” and “after” data (“only channel names” has no meaning to someone who doesn’t know the format)

    ----

    Useful References Please Read Before Posting Template for Search/Replace Questions Formatting Forum Posts Notepad++ Online User Manual: Searching/Regex FAQ: Where to find other regular expressions (regex) documentation
  • 0 Votes
    3 Posts
    195 Views
    PeterJonesP

    @MHindujaDheerajSudan said in Meenu Hinduja Dheeraj Sudan - Best Plugins for Improving Productivity in Notepad++:

    code formatting,

    Depends on what language your code is in. For example, for formatting XML, I recommend XMLTools; for formatting JSON, I recomment JsonTools.

    For most programming languges, there are standard executable-based formatters that are considered “best practice” for that language. Instead of having a dedicated plugin for each language you write in, my recommendation is to use a plugin to route the files through that external formatter.

    The “Pork to Sausage” (P2S) plugin is actually good for that: you can define “transformations”, where it passes the content of the file thru an executable, and replaces the contents with the output of that executable (unfortunately, you have to do a Ctrl+A to select the whole text first, before running hte P2S. this post my @Michael-Vincent, and the follow-on a couple posts down, give an example script for the NppExec plugin that routes various filetypes to their appropriate formatter/pretty-printer executables.

    Also, our compile/convert FAQ shows examples of how to do that sort of thing with both P2S or using NppExec to drive it – both are common solutions among the power-users here.

    comparison tools

    ComparePlus plugin. Hands down. No reason to consider anything else. It’s awesome.

    session management.

    The only session management plugin I can think of is Session Manager. I don’t use it, but I seem to remember people like it.

    Which plugins do you personally rely on, and are there any compatibility concerns with recent versions?

    Rely On: NppExec and ComparePlus are in my standard workflow for code development. And I use PythonScript for scripting tasks inside Notepad++ (like macros, but on steroids, because it has the full power of Python behind it), but that doesn’t fall within the types of tasks you were look for plugins for.

    Compatibility: Pork2Sausage, NppExec, and ComparePlus are all actively maintained, and definitely don’t have any compatibility issues. I don’t know how Session Manager is doing for maintenance.

  • How to add Translate plugin in NotePad++?

    3
    0 Votes
    3 Posts
    4k Views
    Ulysses CastroU

    @PeterJones

    npptranslate64 didn’t work for me.

    For me working very well https://github.com/pot-app/pot-desktop

    There is a video on YouTube in Portuguese that explains step-by-step how to install it. You can change the subtitles to English on YouTube or enable auto-dubbing in English.

    https://www.youtube.com/watch?v=rM1HgS3RjzA&list=WL&index=33&t=347s

  • Error Code2 ShellExecute-ERROR

    7
    0 Votes
    7 Posts
    6k Views
    hadush drbushH

    @Bill-Rich said in Error Code2 ShellExecute-ERROR:

    When I try to “run” in Chrome (the default browser) I get the above msg.

  • How to adjust the rate of horizontal scrolling ?

    7
    0 Votes
    7 Posts
    415 Views
    S

    Ah, and you can adjust the horizontal scroll rate like this

    I find for the Logitech MX Master 3S the value of 30 is very pleasant for long, 8000 character lines.

    call set "NEW_WheelScrollChars=30" & ( call reg add "HKCU\Control Panel\Desktop" /v WheelScrollChars /t REG_SZ /d %NEW_WheelScrollChars% /f & call RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters & ( reg query "HKCU\Control Panel\Desktop" | findstr /i scroll ) )

    0d15e8f4-cbec-4b98-b811-13daaf3a82f4-image.png

    This will take effect only for application launched after this is changed.

  • Moving a tab to another monitor doesn't work corectly.

    3
    0 Votes
    3 Posts
    168 Views
    Maik CM

    @PeterJones Thanks for the explanation, that makes now sense to me.

  • search in open tabs (not DropDown)

    4
    0 Votes
    4 Posts
    193 Views
    Alan KilbornA

    @PeterJones said :

    search the names of the files/tabs

    If this is the case, NavigateTo plugin really shines to achieve the goal.

  • suggestion

    3
    0 Votes
    3 Posts
    148 Views
    NicholasN

    @Tomás Preferences > Highlighting > Smart Highlighting > Highlight another view

  • Function list for C++ do not show constructors

    14
    0 Votes
    14 Posts
    3k Views
    Mario KorvaM

    @Mario-Korva

    Finally I found some time to try to fix C++ Function List parser regex (cpp.xml) to show all constructors.
    Modification of the mainExpr in the <classRange> element of <parser>:

    Original expression:

    mainExpr="(?x) # use inline comments ... )? \s* # trailing whitespace \{ # class/struct body "

    Modified expression:

    mainExpr="(?x) # use inline comments ... )? \s*(:[^:]*)? #<- trailing whitespace and initializers \{ # class/struct body "

    I did equivalent modification of the mainExpr in the <function> element of <parser>. This modification enable that function list shows constructors with initializers.
    I found also that functions defined with the call convention keyword, for example:

    void __fastcall function(parameter) { ...

    are also missing in the function list. This is solved with the addition of the

    (__[\d\l]+\s+)? #<- call convention __fastcall, __stdcall, etc.

    immediately after second “# type pointer/reference” part of mainExpr in the same two elements.

    After this modificatoins the Function List of my C++ source files appears complete! I hope that I didn’t break something.
    I tried to include modified cpp.xml here, but the post becomes too long.
    I hope this will be useful for someone.

  • The official repository, download.notepad-plus-plus.org, is down!

    9
    0 Votes
    9 Posts
    638 Views
    วีรภัทร ทวีทรัพย์

    @PeterJones Finally, I found a collection of NPP binary releases. I will share this collection when I have my free time.

  • gup.exe - never seen that process on my pc

    2
    0 Votes
    2 Posts
    204 Views
    PeterJonesP

    @akurzawa ,

    gup.exe is the binary that Notepad++ uses when it is asking the server if there are updates available, and when you are installing plugins using Plugins Admin.

    The destination IP that your screenshot shows is the current IP for norepad-plus-plus.org

    I am not an expert on the format of your output, but everything I see seems legit to me.

  • Admin mode changes

    3
    0 Votes
    3 Posts
    534 Views
    X

    @PeterJones Thank you so much for the detailed explanation! 🤗
    I understand now why it behaves differently than before and can totally relate.
    Keep up the great work! 👍

    btw, i am simply using the superbly integrated ‘Read-Only’ functionaility! So I get the the safety AND convenience (no restart required).

    All the best.