• build 7.6 "open with..." association does not open files with spaces in filenames

    6
    0 評價
    6 貼文
    2k 瀏覽
    PeterJonesP

    extra: in case you’re curious, since the OP used %L but my example used %1: see this post for a link describing %1 vs %L in registry entries. In short: it doesn’t really matter in this case, because the difference is only significant on old 16bit windows OS (like Win3.11). On modern Windows, %L and %1 are interchangeable in the registry associations. (Only %1 works in .bat/.cmd files, though, which is why I’ve gotten used to using %1.)

  • HTML <a download> not working

    已鎖定
    1
    0 評價
    1 貼文
    617 瀏覽
    尚無回覆
  • js file not loading

    已鎖定
    2
    0 評價
    2 貼文
    574 瀏覽
  • Find and Replace with Regular Expressions (Regex): Software error or inadequate user? :-)

    已鎖定
    3
    0 評價
    3 貼文
    1k 瀏覽
    Meta ChuhM

    @Danilo-Schembri

    your regex works for me

    Find: ([A-Z]) ([A-Z])
    Replace: \1_\2
    `Search Mode: Regular Expression

    gives me

    FIELD_ONE
    FIELD_TWO
    FIELD_THREE

    if i press replace all (or repeatedly press replace)

    @guy038
    i think you ment:
    REPLACE \1\x5F\2 instead of REPLACE \1\x20\2

  • Regex: Delete all lines containing characters other than [a-z], [A-Z], and [-]

    已鎖定
    2
    0 評價
    2 貼文
    745 瀏覽
    guy038G

    Hello, @iskandar-the-pupsi and All,

    Use the following regex S/R :

    SEARCH ^.*[^A-Za-z\r\n-].*\R

    REPLACE Leave EMPTY

    Notes :

    The ^ symbol ,beginning the character class, is the negation character

    The - symbol must be located at the end of the character class as it’s a special** char inside class character

    The \R syntax matches any kind of line-break

    Best Regards

    guy038

  • Keep unsaved tabs open between sessions

    3
    0 評價
    3 貼文
    755 瀏覽
    Bob BarringerB

    Looks like that worked. Thank you.

  • Memory overload crash?

    已鎖定
    5
    0 評價
    5 貼文
    2k 瀏覽
    BartB

    Thanks for your elaborated response. Here are some specs:

    My pc has 32GB RAM (windows 7 enterprise) Notepad version: 7.5.9 (64 bit) no plugins installed.

    The last crash i just copied some random text and pasted it allot of times.

    I tried you experiment and got a crash again (https://imgur.com/a/n1NYHhB). This picture also shows the exact error.

  • Plugins are failing in 7.6

    6
    0 評價
    6 貼文
    3k 瀏覽
    Vito EvolaV

    Do I need to make a new folder for each .dll and move the .dll in that folder? What about the other folders?

    Here’s a screenshot - instead of creating new folders and such, I tried to just move everything from right to left (AppData\Local\Notepad++\plugins) and I saw Plugin again in the menu, but not the Plugin Manager.

    Thanks in advance!

  • new FunctionList.xml item doesn't work in Administrator mode

    4
    0 評價
    4 貼文
    1k 瀏覽
    Peter BrandP

    @dinkumoil is correct. You could also try installing NotePad++ in local mode where all the files are stored in the application’s folder and %appdata% is not used.

  • Notepad++ by default

    已鎖定
    4
    0 評價
    4 貼文
    1k 瀏覽
    Scott SumnerS

    @Elvinas-Kavaliauskas

    Maybe this is of some interest.

  • Renaming <title> tags using HTML file names

    8
    0 評價
    8 貼文
    3k 瀏覽
    Kevin WoodK

    @PeterJones I can not Thank You enough! I started to refurbish a mainly East Coast, Nova Scotia Music website just for fun “No Profit”. This script was used in the Retro Lyrics section. You can check out the site here: RetroLyrics section http://www.rbops.com/RetroLyrics/SevenSpanishAngels.html)

    Originally 20 years ago the Lyrics were RTF files with DOC extensions that even if you downloaded them, you could not open them. ha ha So you can imagine after some repair to these files I am impressed. I made most of the site mobile friendly & installed many MP3 players on the artists pages.

    All pretty much retired players who had all pretty much played with groups you grew up listening to. Some good ole music.

    Thank You Mr. PeterJones & I will definitely be learning some Perl from your example!

  • Doc switcher crash

    已鎖定
    1
    0 評價
    1 貼文
    520 瀏覽
    尚無回覆
  • Windows 10 and default file associations not working

    4
    0 評價
    4 貼文
    5k 瀏覽
    James SteelJ

    [SOLVED]
    Worked: ‘File Associations’ in Notepad++ [Settings/Preferences/File Association/Notepad] then add .txt to Registered extensions box:

    https://community.spiceworks.com/topic/2170302-is-anyone-else-having-trouble-setting-notepad-to-be-the-default-txt-editor

  • Copy and Paste

    已鎖定
    3
    0 評價
    3 貼文
    801 瀏覽
    Warren60W

    Terry
    That worked thank you very much

  • Hi everyone

    已鎖定
    2
    0 評價
    2 貼文
    586 瀏覽
    Scott SumnerS

    @Tom-Gibson

    Does it happen EVERY time, on every file? It very occasionally happens for me (never have been able to ascertain the reason for it) but if I just save again it works as normal. It’s appears to be a bug, but one I can live with–of course if it happened constantly I would feel differently…

  • PyPadPlusPlus: Shift+Enter not accessible for shortcut

    已鎖定
    5
    0 評價
    5 貼文
    1k 瀏覽
    bitagorasB

    @chcg Thank you very much for the link! I renamed the title respectively.

  • How to dock Find Results widow to the right of text window?

    已鎖定
    16
    0 評價
    16 貼文
    6k 瀏覽
    guy038G

    Hi, @pavel-senatorov, @eko-palypse, @scott-sumner and All,

    Ah, @eko-palypse, I didn’t even think that, in a floating or docked group of panels, any left double click on a bottom tab, unset the appropriate panel to its previous location ! Thanks for that hint ;-))

    So I’ve updated my previous post and added the Doc Switcher in the list of N++ panels, too.

    I admit that most of these mouse gestures are easier to perform than to explain !

    Regarding the Find Result panel, today, I did not notice as many problems, as I got yesterday, but it still bugged twice ! It’s probably because of my weak laptop configuration :-(

    Cheers,

    guy038

  • VIM color scheme help

    已鎖定
    3
    0 評價
    3 貼文
    2k 瀏覽
    chcgC

    There are already some predefined themes you may want to take as starting point for your adaptions.

  • Reg Ex find numbers stored as character in excel

    已鎖定
    7
    0 評價
    7 貼文
    1k 瀏覽
    오바마

    @오바마
    and from time to time
    ADODB is not so bad choice, I liked it.

  • Find only the duplicate value

    已鎖定
    8
    0 評價
    8 貼文
    4k 瀏覽
    Terry RT

    @Antonsta
    Unfortunately, even when the data is sorted, as you found out the regex still caused the same issue. That’s because it’s still trying to search forward over multiple line.

    When the data is sorted this isn’t necessary anymore as duplicates will appear on consecutive lines.

    Thus the regex can be changed to:
    (?-is)^(.+)\R\K(\1$)

    So this will ONLY look for 2 lines together with the same data. The use of the \K is to forget the first line so the line that gets marked is the duplicate line ONLY.

    @guy038 gave a detailed rundown on this issue and ways to circumvent it. Have a look at:
    https://notepad-plus-plus.org/community/topic/16489/delete-both-duplicates-regexp-macro/15?page=1

    Cheers
    Terry