• Notepad++ has no real dark themes, change my mind

    4
    1 Votes
    4 Posts
    486 Views
    EkopalypseE

    @wd40bomber7

    have you seen this thread?
    I would appreciate if you could share your thoughts on this with us.

  • Message users directly

    2
    0 Votes
    2 Posts
    157 Views
    Alan KilbornA

    @treflip said in Message users directly:

    Can you message someone directly?

    I don’t think so.

    I saw a question about a jinja language but it was locked and I wanted to know if they ended up making one.

    What you can do is create a new thread/topic.
    Put a link to the old one in the new one.
    Use the @user syntax to reference the original poster. Like if their name is FelixTheCat you would put @FelixTheCat somewhere in the posting.
    If/when they log in again, the should get a notification and be able to find your thread quickly.

    I think that’s the best you can do/hope-for.

  • What is a selection of the "blank" font size supposed to do?

    9
    0 Votes
    9 Posts
    245 Views
    EkopalypseE

    @Alan-Kilborn said in [What is a selection of the "blank" font

    Perhaps this whole thread is pointless because I didn’t check the real documentation before asking. :-)

    Maybe but I have no idea whether this is documented at all :-D

  • "Update available" right after a fresh installation?!

    3
    0 Votes
    3 Posts
    180 Views
    lukelamettaL

    mille grazie! <3

  • How can I group files into sets

    6
    0 Votes
    6 Posts
    2k Views
    Michael PetersonM

    The explorer plugin and the favorites sidebar have proved to be very useful, thanks to both of you.

  • What is the cross-hatching for? (Style Configurator)

    24
    1 Votes
    24 Posts
    3k Views
    EkopalypseE

    @Alan-Kilborn

    fresh version = portable, downloaded from npp without any modifications and additional plugins
    regular version = my portable version - highly customized and with additional plugins

    Test was done with npp 7.8.6 (fresh) and 7.8.5 (regular).

  • Combining an ogg and mp3 file binarily

    3
    0 Votes
    3 Posts
    225 Views
    EkopalypseE

    Notepad++ is a text editor and doesn’t handle binary data well.
    In your case your real problem will be how to find a program which reads
    mp3 and ogg in the same time and plays its content.
    What comes into my mind first is using something like cubase with a mixing console.

  • Character (NUL NUL NUL)

    2
    0 Votes
    2 Posts
    185 Views
    Alan KilbornA

    @arslan-arshad

    What version of Notepad++ are you using when this happened?

  • Vertical red lines

    15
    0 Votes
    15 Posts
    4k Views
    Valeria VernonV

    @PeterJones That’s it! after pressing repeatedly on that button I finally obtained my vertical red lines! I thank all of you.

  • Search and Replace

    27
    0 Votes
    27 Posts
    2k Views
    Bert BarberB

    @PeterJones YOU ARE AWESOME - THANK YOU SO VERY MUCH!!!

  • Use for paid YOUTUBE Tutorials

    4
    1 Votes
    4 Posts
    179 Views
    EkopalypseE

    @Frank-Erlich

    Strictly speaking, by asking a lawyer whether the information/license provided by the author is compliant with your local laws.

  • How do i turn this off?

    2
    0 Votes
    2 Posts
    122 Views
    EkopalypseE

    Settings->Preferences->Auto-Completion and uncheck Function parameters hint on input

  • 0 Votes
    3 Posts
    474 Views
    Ohayo GosaimasO

    Oh, damn it, I didn’t even suspect it might simply be a font problem.

    Maybe because of my messy latin1 database import problem, in which it wasn’t a font issue. I feel silly now.

    Well, I’m off to experimenting with other fonts now.

    But… a pity, really, there’s no better than Inconsolata, in my biased eyes.

    Thank you Alan!

  • Notepad ++ v6.8.6 fails to open files from shared/network drives

    15
    0 Votes
    15 Posts
    24k Views
    Girish Kumar MG

    I use Notepad++ v7.8.5 on Ubuntu 18.04. I run Ubuntu and Windows in dual boot mode.

    I was not able to open text files in Windows (automatically mounted onto Ubuntu as /dev/sda3). Below is what I found to be useful.

    Open UbuntuSoftware > Find Notepad-Plus-Plus (WINE) > Click on it > Click on Permissions > Find “Read/Write files on removable storage devices” > turn it ON.

  • XML Split

    11
    0 Votes
    11 Posts
    6k Views
    Craig McFarlaneC

    @guy038 said in XML Split:

    gawk -F\x22 “/game name/ { n= $2 } ; { print > n”.xml" }"

    Mate. Just wanted to say. Top man. Thank you so much for A) taking the time to reply with a constructive and very helpful reply. and B) you learn something new every day and C) what you suggested worked like a dream. Had one issue as one of the name had a / in it. No dram worked around it.

    Thank you so much

  • Add line of text to beginning of multiple files

    24
    0 Votes
    24 Posts
    28k Views
    Alan KilbornA

    @PeterJones said in Add line of text to beginning of multiple files:

    inserting 6 lines at the beginning of 300 files has started down the slippery slope out of the realm of pure text-editor

    Agreed. Maybe that’s why I said it’s an “OK” task for Notepad++ and not “a great” task. :-)

    why create an object with the init, rather than just have a T11987() function instead?

    It’s just my new framework for scripts (I copy from some boilerplate when I make a new script). Obviously in this case it is fairly trivial, but in scripts that use callbacks a object-based approach has bigger benefits. I picked up on this by observing how @Ekopalypse does some of the more complicated scripts he’s presented. BTW, I picked up on using the topic/posting id in the name of a script/function/class from YOU. :-)

  • How can I get around NppExec's limitations?

    7
    0 Votes
    7 Posts
    386 Views
    dinkumoilD

    @Michael-Vincent

    Thank you for chiming in and providing a more detailed guidance for using my script!

    @Lowell-Justice

    As an addition to what @Michael-Vincent already said: To compile and execute C code you need a C compiler, of course. For simple and quick C test programs I use the Tiny C Compiler (TCC). Its homepage provides a link to the available downloads.

    For C++ you could use for example MinGW, the GCC port for Windows, you can download it from here. To get the latest version take the files mingw-w32-bin-i686-YYYYMMDD.7z for compiling 32 bit programs and mingw-w64-bin-x86_64-YYYYMMDD.7z for compiling 64 bit programs where YYYYMMDD is a placeholder for the release date of the version.

    To get documentation for GCC visit this site. There you will also find a link to the documentation of the GCC v9.3 command line options.

  • nppexec - sleep command causes printf output to cease

    4
    1 Votes
    4 Posts
    531 Views
    Lowell JusticeL

    @dinkumoil how could I make a script like this for c++?

  • working use-case for SCI_REPLACETARGETRE

    19
    1 Votes
    19 Posts
    2k Views
    dailD

    Disclaimer: I did not fully read every single line of this thread…but hopefully I can contribute a bit of helpful info.

    Accessing Scintilla on a background thread can be very problematic. There are Scintilla calls that have temporal coupling and since you cannot guarantee any two calls made from PythonScript (or outside of Notepad++) are executed without being interrupted by another thread, then weird things can happen. Even doing something simple like:

    editor.setTargetRange(0, 100) x = editor.getTargetText()

    could potentially give unexpected results. Notepad++ does its own work (search/replace, function list, auto completion, smart highlighting, URL highlighting, etc) which changes the target quite frequently.

  • 0 Votes
    5 Posts
    687 Views
    Alan KilbornA

    @sgtsixpack said in Select/mark all lines which contain a certain pattern and add the line above:

    I don’t know about “craft an expression”
    I also have no clue about your last reply.

    Sorry, I should have been more explicit.
    My comments were in regard to “Regular Expression” Search mode, which is typically what one is inferring when they ask “how can I manipulate data that is relative to some other data”.

    As you’ve probably discovered, you can, in Normal Search mode, bookmark the “line above” by making a selection that covers both lines, perhaps partially, and then pressing ctrl+f go get your text in the Find what box. You can then switch the Find window to the Mark tab and proceed with bookmarking.

    But if you do it that way, you aren’t truly doing “line above”, you’re doing “line of” and “line below”. :-)