• How to keep NPP from opening previous documents when reopening it?

    2
    0 Votes
    2 Posts
    216 Views
    Alan KilbornA

    @алина-джос

    Make sure Remember current session for next launch is unticked (the opposite of what I show it set at):

    adbdda90-f5ef-48ed-a8c7-d4575a638c04-image.png

  • 0 Votes
    2 Posts
    309 Views
    Alan KilbornA

    @evidence-bot

    You would want to write a program to do this (don’t know if you are capable of this or not).

    Non-programming techniques are problematic because there is really no way to verify sequential numbers on successive lines.

    It could be done if you didn’t need this verification. In this case one presumes that what comes after the bottom line on the left is something with a different pattern than the four lines shown. Thus the 42 in the first line could be “grabbed” and the 45 in the fourth line could be grabbed, and the single line could be constructed and replace the set of 4 lines.

    Only you know your data, and you’d need a better problem statement for better help.

  • Weird bold lines for certain lines

    9
    0 Votes
    9 Posts
    431 Views
    Loh TiL

    I tested my monitor with tv box. I can also see the patterns.

    It is my monitor fault.
    Case closed.

  • random orange arrows and "CRLF" all over. how to remove?

    2
    0 Votes
    2 Posts
    4k Views
    Terry RT

    @macky-cabangon said in random orange arrows and "CRLF" all over. how to remove?:

    I do not know how to remove them. Any ideas?

    Firstly, they aren’t random, they exist to represent characters you do not normally see. The arrows represent tabs and the CR & LF represent end of line markers. More detail is in the online manual here. You also have the space character represented by an orange dot, maybe you did not notice that?

    They don’t display without being requested to. Maybe you did not intend to select the Show All Characters, but I think that is what you have done. You can easily turn that option off again.

    Terry

  • moving the beginning of a line to the end?

    3
    0 Votes
    3 Posts
    309 Views
    DXD

    @guy038 omg thank you

  • Next/Previous Tab shortcut without cycling

    3
    0 Votes
    3 Posts
    388 Views
    fallenrelicsF

    @alan-kilborn excellent…thank you.

  • Strange blank panels boxing in the editor

    4
    0 Votes
    4 Posts
    552 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
    194 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
    690 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
    2k 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
    1k 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
    321 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
    365 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
    425 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
    544 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
    302 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
    432 Views
    Roger St-OngeR

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

  • 0 Votes
    7 Posts
    810 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
    1k 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.