• Remove "Yes to all, No to all" from close dialog box

    5
    0 Votes
    5 Posts
    706 Views
    Alan KilbornA

    It appears the author of Notepad++ has assigned keycombinations for these keys again (but as yet this is unreleased). See the link I referenced earlier.

    He did so in the .rc file for Notepad++. I don’t know too much about how this works, but I’m thinking that will only assign keys if you never change the Localization settings in the Preferences?

    If you change localization, what will happen is that a language file will be used which won’t have those keys assigned. Isn’t what truly is needed is those keys to be assigned in all of the language files as well?

  • XML Self Check?

    2
    0 Votes
    2 Posts
    255 Views
    EkopalypseE

    There is a plugin called XML Tools which can be used to
    check the syntax of an xml file and, if you are having a schema file for your
    xml file, you can check if the xml data itself is valid.

  • Faint Font Color when Print

    2
    0 Votes
    2 Posts
    485 Views
    dinkumoilD

    @gnulab-id

    You can set printing to “Black on white” in preferences Dialog:

    5ee5a228-3440-41f1-8f27-baca52142cf3-grafik.png

  • Plugin to export plugins?

    2
    0 Votes
    2 Posts
    695 Views
    PeterJonesP

    Plugins options are stored in %AppData%\Notepad++\... hierarchy, the same as Notepad++ options. If you have the cloud setting (Settings > Preferences > Cloud) enabled for Notepad++, that moves it into the appropriate cloud directory; the Plugin options should be moved into that cloud directory as well.

    However, the plugins themselves are stored in the executable directory hierarchy; you could just copy the <notepad++.exe directory>\plugins hierarchy over to the new computers

  • 0 Votes
    5 Posts
    470 Views
    CletosC

    Many thanks, dinkumoil,

    for the instructions, very easily done. Works great! Many thanks again!

  • select entire IP automatically

    3
    0 Votes
    3 Posts
    720 Views
    Clyfton InC

    That is perfect. If it screws me up later in some unexpected way, then I suppose it will not be perfect, but it sure works for now!

  • Restore keystroke to close a file

    3
    0 Votes
    3 Posts
    212 Views
    Jay GrayJ

    @Alan-Kilborn thanks - i re-installed 7.7.1

  • Notepad ++ does not respond to formatting

    3
    0 Votes
    3 Posts
    412 Views
    PeterJonesP

    @dinkumoil said in Notepad ++ does not respond to formatting:

    The Global override style under Stilbeschreibung is the fall-back style that comes into play if all other rules for assigning a style to a certain piece of text don’t apply on that text or if a rule lacks some of the data that make up a style (for example the font size).

    Quibble: the Global override style is the style that gets applied to every type of highlighted text, as long as the override switch for that attribute (font, size, bold, italic, underline, foreground, background) is enabled. Since the OP has none of the override enables set, then the Global Override style attributes won’t take effect.

    You should try changing the Default Style style.

    I agree. The Default Style is the fall-back style that applies if no other highlighting rules take effect for a given piece of text. So, yes, the OP should be changing the Default Style if it is desired to change the default values for font, size, color, etc.

  • Font used in combobox find dialog

    3
    0 Votes
    3 Posts
    498 Views
    guy038G

    Hello, @simone-fusi, @prahlad-makwana4145, @dinkumoil and All,

    May be, @prahlad-makwana4145, it would have been fair to mention that your method was, first, described by @dinkumoil , in that post, below :

    https://community.notepad-plus-plus.org/post/37160

    Unfortunately, this nice work-around does not seem to work anymore, with new N++ versions. Indeed, I do get a bigger Find dialog window, with all text enlarged but the font and size, inside the 4 zones Find what :, Replace with :, Filters : and Directory : are unchanged :-((

    Note that I currently use an old laptop, with Win XP SP3 operating system, which could explain why I got no success !

    Best Regards,

    guy038

  • 0 Votes
    2 Posts
    216 Views
    dinkumoilD

    @Ittipan-Langkulanon said:

    Could someone bring this feature on Notepad++ too?

    Yes, you can do it by yourself. Remap the keyboard shortcuts for Move Up Current Line and Move Down Current Line using Shortcut Mapper ((menu) Settings -> Shortcut Mapper -> (register) Main menu).

  • 0 Votes
    3 Posts
    468 Views
    guy038G

    Hello, @jakang-chen and All,

    Seemingly, you need to search for any range of consecutive lowercase letters a, embedded between the uppercase letters A and B and replace each of them with the lowercase letter c

    Here is a possible solution :

    So, given this sample text, below :

    aaa AB CB AC BC AB aaa aaa AaB CaB AaC BaC AaB aaa aaa AaaB CaaB AaaC BaaC AaaB aaa aaa AaaaB CaaaB AaaaC BaaaC AaaaB aaa aaa AaaaaB CaaaaB AaaaaC BaaaaC AaaaaB aaa aaa AaaaaaB CaaaaaB AaaaaaC BaaaaaC AaaaaaB aaa aaa AaaaaaaB CaaaaaaB AaaaaaaC BaaaaaaC AaaaaaaB aaa aaa AaaaaaaaB CaaaaaaaB AaaaaaaaC BaaaaaaaC AaaaaaaaB aaa aaa AaaaaaaaaB CaaaaaaaaB AaaaaaaaaC BaaaaaaaaC AaaaaaaaaB aaa aaa AaaaaaaaaaB CaaaaaaaaaB AaaaaaaaaaC BaaaaaaaaaC AaaaaaaaaaB aaa aaa AaaaaaaaaaaB CaaaaaaaaaaB AaaaaaaaaaaC BaaaaaaaaaaC AaaaaaaaaaaB aaa

    If you run this regex S/R :

    SEARCH (?-si)(A\K|\G)a(?=\w*?B)

    REPLACE c

    You should get your expected text :

    aaa AB CB AC BC AB aaa aaa AcB CaB AaC BaC AcB aaa aaa AccB CaaB AaaC BaaC AccB aaa aaa AcccB CaaaB AaaaC BaaaC AcccB aaa aaa AccccB CaaaaB AaaaaC BaaaaC AccccB aaa aaa AcccccB CaaaaaB AaaaaaC BaaaaaC AcccccB aaa aaa AccccccB CaaaaaaB AaaaaaaC BaaaaaaC AccccccB aaa aaa AcccccccB CaaaaaaaB AaaaaaaaC BaaaaaaaC AcccccccB aaa aaa AccccccccB CaaaaaaaaB AaaaaaaaaC BaaaaaaaaC AccccccccB aaa aaa AcccccccccB CaaaaaaaaaB AaaaaaaaaaC BaaaaaaaaaC AcccccccccB aaa aaa AccccccccccB CaaaaaaaaaaB AaaaaaaaaaaC BaaaaaaaaaaC AccccccccccB aaa

    It’s easy to verify that contents have changed, only between the individual ranges A............B

    Notes :

    The in-line modifier (?-i) ensures that the search will be processed in a NON-insentive way

    The in-line modifier (?-s) forces the regex engine to consider any dot ( . ) as representing a single standard character ( and not an EOL char )

    The A obvioulsy matches the litteral uppercase letter A

    Then the \K syntax immediately cancels any previous match and resets the regex engine working position

    If a letter A is not found, the second part of the alternative, \G, which represents the zero-length location right after the previous match, is invoked

    Now, the regex engine tries to match the lower-case letter a, but ONLY IF  the positive look-ahead (?=\w*?B) is true, i.e this letter is followed by any range, even null, of word characters, till an upper-case letter B

    If so, it is simply replaced with the lower-case letter c

    Best Regards,

    guy038

  • Online user manual is missing

    3
    1 Votes
    3 Posts
    259 Views
    PeterJonesP

    Various portions were down for at least a few hours earlier this weekend, and the whole site may have been down for at least part of it.

    https://github.com/notepad-plus-plus/npp-usermanual/issues/51

  • Scrolling

    12
    0 Votes
    12 Posts
    3k Views
    Michael VincentM

    @guy038
    Thanks! I should have mentioned that I figured the table was wrong also and had to experiment to get my script to work. I didn’t document like you did though … Bravo!

    Cheers.

  • How changing several similar HTML tags by RegEx?

    3
    0 Votes
    3 Posts
    330 Views
    bert maierB

    @PeterJones said in How changing several similar HTML tags by RegEx?:

    You are my hero, thanks very much, working!

  • Find & Replace Enhancement Suggestion

    2
    0 Votes
    2 Posts
    369 Views
    Alan KilbornA

    There is a resistance to adding new controls to the UI. Or at least their seems to be. I can understand it; they take screen real-estate, and anything that is added with text on it has to be made translatable into dozens of languages. Oh, and maybe “Get” doesn’t translate to something short-and-sweet in Italian, for example, so the button has to be a certain size (bigger!). So it all gets burdensome quickly.

    It might be cool to have a double-click on the Find-what label do your “get” functionality, but UI purists will bash me for endorsing such a hidden and easter-eggish thing. But, with that there would be no screen real estate consumed, and no variable-sized text to translate into many languages.

    But maybe I’m missing something about your scenario. If you have some selected text in your document, if you press ctrl+f then that selected text is transferred to the Find-what box in the Find window, automagically. There is no “close dialog, re-select text and re-open the dialog” steps needed. Or perhaps I misunderstand. If so, please enlighten me.

    There was a similar request recently for a button to swap the text of the Find-what and Replace-with boxes. I think it just had a symbol in it (nothing to translate) and the button itself was quite small. This request gained no traction.

  • Find UI inconsistent...

    8
    1 Votes
    8 Posts
    688 Views
    Alan KilbornA

    Why not spec out a complete redesign of the Find UI right here with mocked-up screenshots and text? That way you don’t have to program anything so the programming language isn’t an issue. Then, if someone that can program it agrees, they can try their hand at it?

    You seemed to do a lot of saying “this is bad… that is bad…” but to this point haven’t provided a lot of specifics on what changes should be made. To be fair, though, you have provided some general ideas. I’d like to see that turned into some really concrete specs for a redesign.

    Again, good discussion, thank you for that.

  • Opening multiple files???

    4
    0 Votes
    4 Posts
    3k Views
    Charles BillowC

    OK, thanks Peter.

  • Working on a Chinese Spam Guard Bot

    12
    1 Votes
    12 Posts
    968 Views
    michaellee8M

    @dinkumoil Actually that is not just an individual issue here, it is a generalized one. Every time pro-CCP nationalists found something they hate or being told to hate something, they attack it rudely, both physically and on the internet. I wouldn’t say it is good if we just sit there and don’t express out opinions if we are attacked and fear, rather I would found ways to beat it.

    I suggest the following mechanism for an anti-spam bot:

    For any second issue of the same user for the given period of time (e.g. 24 hrs), check for his/her activity log. If his/her activity log is empty/nearly empty (e.g. no contributions), issue permanent ban to it on our repo and all repo that uses this bot immediately, report it to GitHub, and then close/lock/delete all issues this user has ever made on our repo. If 5 issues has been opened by the same user in 24 hours, such user should receive a 24-hr cooldown, the repo owner will also be able to issue permanent ban to him on his repo.

    Could this method be good, it doesn’t do bans based on character recognization? Actually I knew a lot of forums/website is facing Chinese spams and I had thoughts of building a anti-spam mechanism for those.

  • 0 Votes
    2 Posts
    205 Views
  • Toggle Next/Previous Window?

    9
    0 Votes
    9 Posts
    7k Views
    John SchneiderJ

    Thanks again everyone. Using Ctl-Tab is perfect as that’s what I instinctively use in browsers.
    The more I use N++ the more I like it!!!