• combining 3 commands for a text

    Locked
    12
    0 Votes
    12 Posts
    3k Views
    Scott SumnerS

    @guy038

    …information provided by RegexBuddy

    I got the go-ahead approval from Jan Goyvaerts, author of RegexBuddy, to post its decodings here. In return I promised to give credit where credit is due and indicate where the decodings originated. Of course, I’m not going to do this all the time, but if someone asks for an explanation of a regex that is a bit, shall we say, above and beyond…then why not, eh?

    …to end with a pleasant note…

    Wha? I’m always pleasant, aren’t I? :-)

    do not consider that letter y is a vowel

    Hahaha. I actually struggled a bit with what I should do to turn my BEFORE text into AFTER text…

  • NotePad ++ V7.5.7

    Locked
    1
    0 Votes
    1 Posts
    499 Views
    No one has replied
  • Character sets

    9
    2 Votes
    9 Posts
    8k Views
    guy038G

    Hi, @nikola-androić,

    Sorry to be late :-(( I was building a list of, both, monospaced and proportional fonts, which could support the ISO 8859-16 encoding and I, also, updated my own list of valuable monospaced fonts for Notepad++ :-))

    However, to possibly solve your problem, it would be better to test with the real file, indeed ! So, could you, please, send me, by e-mail, your subtitle Croatian file, or part of it, in case of important size ?

    Of course, I would fully understand if you do not accept because of confidential or personal data !!

    My e-mail address is :

    Best regards,

    guy038

  • Damaged *.xml file after editing it on a flash drive

    Locked
    2
    0 Votes
    2 Posts
    782 Views
    Scott SumnerS

    @Tobias-Fieger

    Unless you can be elaborate some more I don’t know that anyone can be convinced that Notepad++ did something to your file.

  • Export Notepad++ to a new computer

    Locked
    3
    0 Votes
    3 Posts
    10k Views
    Jim DaileyJ

    @Maryvincent-Hussein

    Also, if you install notepad++ using the “portable” option (at least I think that is what it is called), then most (perhaps all) your files will be somewhere within the directory where you install. Then you can simply zip up that directory and unzip it on some other computer.

    I’ve been sharing my notepad++ setup with co-workers this way for some time now. They get all my plug-ins, various XML configuration files, user-defined languages etc. as if they were part of notepad++.

  • 0 Votes
    4 Posts
    1k Views
    Daniel marksD

    Fixed! the texts is in windows.old/users/appdata/roaming/notepad++/backup just copy backup folder inside the actual place.

  • Is it possible to edit/modify a "Language"

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Jim DaileyJ

    @Henri-Monnier

    Short of modifying the lexer or creating a user-defined language, there are a couple of small changes you can make to the way a language is highlighted.

    First, you can add new “words” of various kinds to be highlighted by editing the stylers.xml file.

    Second, you can use the menu option Settings–>Style Configurator to change the appearance of various language features.

  • QUICKFIX for python

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Kartik ParasharK

    Got it, thanks.

  • Regular Expression, How to a delete Symbol

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Rumi BalkhiR

    Sorry for that. Would you please help in this case

  • Mixed Line Ending Detection. Possible?

    12
    0 Votes
    12 Posts
    6k Views
    Scott SumnerS

    @Scott-Sumner said:

    normally it is a difficult task to get a wrong line-ending in your editor buffer

    Apparently I shouldn’t have made that statement, as I keep proving it wrong…

    I normally work with Windows formatted files with \r\n line-endings. I just noticed that pressing ctrl+m (which got done when my fingers got tangled up) will insert a Mac format line-ending \r in my Windows files–blech!.

    :-(
  • Liberty Basic

    Locked
    1
    0 Votes
    1 Posts
    624 Views
    No one has replied
  • Find / Replace with TOOLBUCKET

    Locked
    3
    2 Votes
    3 Posts
    1k Views
    Rübel RundR

    Thanks a lot.

    It works with a little change(REPLACE: $0(HELLO WORLD\r\n) ) in my file.

  • how to restore default shortcuts

    Locked
    7
    1 Votes
    7 Posts
    3k Views
    Meta ChuhM

    @Scott-Sumner

    got one more ;-)

  • relative paths in search results

    5
    2 Votes
    5 Posts
    21k Views
    Scott SumnerS

    I would think (haven’t checked the Notepad++ source code) that in order to jump to hits when they are double-clicked in the Find result panel, Notepad++ actually reads the data out of the panel itself to determine file path…so it can switch to (or open) the necessary file and jump to the correct line.

    Thus, I would modify my previous suggestion from showing only this in the Find result panel:

    ...\lua\effects.lua (2 hits)

    to displaying something more along these lines:

    ...\lua\effects.lua (2 hits) - C:\Users\Daniel\Documents\My Games\Wesnoth1.14\data\add-ons\World_Conquest_II\...

    That way Notepad++ could put the complete path back together when needed.

  • RegularExpression, replace with to keep some variables

    Locked
    4
    1 Votes
    4 Posts
    1k Views
    Terry RT

    Thanks for the correction guy038. It was late at night, and I didn’t test my answer before presenting it. Funny enough I had thought of capturing the \h and re-using it but I never presented that in my solution.

    Terry

  • How to add asterisk to a list of filenames and make it a line

    Locked
    3
    1 Votes
    3 Posts
    2k Views
    guy038G

    Hello @sunil-kumar and All,

    Not difficult with regular expressions ! So :

    Open the Replace dialog ( Ctrl + H )

    SEARCH (?-s)(.+)\R

    REPLACE *\1*\x20

    Select the Regular expression search mode

    Move your cursor to the beginning of your list of files

    Click several times on the Replace button or once, only, on the Replace All button

    Voilà !

    Notes :

    As usual, the (?-s) modifier means that the regex dot character ( . ) represents a single standard character

    Then, the part (.+) stands for any non-empty range of consecutive standard characters, which is stored as group1, as embedded in parentheses

    The last part, \R matches any kind of line-break ( \r\n, \n or \r )

    In replacement, we rewrite an asterisk, followed by the filename ( group1 ), followed, again, with an asterisk and, finally, with a space character ( \x20 )

    Best Regards,

    guy038

    P.S. :

    A small drawback is that the last file, of the unique line, is, of course, followed with a space char, too !

  • Menu has disappeared in Notepad++

    4
    0 Votes
    4 Posts
    10k Views
    mycophagistM

    I guess it was deleting the %AppData%\Notepad++ that did it. After reinstalling, my menu is back. Thanks!

  • 0 Votes
    1 Posts
    489 Views
    No one has replied
  • Switch to already open file instead of opening a new instance???

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    guy038G

    Hello, @alx-fs and All,

    Assuming that, in Settings > Preferences... > MISC. dialog, the options Enable and Enable MRU behaviour, of the Document Switcher(Ctrl+TAB) part, are set, then, if several tabs exist in a single instance of Notepad++, you can switch between the last two accessed tabs, with the Ctrl + Tab shortcut, … in a similar way you would use Alt + Tab to switch between two instances of N++ !

    Best Regards,

    guy038

  • Persist Last Active Tab

    3
    1 Votes
    3 Posts
    953 Views
    Karen XavierK

    @Scott-Sumner Thank-you for the Windows 7 data point. Confirmed the 7.5.7 tab behavior change across all of our Windows 10 systems–versions 1607 and 1803. We are not experiencing any issues with 7.5.6 and will simply postpone our application upgrade.