• Always On Top Configuration Option

    3
    0 Votes
    3 Posts
    4k Views
    Alan KilbornA

    @David-Smith-0

    If you are going to make a feature request, HERE might be a good place to put it, although it isn’t an open issue, developers might reopen it for your new request.

  • 1 Votes
    15 Posts
    943 Views
    PeterJonesP

    @VTGroupGitHub said in Sort as "aaAAbbBBccCC" or "AAaaBBbbCCcc" but not "AABBCCaabbcc", "aabbccAABBCC", or "aAAaBbbBCcCc":

    as I almost made … my post body “See title.”

    Thank you for not. That might’ve earned you a downvote on your OP from some users here, rather than getting you an answer. :-)

  • starting npp++ via batchfile

    6
    0 Votes
    6 Posts
    2k Views
    Alan KilbornA

    @tseGIT

    Ah, so it wasn’t call or start at all?
    It was the HexEditor plugin.
    Maybe that should be the first debug question with all problems, “Are you using the HexEditor plugin?” It seems to cause a good number of strange issues.

  • 0 Votes
    10 Posts
    8k Views
    Olivier ThomasO

    Replace With = >${=java.util.UID.randomUID\(\)}<

    @Alan-Kilborn
    It’s tough to make that assumption, when so little data is provided.

    You’re right.
    What is an example, such an answer

  • Notepad++ and Roselyn C# 8.0 compiler

    2
    0 Votes
    2 Posts
    254 Views
    PeterJonesP

    for others: this was re-opened a few days later at the new topic: https://community.notepad-plus-plus.org/topic/19977/how-to-configue-notepad-with-any-programming-languages … any further discussion on this question should go there rather than here.

  • Is it possible to remove bold formatting using PythonScript

    6
    0 Votes
    6 Posts
    581 Views
    Daniel FuchsD

    @Ekopalypse

    OK, thank you for your effort!
    I will try to work my way along your great example script here:
    https://github.com/bruderstein/PythonScript/blob/master/scripts/Samples/EnhancedPythonLexer.py

  • Opinions please: N++ RE implementation (beginner w/experience)

    5
    0 Votes
    5 Posts
    256 Views
    Frustrated SurferF

    @Alan-Kilborn Like I wrote to the other respondent, much appreciated. Another farming metaphor: You’ve opened the gate to a grove (trove) of information. (The pun, and puns in general now that I think about them, we gotta admit it doesn’t hurt to crack a grin and roll our eyes!)(Y’know, now that I think about it some more, a pun may well be about the only humor that can be easily conveyed in plain text without having to explain it with a #hashtag.) Thanks again.

  • simple wildcard search

    4
    0 Votes
    4 Posts
    2k Views
    Alan KilbornA

    @gerdb42 said in simple wildcard search:

    (?<=\b\w{3})[TW]

    This one may be problematic with N++ because it starts off with a lookbehind.
    Due to the nature of the way N++ conducts searches, I wouldn’t be confident in this one.
    I’d go with one of the other suggestions.

  • Anyone know how to make this pannel apear?

    2
    0 Votes
    2 Posts
    182 Views
    PeterJonesP

    @Absolute-Ciroc ,

    Macros don’t record/show the pulling down of menus. They perform the individual actions (equivalent to what’s called from menus or keyboard shortcuts).

    Unfortunately, some menu entries, while they are perfectly valid in macros, do not record properly; if you share what actions you want to take in your macro, we can help you figure out whether they can be recorded, or if they have to be manually added to the macro.

    If you are trying to pick individual entries from the Most Recently Used File list (which you have covered up in your photo), then the chances are “no, Macros cannot access those” (though Restore Recent Closed File and the actions below should be (I believe) available to macros).

    official docs: macros overview = https://npp-user-manual.org/docs/macros/ official docs: macros config-file syntax = https://npp-user-manual.org/docs/config-files/#macros
  • How to mark lines with the first 10 characters duplicated

    15
    0 Votes
    15 Posts
    3k Views
    EkopalypseE

    @Alan-Kilborn

    maybe just a copy/paste before the sorting took place.

  • What's better?

    3
    0 Votes
    3 Posts
    201 Views
    PeterJonesP

    @FurryX-GD said in What's better?:

    What’s more immportant? Newest version or 64-Bit? The Current version is only 32-Bits, I am a newcomling on Computer/Computer Programming, as you may could guess. I have of course a 64-Bit PC, so I don’t know what’s more important… Also why does the newest version doesn’t have a 64-Bit version?

    Um. What is more important to you is the only meaningful question, because different people have different needs.

    And you are working under a false assumption. The newest version of Notepad++ as of today, v7.8.9, comes in both 32-bit and 64-bit, as you can see easily at https://notepad-plus-plus.org/downloads/v7.8.9/ :
    3ba76d6c-0098-46f7-9b01-95c1c07387f3-image.png

  • Replace help

    5
    0 Votes
    5 Posts
    614 Views
    PeterJonesP

    @Tco-Robinson ,

    Your problem statement is hugely ambiguous. If you want help, it’s generally best to supply enough information for us to understand your question, let alone answer it.

    Based on your original problem statement, I would have said

    FIND = \h*\(|\) search for 0 or more spaces followed by a (, or search for ) REPLACE = blank/empty replace with nothing SEARCH MODE = regular expression

    Starting from

    A Song of Ice & Fire (2010) Some title hear (year) Blah (blah)

    This would give

    A Song of Ice & Fire2010 Some title hearyear Blahblah

    … which is nonsense, but matches the description you gave in your original post

    However, this comes close to meeting @Szabolcs-Horváth’s problem statement… which is slightly better, because he at least showed “before” and “after” data. For @Szabolcs-Horváth , though, since he doesn’t need the space removed, I would simplify to a character class, such as [\\[\]] which means find either the literal [ or the literal ] and replace with nothing.

    With your (@Tco-Robinson’s) added caveat of “I need to remove [what is] in the parentheses as well”, it becomes a completely different problem than you originally described, with a different solution:

    FIND = \h*\(.*?\) find 0 or more spaces, followed by literal parentheses with anything inside) REPLACE = empty/blank SEARCH MODE = regular expression, Make sure . matches newline is turned off
    This will convert the original data set I showed to A Song of Ice & Fire Some title hear Blah

    which might be closer to what you want.

    However, since you specifically said “year”, then maybe you don’t want non-numerical contents of parentheses to be deleted. if that’s the case, change FIND WHAT to \h*\(\d{4}\), which searches for 0 or more spaces, a literal (, exactly four digits, and a literal ), which will convert the original data to

    A Song of Ice & Fire Some title hear (year) Blah (blah)

    … so the text inside parentheses stays there, but the year (four-digit number) in parentheses goes away.

    Do you see how useful it is to actually include examples of things that do and don’t match, and to show both before and after data? It makes your problem much easier to understand, because then I could have presented just one of my three solutions, rather than having to come up with all three, or having to drag the information out of you to narrow it down.

    I am posting useful advice below. If you do not show that you have read and understood this advice, by following this advice in any future response, you will find that any help you might get will likely not meet your needs (and the help will not be from me, if you don’t act on the advice given). If you want good help, you have to give enough information for us to help you.

    ----

    Do you want regex search/replace help? Then please be patient and polite, show some effort, and be willing to learn; answer questions and requests for clarification that are made of you. All example text should be marked as plain text using the </> toolbar button or manual Markdown syntax. Screenshots can be pasted from the clipboard to your post using Ctrl+V to show graphical items, but any text should be included as literal text in your post so we can easily copy/paste your data. Show the data you have and the text you want to get from that data; include examples of things that should match and be transformed, and things that don’t match and should be left alone; show edge cases and make sure you examples are as varied as your real data. Show the regex you already tried, and why you thought it should work; tell us what’s wrong with what you do get… Read the official NPP Searching / Regex docs and the forum’s Regular Expression FAQ. If you follow these guidelines, you’re much more likely to get helpful replies that solve your problem in the shortest number of tries.

  • Notepad++ stopped saving closed tabs

    8
    0 Votes
    8 Posts
    964 Views
    Igor HolewińskiI

    @PeterJones

    Actually C:\Program Files (x86)\NPP\Notepad Plus Plus\ folder was set to read-only mode. I have set it to modify type and deleted the file doLocalConf.xml. It required admin rights, which surpisingly I had at this point. I guess that my company’s policy regarding this is different in various cases, for example I cannot install any software of my own, but I am able to perform this action.
    Anyway, after running Notepad++ again it cleared my tab session, but after having a new one and shutting the application, it was still present there after restarting NPP. So, the issue was solved by the step 2 from your post.

    Thank you very much for your help, that was really annoying thing to deal with on everyday basis.

  • 0 Votes
    3 Posts
    347 Views
    Евгений КривоноговЕ

    @andrecool-68 Огромное спасибо!

  • How can i randomize/shuffle lines using notepad ++

    2
    0 Votes
    2 Posts
    6k Views
    Alan KilbornA

    @Rana-Jawad-0

    The script you linked to works for me.
    The script has no 32-bit/64-bit dependency, so it will work in either.
    With no further description than “doesn’t seem to work”, no one can really offer anything beyond saying “sorry to hear that”.

    It appears Notepad++ itself is getting a “shuffle lines” feature, see HERE and THERE. I suppose nothing is stopping you from grabbing an unreleased build that has the feature in it, and using that for your randomization needs.

  • Find my previous post?

    2
    0 Votes
    2 Posts
    162 Views
    Alan KilbornA

    @Peter-Gillespie

    Maybe you are talking about THIS ONE?

    I got techy and didn’t provide the debug info so it was closed.

    What is “techy”? Maybe a typo?

    5 different “Git” places to do different things

    Hmmm, well I guess there’s a few, but the main 2 are the one above that you (probably?) posted in, and the user-manual one…

    Also if acceptable could a mod perhaps reopen it.

    Typically those "mod"s / devs don’t hang out here.
    This is more of a “user-to-user” support community.

  • Lang.xml Fails to Import

    2
    0 Votes
    2 Posts
    290 Views
    EkopalypseE

    @AzBright1

    I assume because in the xml there are some chars which aren’t escaped correctly.

    change existing with

    <Keywords name="Operators1">* - % &amp; ( ) . / + &lt; = &gt; ;</Keywords>

    and the words <EG and >EG from Keywords1

    with

    &lt;EG &gt;EG

    and then it should import.

  • UDL: Is it possible to use asterisk (*) as a wildcard?

    2
    0 Votes
    2 Posts
    308 Views
    EkopalypseE

    @Piet2609

    Does using {trigger: work for you?

  • can i use autocomplete for module name with python?

    4
    0 Votes
    4 Posts
    913 Views
    TroshinDVT

    https://sourceforge.net/projects/npp-python/

    This python script will generate a custom python.xml file used by Notepad++ for auto-completion features when programming in python (function names, arguments, and descriptions), using your own set of imported modules.

  • 1 Votes
    3 Posts
    390 Views
    AMGeolA

    Sorry…Alan Kilborn
    I was new…repetitive never will happen again…thanks for reply and suggestions…but Np++ had many things option/functions as excel as well…
    stay blessed