• How to replace all content from XML tag with blank in notepad++?

    6
    0 Votes
    6 Posts
    2k Views
    astrosofistaA

    @PeterJones said in How to replace all content from XML tag with blank in notepad++?:

    Nitpick: it’s the . operator that is affected by (?-s), not the *, since the s flag is “dot matches newline”. But . wasn’t used in your expression, either, so the flag-clearing is still useless. :-)

    Yep, my bad, I stated a wrong reason, thank you for notice it :)

    Well, not completely useless. As we help people in the forums, always including either (?-s) or (?s) will ensure we never have to care what the status of their checkbox is, so having one of the two in our default answer-regex is a good idea. ;-)

    Agree, learned that in this forum, so the (?-s) modifier is my default setup.

    Cheers

  • Windows exclamation macro beeps.. at what ?

    6
    0 Votes
    6 Posts
    415 Views
    guy038G

    Hello, @terry-gaff-0 and All,

    I second what Alan said :

    This sounds like a potentially dangerous situation.
    Well, for your data, not for you.

    Indeed, you must define what to do, when any of your searches is unsuccessful. If you’re using the regular expression search mode, it usually means that some templates, in your data, are not taken in account by the overall regex search expression !

    Best regards,

    guy038

  • Negative number highlighting

    2
    0 Votes
    2 Posts
    332 Views
    EkopalypseE

    @Chris-Betts

    If, for example, I define ( and ) as operators I do get the following

    6aa6ec65-567c-49bf-8d9f-8e74de8492eb-image.png

    How did you define the brackets, as delimiters and if so have you allowed nesting with numbers?

  • Autocomplete function describe hint doesn't show up

    5
    0 Votes
    5 Posts
    383 Views
    Mr.KleinerM

    @Michael-Vincent

    Oh, yeah, I see. Thanks ! I thought it’s gonna add the tip to the word itself. Like when you type “abs” you get a tip…

    Is it possible to do so though ?

    And is it possible to start my function with " ?

  • FunctionList + Bookmarks = ???

    9
    0 Votes
    9 Posts
    2k Views
    whatsinanameW

    The good news: thanks to the screenshot, now I know that it should be possible (somehow).
    Will contact the author of the plugin for details.

    Thank you both!

  • beginner: run and compile c++ program!

    2
    0 Votes
    2 Posts
    616 Views
    EkopalypseE

    @Nivrutti-Pawar

    g++ seems to have an issue here g++.exe: error: ô1prg.cppö: No such file or directory

    Where does ô and ö come from? Are you using the correct "
    and not the “? Are you running with an unusual OS setup?

    cmd /c "$(CURRENT_DIRECTORY)\a.exe" this will most probably fail
    as I would expect 1prg.exe to be created.

  • Notepad++ Text Creation Question

    3
    0 Votes
    3 Posts
    244 Views
    Michael VincentM

    @Cricket said in Notepad++ Text Creation Question:

    😍😍😍 Happy Days Everyone! 😍😍😍

    I “works” for me. They aren’t colorized, but they do show up as emoticons. You probably need to select your encoding. For me, a new document, “UTF-8” encoding from the menu “Encoding” and then copying and pasting your emoticons shows:

    9c2b4650-48bc-41b7-bf34-2fb2df9da854-image.png

    Cheers.

  • Temporary change of tab

    7
    0 Votes
    7 Posts
    2k Views
    EkopalypseE

    @Alan-Kilborn said in Temporary change of tab:

    In Notepad++ Pythonscript Python, since it doesn’t end until Notepad++ is closed, things from previously run scripts “hang around”.

    I knew there is an idea behind

    my newer way of doing things is by putting most everything into a “class”

    Yes, also my preferred way to keep the scope of the script tight.

    So far it seems to be working okay for me

    and this is what counts.

  • Preview available methods when coding in ZenScript

    8
    0 Votes
    8 Posts
    519 Views
    EkopalypseE

    @MAPJe71

    you could be right, we’ll see.

  • 0 Votes
    3 Posts
    225 Views
    Márk BirtalanM

    Thx for the help, really appreciate it :D

  • help just black screen in google play app

    3
    0 Votes
    3 Posts
    958 Views
    Ron EdmondsR

    OH no, he he i feel such a fool now, i always knew it was, but i had a mental block, of course it is you just reminded me DOH!!! THANK YOU SO MUCH. Put it down to the stroke i have down the RH side. thanx again

  • Auto editor

    2
    0 Votes
    2 Posts
    218 Views
    EkopalypseE

    @AlleXuSS-Gr

    No, this is nothing what editors normally do and I haven’t seen
    such a feature in other editors but who knows … maybe there is
    one out there which has this ability.

  • Delete all

    10
    0 Votes
    10 Posts
    3k Views
    guy038G

    Hi, @alan-kilborn and All,

    So, in order to take in account possible translations of the first line of a Find result search, I change my previous regex from :

    SEARCH (?-is)^(Search)\x20"|^(?!\x20\x20\u:\\).+\R|\x20\x20(.+)\x20\(\d+\x20hits?\)$

    To :

    SEARCH (?-is)^(\H.+)|^(?!\x20\x20\u:\\).+\R|^\x20\x20(.+)\x20\(\d+\x20.+\)$

    And I updated my previous post, of course !

    BR

    guy038

  • Help me find text from <div class HTML thank you all

    2
    0 Votes
    2 Posts
    308 Views
    EkopalypseE

    @Minh-Rau

    I’m not sure I understand what you try to achieve.
    What means take all text in this case?
    Can you explain in more detail what exactly you want to do?

  • Cannot delete Notepad++

    2
    0 Votes
    2 Posts
    513 Views
    EkopalypseE

    @Hennie-Marais

    normally files under c:\Progam files\ are installed applications,
    so the normal way would be to uninstall those instead of trying
    to delete them.
    By the way, did you install the official npp or the one provided
    by the windows store?

  • Why is np++ accessing counters.dat?

    6
    0 Votes
    6 Posts
    492 Views
    R

    @PeterJones Thanks for the suggestions: I didn’t realize the bit about -noPlugin. I ended up installing the newest version of np++ first, and then realizing the reason I hadn’t been using the x64 is because there are still plugins that don’t work with it, so installed latest x86 and went through each plugin.

    Not sure what to make about the file paths information, since I’m only interested in why notepad++ was opening this specific file, in IE’s temporary directory…

    Anyway, for anyone else who is (unreasonably?) paranoid, the culprit is “JSTool”. And, rather marvelously, it’s actually got an option that seems to control this, “Disable new version checking” (which, of course, makes sense why it’s accessing some temp internet dir file).

    I really appreciate the help (and pointers; plugins completed skipped my mind here). This is a trivial thing, but I’m actually pretty skittish about files being open I didn’t explicitly expect. (And as an aside, tend not to let things write to my SSD; on windows, everything’s reparse pointed elsewhere).

    tl;dr np++ is well behaved and lovely, JSTools hits counters.dat for its updates and has facility to disable the behavior. ;) TGIF!

    Edit: Is it possible to change this thread topic to “SOLVED” or the like? Feeling like such a newb…

  • CTLR+SHIFT+STAR/END shortcut isn't working

    2
    0 Votes
    2 Posts
    184 Views
    EkopalypseE

    @Anass-Chawki

    Check with the shortcut mapper window (Settings->Shortcut Mapper)
    to see if these shortcuts are still set or whether another app
    has “stolen” the shortcuts.

    639be4c0-bda3-4e5a-9c26-827a6e598ef3-image.png

  • SAVE all favorites?

    17
    0 Votes
    17 Posts
    1k Views
    Alan KilbornA

    @David-Bennett said in SAVE all favorites?:

    a N++ native solution exists it’s much better still

    Yes, I don’t think you’ll get anyone disagreeing with that.

  • Style Configuration

    2
    0 Votes
    2 Posts
    331 Views
    PeterJonesP

    @sebastian-alvarez-brandon ,

    The themes go in %AppData%\Notepad++\themes for normal installations, or in the themes subfolder of your cloud folder if you’ve set Settings > Preferences > Cloud, or in the themes subfolder below your notepad++.exe’s folder in a portable/zip edition.

    If you need help determining which setup you have, showing us the contents of the ? menu’s Debug Info (copy to clipboard and paste here), as well as the cloud preferences tab (Alt+PrintScreen and paste the image into your reply)

    If the installer didn’t have permission to write the themes to the appropriate location, or if you installed the “minimalist” zip edition (which doesn’t contain the fancy stuff), then those files might not be there. If they aren’t there, see if you can manually put them in that correct location. If they aren’t readable (or writeable) due to security policy, then there’s not much we can do for you, and you’ll have to talk with your I.T.

  • is there a color picker for the 64bit version 7.8.6?

    12
    1 Votes
    12 Posts
    7k Views
    guy038G

    Hi, @michael-vincent and All,

    Michael, don’t bother about it ! So, I first thought about using the old v2.0.0.0 version, where this displaying bug does not occur !

    Finally, after a few tries and a little bit of practice, despite this bug, it is still possible to select a color, with the color picker feature, using your last enhanced v2.1.0.2 version !

    I just need to move the mouse carefully, to prevent any premature soiling of the screen, in the desired area ;-))

    Cheers,

    guy038