• Help duplicate files

    Jul 10, 2023, 12:15 PM
    0 Votes
    30 Posts
    3k Views

    @guy038

    You are right: it was my copy-paste mistake. I’m sorry for that. But please notice the original screenshots are actually correct, in fact in my answer are removed the lines 1 and 3 and in fact in screenshots are present the lines 2 and 4 but not 1 and 3:

    b6a294af-5c71-41b9-8937-9bb06677e407-image.png

    Probably I might have screenshotted the right file but copy-pasted from the wrong one of those I was experimenting with. Sorry again.

    So I suppose that both methods work well after all.

    ;30-10000010-9;86;0;0;0;1;230178;17/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;230133;17/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770772;17/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;17/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770192;17/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770902;17/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770412;17/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;705;0;0;0;1;177141;17/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770171;17/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770546;17/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;10;0;0;0;1;347211;17/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;18/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;19/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;20/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;10;0;0;0;1;770192;21/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;10;0;0;0;1;770902;21/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;10;0;0;0;1;770546;21/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;10;0;0;0;1;770412;21/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;10;0;0;0;1;230178;21/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;21/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;10;0;0;0;1;230133;21/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;10;0;0;0;1;770711;21/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;22/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;23/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770902;24/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770412;24/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770546;24/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;230178;24/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770711;24/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770192;24/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;24/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;230133;24/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;25/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;26/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;27/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;28/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;10;0;0;0;1;170175;29/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;29/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;11175;0;0;0;1;347211;29/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;4066;0;0;0;1;121012;29/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;230133;30/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;230178;30/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770192;30/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770412;30/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770546;30/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770711;30/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;86;0;0;0;1;770902;30/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;30/05/2023 12:00;1;1;S72.3;1; ;30-10000010-9;9072;0;0;0;1;420302;31/05/2023 12:00;1;1;S72.3;1;
  • 0 Votes
    5 Posts
    973 Views

    That is EXACTLY what I was wanting. Thanks so much!

  • 1 Votes
    13 Posts
    2k Views

    @Mark-Olson
    Well, when I get to the point that functions won’t suffice, I’ll consider classes.

  • VTT - How to convert?

    Aug 1, 2023, 8:00 PM
    0 Votes
    4 Posts
    901 Views

    @BLU-APPLE

    Understand that Notepad++ will open any file, even if it’s a binary file (executable is one type of binary file). That’s not to say that Notepad++ is the most appropriate application to view every file with.

    Understanding what a file is using the file extension is just a first step. You should also try to figure out where the file came from as that can have a bearing on the content. As I said before the extension can often give you some information (Google search), but isn’t a 100% reliable means to identify the file type.

    Terry

  • 0 Votes
    3 Posts
    461 Views

    @Alan-Kilborn Very interesting take. Not everyone takes the time to detail their thought process as you have, which is clear and comprehensive. Rarely is feedback online this constructive. It is very appreciated. Thank you!

  • Macro shortcut breaks after update

    Jul 2, 2023, 6:46 AM
    0 Votes
    7 Posts
    884 Views

    @PeterJones said in Macro shortcut breaks after update:

    Good News

    I ran some experiments: the following macro works the same in v8.5.2 (the last version before the macro change) and v8.5.3 and v8.5.4.

    This means that the five predefined XML named entities all work, as do the two-hex-digit entities for CR and LF (and, not shown, a test of all the two-hex-digit entities for visible ASCII characters from through ~ all work as well). So this is going to make your job even simpler: to include a quote mark inside the sParam, you can encode it as sParam=""" or as sParam=""" . I wil be updating the FAQ shortly.

    Thanks Peter 🙂

  • 0 Votes
    1 Posts
    329 Views
    No one has replied
  • Skip Large files in search.

    Jul 31, 2023, 7:26 PM
    0 Votes
    3 Posts
    735 Views

    @Jim-Welch said in Skip Large files in search.:

    I want to skip ALL large files

    Whilst I somewhat agree with @Mark-Olson that it won’t be implemented I think that it’s a reasonable request to make. Firstly NPP is offering up a msg so the user can elect to NOT open a large file, that suggests the developer wants to offer an alternative just in case the user selected a big file without realising it. Could that msg also offer up a tick box to say “for all large files”?

    As there are other apps which already offer this option, that works 2 ways. Firstly another app which does offer the option, so use it. But then if another app does offer the option, maybe it has been a reasonable request after all (for that app’s developer), so maybe NPP’s developers should consider it also.

    In terms of actually getting your request before the developers nose, this isn’t the place. In our FAQ section, read the document called Feature Request or Bug Report which refers you to GitHub.

    If you do decide to load the request onto GitHub (checking that none already exist first) please do add another post here linking to that request.

    Terry

  • Search replace with line feed?

    Jul 31, 2023, 8:21 PM
    0 Votes
    2 Posts
    166 Views

    @Paul-Kruger
    Regular expressions on (could also use Extended (\n, \t, \0, \x...) instead)
    Find }
    Replace with: depends on the line-end character you want.

    for windows CRLF, replace } with }\r\n for macintosh CR, }\r for unix LF, }\n
  • 0 Votes
    5 Posts
    307 Views
  • 1 Votes
    4 Posts
    5k Views

    @Mohamed-Mohamed
    You’d need a | -separated list of all the characters’ names.

    For example, if the characters are named

    John Bob Mary Ellen Fred

    your regex becomes (?i)\\[(?:(John|Bob|Mary|Ellen|Fred)|([a-z]+))\\]
    and your replacement becomes [(?1\U${1}\E:(?2\u${2}))]
    Thus, you would convert

    [explosion] [crash] [john] yo dawg [Ellen] i herd u like regex [bob] so i made regex [boom] [pow] [mary] so u can regex [zap] [fred] with regex

    into

    [Explosion] [Crash] [JOHN] yo dawg [ELLEN] i herd u like regex [BOB] so i made regex [Boom] [Pow] [MARY] so u can regex [Zap] [FRED] with regex
  • colors seem washed out

    Apr 19, 2023, 9:07 PM
    0 Votes
    8 Posts
    853 Views

    @Glen-Walker said in colors seem washed out:

    @Alan-Kilborn You know, I saw that in the configurator but for some reason I thought it was the divider between the numbers and the actual text. I think because I had seen “Folder Margin Style” in the preferences just before looking for the color. Thanks again.

    Yes That’s right.

  • 0 Votes
    10 Posts
    2k Views

    @PeterJones said in I’m using Notepad++ 8.1.5. and Unable to install XML tool plugin in my system:

    there does not exist a version of Notepad++ that is greater than 8.2.1 but less than 8.3.

    In fairness to @Mark-Olson, the JSON schema is less than self-explanatory at first glance. The "old-versions-compatibility" field was an ad hoc addition that I argued strongly against when it was proposed.

    As I’ve said elsewhere, no distributed version of N++ can ever reliably tell what an “old” version did, unless you recompile it with a back-ported version of the JSON manifest. At most, it can provide developers with some extra documentation, but the confusion that prompted the above comment makes you wonder if even that would be overstating its usefulness.

  • Plugin package has mismatched

    Jul 28, 2023, 4:02 PM
    0 Votes
    1 Posts
    268 Views
    No one has replied
  • Goto Matching Brace for HTML/XML

    Jul 25, 2023, 2:06 AM
    2 Votes
    18 Posts
    2k Views

    @rdipardo said in Goto Matching Brace for HTML/XML:

    After sending SCI_ADDSELECTION, if you press the up or down arrow key (not left or right), both carets will remain until you press some other key or cancel the additional selection.

    I’ve tried it out and it behaves exactly how I anticipated. This is great - bravo!

    Cheers.

  • Cannot paste into replace field

    Dec 9, 2020, 9:22 PM
    0 Votes
    15 Posts
    2k Views

    @Richard-Kopeikin

    Multiline search and replace was a big issue when this thread was originally created; now it isn’t such a large problem, because of the advent of the “swap” widget/control:

    74b18883-a9ac-4243-b548-5f9bbbcb6c3a-image.png

    It’s ALWAYS been possible to get multiline data into Find what if you select it and press Ctrl+h (or Ctrl+f), so if you need multiline data in Replace with you can select it (the replacement text) first, do Ctrl+h on it, then Copy from Find to Replace, then select your true Find what text and invoke Ctrl+h again.

    Kinda klunky, but it works.

  • edit with notepad++

    Jul 26, 2023, 7:32 AM
    0 Votes
    2 Posts
    352 Views

    @theCENK ,

    It’s a known issue since at least v8.5.2. The developers are working on it, but it’s proved more elusive than they hoped.

  • Find and Replace

    Jul 21, 2023, 10:19 AM
    0 Votes
    8 Posts
    724 Views

    Thank you all for your responses.

    I also find it more logical, with my experience on computer technologies, to use ${1} rather than \1.

  • How to start a search automatically

    Nov 15, 2020, 8:46 AM
    1 Votes
    41 Posts
    6k Views

    @Lycan-Thrope
    You also learn to be a bit more polite.

  • 0 Votes
    3 Posts
    517 Views

    Vielen Dank. Das sieht sehr gut aus.