• moving the beginning of a line to the end?

    3
    0 Votes
    3 Posts
    274 Views
    DXD

    @guy038 omg thank you

  • Next/Previous Tab shortcut without cycling

    3
    0 Votes
    3 Posts
    307 Views
    fallenrelicsF

    @alan-kilborn excellent…thank you.

  • Strange blank panels boxing in the editor

    4
    0 Votes
    4 Posts
    483 Views
    Neil SchipperN

    @robert-mark-bram Good. I also should have mentioned that (reporting back on your experience is a good idea – which you already realized – but also, when doing so) it’s helpful to include a dump of the Debug info, accessed off the ? item on the main menu.

  • Search & Replace regex

    3
    0 Votes
    3 Posts
    160 Views
    Yves DavignonY

    @alan-kilborn said in Search & Replace regex:

    (?-is)“(HAI…) (.*?)”

    Tx Alan

    Your solution works perfectly. Very very new at using notepad++ to modify data. Usually a database (access, foxpro, filemaker) or excel. But the supplier (Canada Post) gave me csv files, it is much simpler to keep them almost as they were supplied to me.

    Tx

    Yves

  • 0 Votes
    3 Posts
    382 Views
    dfs-D

    This is the closest we got to reproduction so far: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10926

  • icon menu are very small in 4K

    6
    0 Votes
    6 Posts
    1k Views
    PeterJonesP

    @alan-kilborn said in icon menu are very small in 4K:

    yet most often people don’t follow up by doing that.

    That’s why recently, I’ve been more likely to create a new issue if the original forum poster doesn’t (and if I cannot find an existing issue). I am not 100% on this (due to time and memory constraints), but I’m doing it more than I used to. I think, since the Forum is something of a “first line of defense” location for discussing whether an issue is really a problem or lack in Notepad++ or just a lack of understanding on the part of the user, that if we regulars think that it has merit, we should probably be more active in helping the OP “escalate” it to the request-tracking (for those with no inclination to create a github ID, and similar).

  • Help with find/replace python script

    3
    1 Votes
    3 Posts
    1k Views
    Gerrit SchutG

    @peterjones

    This works perfect! I was able to test this with a number of different documents and was able to change the maxCount to fit the number of changes needed.

    You’ve literally reduced my work from weeks down to hours!

    THANK YOU SO MUCH!!!

  • Context sensitive syntax help while editing

    4
    0 Votes
    4 Posts
    748 Views
    Alan KilbornA

    Terry,

    When you are using PythonScript, it has its own context-sensitive help. If your caret is on editor.xxx() or notepad.xxx() and you invoke it, you will get help on whatever function xxx is.

    Since you are considering some scripting (I think) for your own context-sensitive help application, you might want to consider keeping that functionality even if you integrate something else for non-PythonScript Python.

  • Update errors. Help needed to revert to last update.

    3
    0 Votes
    3 Posts
    275 Views
    Carl KuwaitC

    @peterjones Thank you so much. I just tried the Compare plugin you mentioned and it is working. The end tag plug in specifically finds corrupted (different from original) end tags. Because translating strings very often corrupts an end tag. This will crash the game. But I already have a work around to prevent this so it is not really needed anymore.

    I have done about 1000 hours of translating S.t.a.l.k.e.r. Russian mods for free for the English speaking fanbase. Notepad++ is a great help with this. Many more mods to do. Thank you so much for the quick reply.

  • Mark line before

    4
    0 Votes
    4 Posts
    313 Views
    guy038G

    Hello, @roger-st-onge, @alan-kilborn and All,

    Instead of the regex (?-is)"ip_prefix".*\R.*?"us-east-1"|(?-is)"ip_prefix".*\R.*?"ca-central-1", you could simplify by using that one :

    MARK (?-is)^\h*"ip_prefix".+\R\h*"region": "(?:us-east|ca-central)-1",\R

    Best Regards

    guy038

  • Find and Replace

    6
    0 Votes
    6 Posts
    338 Views
    PeterJonesP

    @peterjones said in Find and Replace:

    @neil-schipper ,

    That’s probably a good clarification

    issue #349 => PR #350

  • Help me Please ...

    5
    0 Votes
    5 Posts
    390 Views
    Alan KilbornA

    @neil-schipper

    Yes, I usually point that out when questions such as this come up. I must have been distracted and forgot to do it with my earlier reply here.

  • Regex or something for hosts lines sorting

    4
    0 Votes
    4 Posts
    248 Views
    Neil SchipperN

    @dultojorze and @guy038,

    Shame on me! My intention was that my reply be completely embedded in a literal text box!

    If you're confident every line starts with that exact 17 character sequence, we could start by matching that (for removal) with one of these: ^\Q0.0.0.0 0.0.0.0.\E ^.{17} From there, we want to match the trailing "word1.word2" on the right (you're confident that in every case exactly that form is what needs to be preserved, right? so zero cases like "hello.world.com", right?), so we'd want to match (and capture) that after skipping everything to the left just before the second last word: .*\<(\w+\.\w+) So altogether, and enforcing start & end of line boundaries, we can use this regex for Find ^.{17}.*\<(\w+\.\w+)$ and then we'll replace it either without the prefix \1 or we'll replace it with the prefix 0.0.0.0 \1 After that, you can use Remove Duplicate Lines, a command in the Line Op group under the Edit menu. And you should be good.

    Anyway, now there are two tested solutions.

  • Keeping the 2 first digits from an IP?

    8
    0 Votes
    8 Posts
    383 Views
    Roger St-OngeR

    Note this is for Azure Public IP List,
    not for AWS

  • 0 Votes
    7 Posts
    660 Views
    Lycan ThropeL

    @peterjones
    Thanks. Apparently I was paying attention and did it right since they work, and the nesting was the key for me. Don’t know why I didn’t mention it for the OP, but…it is determined by how the UDL is defined…so. :)

  • Regex help

    5
    1 Votes
    5 Posts
    634 Views
    PeterJonesP

    @guy038 , @Jose-Emilio-Osorio

    Stupid fence post. In my head while answering, I knew to add 1 to account for the 25::43 inclusive, but I obviously didn’t execute that +1 before typing up the reply. Sorry for the off-by-one error.

  • Some select fonts are not displayed when I set them under Default Style

    8
    0 Votes
    8 Posts
    2k Views
    P CooperP

    Am pleased to confirm that disabling Settings > Preferences > MISC > Use DirectWrite fixes all my issues. Many thanks for pointing it out! If it “breaks” some fonts entirely, I’ll certainly keep it turned off. Again, many thanks for your thorough involvement!

  • Project Panel API - How to Reload Workspace Programmatically?

    4
    0 Votes
    4 Posts
    505 Views
    PeterJonesP

    @stier-hahn ,

    I confirmed that Reload Workspace is not working in v8.3.3 back to v7.9.0, but it worked properly in v7.8.9. I have created a bug report at https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11551

  • 0 Votes
    5 Posts
    358 Views
    Neil SchipperN
    APPLES:01;PEARS:02;BANANAS:03;TOMATOES:11; <a few hundred lines of text snipped> // WARNING!! DO NOT EDIT THE FOLLOWING LINE. IF IT IS NOT AN EXACT MATCH, ROBOJUICE WILL EXPEL INTAKE BINS AND ENTER SELF-CLEANING MODE. Autorun=1;Selfclean=0
  • Where do you set tab spacing?

    3
    0 Votes
    3 Posts
    379 Views
    Arthur SchwarezA

    @peterjones thanks.