• minimized window closes Npp, why ? ( is a bug or malware of OS ? )

    3
    0 Votes
    3 Posts
    246 Views
    Speedy ConsolasS

    Sorry my invalid feedback, I am found the option that the editor is being minimized to system tray instead of close. i.e. no problems on minimizing ! Opened files will NOT closed in the editor minimized to the taskbar.

  • Replacing/Translating multi string values to other international language

    7
    2 Votes
    7 Posts
    736 Views
    Alan KilbornA

    @Faseeh-Shah said in Replacing/Translating multi string values to other international language:

    Luckily I found solution, a script.

    If that’s what you were looking for, you shouldn’t have asked your original question in a Notepad++ forum, as it is OFF-TOPIC.

    Here we only deal with what Notepad++ can do for you, and what you can do with it.

    In other words, your question must be related to Notepad++ in some way. Your question was NOT.

  • regex, lookbehind error

    5
    1 Votes
    5 Posts
    743 Views
    E

    @dinkumoil Thank you, actually I’m studying regex with 'Mastering Regex by Jeffrey Friedl and maybe I didn’t consider the differences on those engines.

  • Doing a line of 10 words and repeat

    3
    2 Votes
    3 Posts
    272 Views
    Dr HampusD

    @Alan-Kilborn

    That solved the problem. Thank you so much! :)

  • 0 Votes
    15 Posts
    2k Views
    Brian Crosby 0B

    @PeterJones

    Yeah, I finally was able to take some time and use the markup tutorial. The </> button was adding extra triple tick marks, then giving the “hint” that its for code; I don’t consider data code…

    Not sure who’s comment mentioned my use of REGEX101, but mostly I am using it as a way to break down the components of the REGEX to understand what each piece is doing. Something I tried to do also with my explanation of what I “think” each of my expressions was doing.

    Having someone offer a potential solution is awesome and I appreciate anyone that takes the time to help people, but often there is very little of the “why/what” breakdown that leaves me still scratching my head. Your breakdown on what was going where and why is what provided my mental breakthrough to grasp what was being offered.

  • Large File being truncated on Save!

    12
    0 Votes
    12 Posts
    3k Views
    ludamo 0L

    I just tried editing (adding 3 letters) the CSV file now and it worked OK with Notepad++ version 8.4.9. Initial file size was 9,138,779,797 bytes and after editing 9,138,779,800 bytes. It took about 2 minutes to load and then 2 minutes to save on my NUC 5i5.

  • Printer Configuration Issue

    3
    0 Votes
    3 Posts
    795 Views
    James A WilsonJ

    Thanks… That worked with no problem.

  • Location of Macros

    3
    0 Votes
    3 Posts
    5k Views
    James A WilsonJ

    Terry… Thanks ever so much. It worked perfectly!!!

  • RE: UDL, Styler is not related to the Group below

    4
    0 Votes
    4 Posts
    271 Views
    PeterJonesP

    FYI,

    Over this weekend, I spent some time and converted all the remaining UDL1-style UDL config files in the User Defined Languages Collection to equivalent UDL2.1 config files, making sure that all the elements were mapped to the correct UDL2.1 element. I have also added validation to the Collection so that no more old-style UDL definitions will be accepted into the Collection.

    So it should work better when people download some of those older UDLs now.

  • margin on the left

    11
    0 Votes
    11 Posts
    1k Views
    kracovwolfK

    @Terry-R found it. it was the line number margin

  • Bookmark, copy spesific lines in notpad++

    11
    0 Votes
    11 Posts
    1k Views
    akram dunaA

    @guy038
    Thanks a lot your the best I solved my problem with our help, and sorry for my bad description its just about a language issue :D

  • Please add GBK encoding!!!

    2
    0 Votes
    2 Posts
    386 Views
    Alan KilbornA

    @vochant

    Not sure what that is, but probably no new encoding support will be added to Notepad++ moving forward; the world is unicode, for good or bad.

  • Sort by line possible this way?

    4
    0 Votes
    4 Posts
    667 Views
    Alan KilbornA

    @Peter-Maasakkers

    Contrary to the title, this has nothing to do with sorting.

  • Notepad++ not opening from Windows Search Results

    4
    0 Votes
    4 Posts
    950 Views
    PeterJonesP

    @Craig-Patno said in Notepad++ not opening from Windows Search Results:

    This just started happening 2 days ago and I have been running Win11+NP++ for months now.

    If you haven’t recently updated Notepad++, it means that either you changed something or Windows 11 changed something. For example, maybe Windows 11 updated, and that update messed something up.

    You might want to find a conglomeration of super users of their computer, and ask them “when I double-click a file from Windows Explorer, it properly runs it using the default application, but when I use the Windows 11 search results and run the file from there, it opens the file in notepad.exe instead of the default application”. Make sure you supply them with your full Windows version (don’t just say “Windows 11”) The answer to that question should be the same whether or not your default application is Notepad++.

  • can notepad ++ read this language?

    7
    0 Votes
    7 Posts
    1k Views
    Derek BrownD

    @WillyTheCatz You can modify the file with a hex editor if you can find the location of the values you wish to modify. But you’ll need a debugger to do that, and even then it probably won’t be easy. If you have no experience using a debugger, I would say this task is probably beyond your abilities at the moment.

    In any case, Notepad++ is not the right tool for this job.

  • How to add or install pork2sausage to Notepad++

    4
    0 Votes
    4 Posts
    575 Views
    dinkumoilD

    @PeterJones said in How to add or install pork2sausage to Notepad++:

    install it from the zipfile you downloaded

    I guess this will not work because the TO wrote

    a link that allowed me to download a zip, “pork2sausage-master.zip”

    Thus, the downloaded file likely is a ZIP file containing the whole GitHub repository with all source code files which is not suitable for installing the plugin. For this purpose @Marc-Hankin you should click to the red marked link at the project’s GitHub site

    a097cfbc-5c2f-490f-8494-640e9007ac95-grafik.png

    which will open the release section of the project’s site. There you will see the following:

    538744eb-4f36-4610-84de-a229edb3e4b9-grafik.png

    The first 3 files in that list are installable following the “Install plugin manually” section of the Notepad++ user manual. You should download the one that matches the CPU architecture of your computer and the bitness of your Windows operating system:

    arm64 -> CPU architecture ARM, operating system bitness doesn’t matter (no different bitnesses), choose this if you run a Microsoft Surface device x64 -> CPU architecture Intel x86 compatible with AMD64 extension, operating system bitness 64 bit, choose this if you run a PC with a 64 bit version of Windows no postfix -> CPU architecture Intel x86 compatible with or without AMD64 extension, operating system bitness 32 bit, choose this if you run a PC with a 32 bit version of Windows

    To learn how to figure out the bitness of your Windows installation please search the internet with your prefered search engine.

  • How to rearrange data in ABC:XYZ Format.

    5
    0 Votes
    5 Posts
    393 Views
    Lycan ThropeL

    @Alan-Kilborn ,
    Yeah, and it sounds like someone just got their homework done, or the ChatGPT AI is at work building it’s data banks. :)

  • Need help defining UDL for log files

    2
    0 Votes
    2 Posts
    389 Views
    PeterJonesP

    @aswinfrancis91 ,

    UDL is primarily for keyword-based languages. Logfiles are much more “positional”-based (or, at least, pattern-based).

    The plugin CSVLint adds a lexer plugin (so it behaves more like a builtin lexer than a UDL). I think it might be able to specify alternate characters instead of comma , for the separator (but I don’t have the plugin installed right now, so cannot check for you).

    Alternately, there’s the AnalysePlugin, which allows you to set up multiple regex to highlight various patterns; it’s primary use is to apply multiple highlights to log files, so it’s probably pretty close to what you want.

    I would like to have json language style applied to properties section too

    Yeah, UDL cannot inherit from a builtin lexer, so wouldn’t be able to do that. And the CSVLint probably couldn’t even approximate that. OTOH, the AnalysePlugin, with its regex, would probably be able to get something reasonable.

  • Sperate Columns From Single String

    10
    1 Votes
    10 Posts
    476 Views
    Alan KilbornA

    @dinkumoil said in Sperate Columns From Single String:

    Hmm, you are right. Don’t know how, but in some way I had in mind that it is required. Anyway, good to know that it is not.

    It really IS hard to keep all this regular expression syntax straight. :-(

    I wasn’t pointing it out to pick apart your regular expression, though.

    People learn new things from what they see here, even if it isn’t their question.
    \| works…but if people can know they can write replacement expressions in Notepad++ involving | without a bunch of leaning toothpicks, then so much the better.

  • Xml file, remove table tags according the column id?

    17
    0 Votes
    17 Posts
    840 Views
    Nick KoliosN

    @guy038
    You’re a real savior.
    Thank you so much for your help, i really appreciate it.
    Thank you both