• Ruby Blue style and syntax highlighting

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    PeterJonesP

    @Meta-Chuh said:

    you can open up both files in notepad++ to copy and customise all required missing parts from stylers.xml to Ruby Blue.xml.

    @megamanzteam : For the changes that @Meta-Chuh recommended to take effect, you have to save the Ruby Blue.xml, then exit all instances of Notepad++ and reload Notepad++. You might find it easier, after you’ve copied the JSON section from stylers.xml into Ruby Blue.xml to immediately save-and-exit. Once you’re back into Notepad++, Settings > Style Configurator should list JSON again, and you can tweak the JSON colors to your heart’s content.

  • Keys/Buttons

    Locked
    2
    0 Votes
    2 Posts
    450 Views
    Alan KilbornA

    @Michał-Gumiński

    Be assured that all your answers may be found here.

  • floppy disc icon to the same colour

    Locked
    4
    0 Votes
    4 Posts
    950 Views
    Alan KilbornA

    @Geoffrey-Taylor

    I don’t believe that plugin lends a dynamic nature to the toolbar icons.

  • Updated and lost all...

    17
    0 Votes
    17 Posts
    3k Views
    PeterJonesP

    @Michael4141 said:

    isn’t it reasonable to take it that the program actually makes the backup it confirms it is supposed to be making

    Did you read my description of what goes on under each of the different options? I made that description based on experiments I performed in the midst of writing up yesterday’s post. Those options behave exactly as I described when I used them as described. As I said before, Periodic Backups is the “Notepad++ will save a copy of the file in a temporary location every # seconds, until such time as SAVE is hit, at which point, its job is done so it can be deleted”. Backup on save is the “Notepad++ will save an extra copy of your file, either in the same directory as your file (simple), or a subdirectory with multiple copies (verbose), or in a custom backup directory for either simple or verbose”.

    If you use those settings, and they behave as I described, then I don’t understand why you are still complaining. If you use those settings, and they don’t behave as I described, then you are ignoring me (*), and / or otherwise not providing the information requested to help us help you. If you don’t want help, that’s fine; but just admit that, and move into the Boycott Notepad++ section of the forum if you want to continue complaining. If you do want help, then we are quite happy to help you: I wouldn’t have spent so much time on that response if I didn’t want to help. If you do want help, then provide the description of what’s not working for you – exactly what the behavior is that you see, and exactly what settings you have when you see that behavior.

    *: To quote what I said earlier:

    Do your experiments match this? If not, please give us the ?-menu’s Debug Info > Copy debug info into clipboard, as well as giving us screenshots of the config boxes, and appropriate directories listings.

    You also said,

    BTW, another program I use is Libre Office and it actually does make a backup of the file currently open, when it is supposed to. So…

    As far as I can tell, Notepad++ is behaving exactly as I expect. If I turn on periodic backup, it keeps a temporary backup of any file I haven’t saved yet, in the %appdata%\notepad++\backup. If I turn on backup-on-save, every time I hit save, it updates the backup file in either the same folder as the original file, in the NppBackup subfolder of that folder, or in the directory I specify. If that’s not what it’s doing for you, describe your exact settings, and what files you see in those locations at the various points in time (while there are files that are edited but not saved, and immediately after hitting save)

    Maybe I just expect too much. {sigh}

    You haven’t told us how it is not behaving according to your expectations.

    But maybe I expect to much of people asking for help. {sigh}

  • Inconsistent tab behavior when using replace by space

    Locked
    12
    0 Votes
    12 Posts
    2k Views
    PeterJonesP

    @John-Booth said:

    More details in case someone else should run into this down the road:

    Thanks for coming back with that. It will hopefully help future readers of this thread.

    Glad it’s working for you now!

  • Trouble Opening XML in Internet Explorer

    Locked
    2
    0 Votes
    2 Posts
    449 Views
  • Search for special characters

    Locked
    2
    0 Votes
    2 Posts
    867 Views
    Alan KilbornA

    @Peter-Blacky

    Open your batch file into a Notepad++ tab.

    Press ctrl+f to open the Find window.

    Put \ in the Find what box.

    Untick the Match whole word only option box.

    Select Normal for the Search mode.

    Press the Find Next button.

  • That mysterious ESCAPE box - UDL

    Locked
    2
    1 Votes
    2 Posts
    874 Views
    Meta ChuhM

    @Randy-DiCotti

    it defines escape characters, which disable a delimiter

    for example if you have " as start and end, but you want to write it in the middle without breaking the highlighting, you can “escape” this character or sequence with another preceeding character, usually \.

    more info: https://udl20.weebly.com/delimiters.html

  • How do I find, multiply and replace a number in notepad++?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    IVIemoriesI

    Darn, that’s a bit annoying; but at least I know throwing different brackets at the replace line won’t do anything now.

    Appreciate the help!

  • Help to replace a string

    Locked
    2
    0 Votes
    2 Posts
    468 Views
    remizikR

    I think I found a solution there :
    https://notepad-plus-plus.org/community/topic/13296/find-and-replace-everything-between-and-including-parentheses

    with this :

    https://i.imgur.com/u1CEkbx.png

    (you have to select the text 1st for some reason … )

  • Problem with Cyrillic characters

    Locked
    2
    0 Votes
    2 Posts
    590 Views
    andrecool-68A

    I do this: select everything and then copy … then convert the encoding … paste from the clipboard and save
    The most interesting why Sublime Text does not break the Cyrillic alphabet when you convert encoding?

  • How do I transfer my files into a folder?

    Locked
    2
    0 Votes
    2 Posts
    733 Views
    Meta ChuhM

    welcome to the notepad++ community, @MILDMAYHEMPVP

    if you want to avoid answers like:

    put your files on a usb drive. put your usb drive into an envelope. folder your envelope to close it. go to your local post office. declare your folded envelope as an export item and send it overseas.

    we would need more information like:

    are you using notepad++ at all ?
    (if not true press the X at the top right corner of your browser window)

    what file did you open in notepad++ ?
    (only applies if point 1. is true, otherwise point 2. will not be visible by now)

    did you open any file in notepad++ at all ?
    (only applies if 1. is true and 2. is not known to you)

    what is your definition of the terms export and transfer, as well as their difference to save a file ?
    (if you managed to read until here, we can say hooray, thanks for all the fish, and now for something completely different 😉)

  • .lic File

    Locked
    3
    0 Votes
    3 Posts
    8k Views
    PeterJonesP

    @Jay-Patel said:

    it contain text is not in readable

    It depends on what the content of the .lic file is what can open it. There are often multiple programs that use the same file extension to refer to very different kinds of data. A .lic often (but not always) implies a license file of some type.

    A site like nirsoft (where @andrecool-68 linked) lists apps that happen to deal with a file named .lic – it doesn’t say whether or not it matches your particular .lic file.

    If it’s a text-based license file (or other text-based format), then Notepad++ will be able to show you the contents just fine; but if it’s a proprietary binary format (for a license file, often used to tell commercial software that you have paid the publisher for a license; otherwise, proprietary binary data is common, no matter the extension), then either you need to use an application that can recognize that particular binary format, or understand that for some types of files (like a paid license file), the publisher doesn’t make the binary format public, because it will likely result in people trying to hack their license or proprietary data files, to steal trade secrets or gain access to applications or features that the customer has not paid for.

    We have a FAQ about some of these concepts – it focuses on why .docx and .pdf documents aren’t readable in Notepad++, but the concepts are the same.

  • fundamental question about the cursor type

    Locked
    2
    0 Votes
    2 Posts
    426 Views
    Alan KilbornA

    @Donáth-Dániel

    Press and release the Insert key

  • 1 Votes
    6 Posts
    910 Views
    MaxsteinfeldM

    @Mikhail
    THX for your great & simple workaround - it solves my prob
    i use ahk in my workflow so it was easy to add your hotkey
    greets
    Max

  • I wanna to run cmd.exe to open url in default browser

    Locked
    6
    1 Votes
    6 Posts
    3k Views
    Raymond LewR

    @kopalypse
    Thank you for the webbrowser suggestion. I tried it and it gets me 90% to my objective.
    on my PC It lauches a window in internet exploror 11, not my default browser. Thank you for the suggestion and I will look deeper down this path to see if I can change this default.

    @ PeterJones
    your code samples and comments are perfect guidance for my knowledge level.
    I have much to learn, thank you all for your responses.

  • im new at notepad++ need help please

    Locked
    7
    0 Votes
    7 Posts
    1k Views
    SinghRajenMS

    @andrecool-68 said:

    @Meta-Chuh
    Plant it horizontally))

    Super… nO cONFUSION aT aLL. :P

  • 0 Votes
    2 Posts
    450 Views
    Alan KilbornA

    @Michael-Pollard

    It sounds like a problem, surely. But for what you are trying to accomplish, have you considered

    right clicking a tab and choosing Move to Other View (then you will have 2 editing windows that you can visually compare the contents of 2 files in, right in one instance of Notepad++)

    using the Compare plugin

  • Delete last words after : at the end of each line

    Locked
    5
    0 Votes
    5 Posts
    6k Views
    guy038G

    Hello @vinc-cser, @Peterjones, and All,

    Peter, you beat me to it by a few minutes ;-)). I was thinking about these two solutions :

    SEARCH (?-s)^(.+):.+

    REPLACE \1

    OR :

    SEARCH :[^:\r\n]+$

    REPLACE Leave EMPTY

    Note that your solution :[^:]*$ does not work well when next line(s) does not contain any colon. For instance :

    happylion3872:PIFMYJD8:9kjrgmdsjf4vxlc1dkc791fsd7f878 happylion3872:PIFMYJD8:9kjrgmdsjf4vxlc1dkc791fsd7f878 Some text to see the problem happylion3872:PIFMYJD8:9kjrgmdsjf4vxlc1dkc791fsd7f878

    So, to prevent grabbing multiple lines , use either :

    My second solution :[^:\r\n]+$ , which does not accept End of line chars before an end of line

    Your solution, slightly modified, :[^:]*?$ , which looks for the nearest “end of line”  location !

    @vinc-cser, beware that running twice, any of these regex S/R, would delete the part :PIFMYJD8, as well !

    Best Regards

    guy038

  • Pixel-wise instead of line-wise scrolling possible?

    Locked
    6
    0 Votes
    6 Posts
    2k Views
    bolandrossB

    @PeterJones
    Thank you very much, I’ll look into that.