• cannot load c:\Users\xxx\AppData\Roaming\Notepad++\stylers.xml

    2
    0 Votes
    2 Posts
    479 Views
    PeterJonesP

    @Michal-Simek ,

    Did the AppData folder get properly created? Does user xxx have read/write permission to that folder and that file? Did you have another instance of Notepad++ open while trying to do the installation (in which case, maybe there was a lock on the file while the installer tried to install it).

    https://community.notepad-plus-plus.org/topic/15739/faq-desk-request-for-help-without-sufficient-information-to-help-you

  • Font size of file tab

    2
    0 Votes
    2 Posts
    448 Views
    PeterJonesP

    @Mike-McCutcheon ,

    Sorry. The tab bar file names do not have a font-size setting controllable by Notepad++. As far as I know, it uses the same font size as the menu bar does by default, which (I believe) is defined by Windows.

    The Windows Settings “Ease of Access > Display” settings can affect that… but that makes all text in Windows bigger, not just the menu bar and tab bar fonts.

  • View In Edge - Not converting space in file path to %20

    2
    0 Votes
    2 Posts
    343 Views
    Alan KilbornA

    It is probably a Notepad++ thing.
    If I try a similar experiment on a file that has no space in its path, I get the file open in Edge.
    If I put a single space in the path of the file (by renaming it in N++), Edge tells me:

    13caa8dd-697a-458d-8fb0-f9c2612c6bae-image.png

  • Merge 2 Files - Lines Containing Same

    12
    0 Votes
    12 Posts
    885 Views
    Terry RT

    @Shesh-Nioice said in Merge 2 Files - Lines Containing Same:

    I should be start learning regular expressions very interesting and helpful.

    To learn about regexes (regular expressions) start with our FAQ section. There are a number of helpful links to sites (I see you already found one, regex101.com). There is the manual for NPP which is on the NPP homepage. Other references are also linked within the FAQ posts.

    I was where you are now not too long ago, but I too found the regulars here were very helpful to me and now I pass that forward. As always we strive not only to help users, but to guide them so they can gain more knowledge. Regexes are brilliant but don’t forget to start small at first as it can be quite daunting to attempt to read some of the more complex regexes that are provided on this forum. The beauty of regex101.com is that it does explain what the regex is doing so that will give you some insight.

    Cheers
    Terry

  • Can't save an Open File

    8
    0 Votes
    8 Posts
    1k Views
    Alan KilbornA

    @Email-Subjekt said in Can't save an Open File:

    The reason why I never installed the newest version is I kept all my files unsaved in notepad ++

    And no independent backups, right?
    Bad ideas, these.

  • Find Replace Time Stamps?

    2
    0 Votes
    2 Posts
    2k Views
    Terry RT

    @Sean-Bliss said in Find Replace Time Stamps?:

    Is there a way to find and replace all these time stamps? “10:22” “10:24” “05:19”

    I presume we are talking about a text file? As for looking for specific types of character strings regular expressions are the way to go.

    However you haven’t really explained enough nor provided enough of examples in order for us to really help.

    Can you provide a list of perhaps 4-10 different lines showing exactly how they look in the file (starting the line or midway through, whole line etc). When posting the examples please insert them, then highlight all of them and hit the </> button you see immediately above the posting window. This prevents the forum from potentially mangling your examples (it attempts to format and some characters have special meanings).

    To start you off though, to find the time stamps you would likely use something like
    \d\d:\d\d
    each \d is a number position. In fact using that and marking all the lines you will have every time stamp line marked and could then remove marked lines. As what I provided is a regular expression any search or mark function would need the search mode set to “regular expression”.

    But if at all uncertain, please do provide “real” examples in the method I outlined, this will put a black box around them when posted. Also include what you hope to do once selected, do you want to replace them or just delete them?

    Thanks
    Terry

  • Can I have multiple ‘Search Engine’ in the context menu?

    3
    0 Votes
    3 Posts
    382 Views
    Arjen van den BroeckeA

    It took me some time to figure out what you did there (I am new to NPP …) - but yes! that is exactly what I was looking for!
    Thank you so much for your kind help.

  • Want to copy all from specific character to end of line of each line.

    6
    0 Votes
    6 Posts
    6k Views
    Alan KilbornA

    @M-Andre-Z-Eckenrode said in Want to copy all from specific character to end of line of each line.:

    very handy Python script…which allows you to copy all marked text, and requires installing the Python Script plugin

    It appears that this ability might be “going native”, meaning no longer a need for a script to do it.
    See https://github.com/notepad-plus-plus/notepad-plus-plus/pull/8867
    It isn’t accepting in to the actual codebase yet as of this writing, so if you’d like to see that feature with “inside Notepad++” support, maybe comment at that site.
    For me, I’ve had that script set up for a long time, so it makes no difference to me.

  • User configurations files?

    2
    0 Votes
    2 Posts
    333 Views
    PeterJonesP

    @I-neuw ,

    As it says in https://npp-user-manual.org/docs/config-files/

    The underlying XML files are all found in %AppData%\notepad++\ (or, for zip-based local installations, in the Notepad++ executable directory) unless otherwise noted.

  • What is "Selected Line" in Style Configurator for "Search result"

    3
    0 Votes
    3 Posts
    360 Views
    Alan KilbornA

    @PeterJones

    Actually, NOPE!, I sure didn’t.
    Thanks for the reminder.
    I actually think I’m pretty good at remembering previous questions/answers, but not this time.

  • Dancing text selection

    2
    0 Votes
    2 Posts
    363 Views
    PeterJonesP

    @Joseph-McCay ,

    There are some known issues with High DPI. I don’t know if this “dancing text selection” is one of them. (I don’t have high DPI, so cannot test)

    Also, you might want to see if one of your plugins is causing the issue: run with the -noPlugin command line argument and see if the problem persists: if it goes away, it was one of your plugins. You can then start trying plugins one at a time to see which causes it to come back (if you rename the folders in <installdir>/plugins/ and re-run Notepad++, any plugin whose folder name was changed will not be loaded; so you could rename them all, then one-at-a-time name them correctly again, until the problem comes back.)

    Or you may have to wait for a user with High DPI to chime in, if they have seen this.

    “feature” (maybe to mess with intoxicated people)?

    The developer has an odd sense of humor, but I doubt he adds “features” to intentionally mess with people (unless you consider the ghost-typing and easter-egg options to be “messing with people”). :-)

  • Replace. How to solve it?

    3
    0 Votes
    3 Posts
    1k Views
    Olivier ThomasO

    Thanks.

  • 0 Votes
    4 Posts
    695 Views
    guy038G

    Hello, @jeff-brewer, @peterjones, @olivier-thomas and All,

    Here is my solution :

    SEARCH Account Number(:\h*.*[\l\u])|-

    REPLACE ?1Description\1

    Note : When a dash is matched, the group 1 does not exist. As the conditional replacement ?1Description\1 does not contain any else part, any dash character is then deleted !

    Best Regards,

    guy038

  • Find and Replace based on non-numeric entry

    4
    0 Votes
    4 Posts
    938 Views
    guy038G

    Hi, @jeff-brewer, @peterjones and All,

    Just a shorter variant S/R :

    SEARCH Account Number(?=:\h*.*[\l\u])

    REPLACE Description

    Cheers,

    guy038

  • Always work in OEM-US

    5
    0 Votes
    5 Posts
    1k Views
    dave robinsonD

    @Alan-Kilborn thanks

  • Alternative for Notepad++ on Mac

    36
    0 Votes
    36 Posts
    1m Views
    Stone PUBGS

    this is amazing i m use many time and it’s help me a lot many people AR using that and it’s give much benefit there are many people ate searching for and download it free notepad++ is free total

  • Display a Binary file in Column format

    8
    0 Votes
    8 Posts
    15k Views
    KnIfERK

    I implemented step#1 : Display a Binary file.

    The Next Goal : Column Mode

    The binary mode will fix all ‘incorrect data’ issues of the HexEditor Plugin

  • Find window font size

    23
    3 Votes
    23 Posts
    8k Views
    Jon ShawJ

    @S-Itzik THIS IS AWESOME. Thank you so much for sharing! So much time wasted on errors with small text.

  • Plugins installed but MIA

    4
    0 Votes
    4 Posts
    428 Views
    M Andre Z EckenrodeM

    Got it straightened out. Had to reinstall. Thanks.

  • langs.xml: Distinguish between range and 'range (apostrophe!)

    3
    0 Votes
    3 Posts
    376 Views
    el-coder-sbE

    @PeterJones Thanks a lot for that very good information!
    I´ll see how to deal with this.