• Replace a certain character with ENTER

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Alan KilbornA

    Since @patrickdrd 's solution was a tad unclear, I’d suggest:

    Find: \s*\*+\s*
    Replace: \r\n for Windows-formatted file OR \n for Linux-formatted file
    Search mode: Regular Expression

    Of course, maybe the OP’s usage of * was just an example. This is unfortunate as * is a special character and needs “escaping” with \ when used in a reg exp, which just makes the whole thing appear more cryptic/complicated. :)

  • Crash when I open .nfo files

    Locked
    13
    0 Votes
    13 Posts
    2k Views
    Meta ChuhM

    @Pino-Insegna and all

    ps: @chcg occasionally plays around improving JensLorenz’s old original HexEdit code over >>> here <<<.

    i’ve just installed @chcg 's HexEdit version 0.9.5.19 (x64) on notepad++ 7.6.4 and i’m still able to open, search, and hexview, any .nfo file, without any issues.

    can someone confirm or disprove this ?

  • Find BOMs

    Locked
    13
    2 Votes
    13 Posts
    6k Views
    Meta ChuhM

    @Alan-Kilborn

    it’s my real name.
    unfortunately our family has generations of such strange names.
    my brothers for example are called pikachuh and raichuh.

    here’s a family picture of us:

    Imgur

    😄

    seriously: i got meta as a nick name ages ago, as when i was little, i started to use anything for everything, beyond of what specific items were originally intended, or designed to be used for … and through the years, more and more of doing that actually started to work out, without anybody (including me) understanding why. 😉

  • Select lines

    Locked
    4
    0 Votes
    4 Posts
    764 Views
    PeterJonesP

    @guy038 said:

    If you are looking for words, whose one is a subset of another, the longest word must be placed first in the list of alternatives of the search regex !

    So, the regex abc|abcd|abcde would only match the abc string, whereas the regex abcde|abcd|abc correctly matches the 3 strings abc, abcd and abcde ;-))

    I had thought of mentioning that, or coding around that. My thought would have been to include boundaries, ^.*\b(one|too)\b.*$, which would properly find

    This one should be found This should be found by none of the searches, despite o-n-e being inside "none". This too shall pass But not this Works at the end-of-line, too Or even when the end of file doesn't have a newline on this one
  • CSS not updating (Newbie)

    Locked
    8
    0 Votes
    8 Posts
    1k Views
    PeterJonesP

    I had given my advice, posted, then saw Alan’s post, so I ninja-edited to obfuscate the off topic information. (I had already spent the time typing it up, and didn’t want to just delete it, so thought the obfuscation would be fun. Besides, it might prompt the OP to ask an on-topic question, which we can answer. :-) )

  • Turn off pop-up

    Locked
    8
    0 Votes
    8 Posts
    3k Views
    David Smith6D

    Thank to you all. I do not think of autocompletion as being via a pop-up. I have been through the preferences menu several times.

  • Delete duplicated expressions with keeping the first one

    24
    0 Votes
    24 Posts
    5k Views
    Ziad AboramiZ

    @guy038
    Thanks so much!
    I have fixed the errors.
    The command of replacment worked fine!
    Thanks a lot for your time
    You are generous!

  • Code Folding Help.

    Locked
    2
    0 Votes
    2 Posts
    827 Views
    PeterJonesP

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

    Also, this forum is formatted using Markdown, with a help link buried on the little grey ? in the COMPOSE window/pane when writing your post. For more about how to use Markdown in this forum, please see @Scott-Sumner’s post in the “how to markdown code on this forum” topic, and my updates near the end. It is very important that you use these formatting tips – using single backtick marks around small snippets, and using code-quoting for pasting multiple lines from your example data files – because otherwise, the forum will change normal quotes ("") to curly “smart” quotes (“”), will change hyphens to dashes, will sometimes hide asterisks (or if your text is c:\folder\*.txt, it will show up as c:\folder*.txt, missing the backslash). If you want to clearly communicate your text data to us, you need to properly format it.

    After you have read the above links, please come back with more details, as well example data that will actually show what you mean – interleaving the data with your question text is super confusing when you haven’t marked it up to show what’s data and what’s not.

  • NppExec F6 not working

    Locked
    12
    0 Votes
    12 Posts
    3k Views
    PeterJonesP

    @PaoloRicardo said:

    I presume I must wait for the bug to be fixed before F6 will work as designed?

    No, that’s not what we were saying there at all.

    We said that you could use the Shortcut Mapper to tell you why there was a conflict with the NppExec’s F6 and something else that was also apparently mapped to F6. We strayed a bit into a tangent about how the Shortcut Mapper displays certain items when you have a filter applied, but as my first screenshot showed, the Shortcut Mapper does tell you when there’s a conflict, and tell you where that conflict is, as long as you don’t have a filter applied.

    Since installing 7.6.3 solved your F6 problem (by resetting whatever item conflicted with NppExec’s F6), I mostly posted this clarification so that future readers of this thread won’t think that 7.5.9 breaks the F6 key; it doesn’t.

  • COBOL syntax highlighting stops working

    Locked
    5
    0 Votes
    5 Posts
    1k Views
    PaoloRicardoP

    Mata

    The above leads to compilation errors. I have split the Display into two separate statements and have an acceptable result i.e. syntax highlighting is back.

    I realised that I did not have the most recent version of Notepad++ (7.63). Installing this now means F6 correctly brings up the NppExec dialog.

    Thanks for your help.

    Psul

  • Activity is getting updated on Gitter

    Locked
    1
    1 Votes
    1 Posts
    307 Views
    No one has replied
  • Notepad++ exit

    Locked
    3
    0 Votes
    3 Posts
    851 Views
    Uffe KousgaardU

    @PeterJones said:

    Remember current session for next launch

    Disabling “Remember current session for next launch” and choosing “Simple backup” made it behave in a sensible way.

  • Notepad++ hangs after changing style

    Locked
    14
    0 Votes
    14 Posts
    2k Views
    andrecool-68A

    @blackerking said:
    on Windows 10, there are conflicts with Notepad++

  • Wrong encoding?

    Locked
    3
    0 Votes
    3 Posts
    13k Views
    andrecool-68A

    @Вениамин-Володарский
    It’s like a compiled script, and the coding has nothing to do with it.

  • Can provide an official package in MSI format?

    Locked
    1
    0 Votes
    1 Posts
    461 Views
    No one has replied
  • Why does ₹ appears as □ in npp

    Locked
    8
    0 Votes
    8 Posts
    3k Views
    V S RawatV

    Also, Arial Unicode MS’ wiki page itself says that latest version is 1.01 that was released 21 years ago in 1998, so the characters defined later are not there in it.

  • How to display the place just modified

    Locked
    2
    0 Votes
    2 Posts
    480 Views
    pnedevP

    Hello @zili-Jiang ,

    You can do something like that using Compare plugin.
    If you haven’t saved the modified file yet you can use ComparePlugin’s Diff since last Save command.

    Or you can simply Undo (it will take you to the place you last modified) and then Redo.

  • Sourcecookifier installed but not visible

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Meta ChuhM

    welcome to the notepad++ community, @Gautier-Andreotti

    Too old, not working anymore?

    source cookifier 0.7.3 will also work on the newest versions of notepad++.

    if you have the installed version of notepad++ 7.6 - 32 bit (not the portable version):
    first please download and run the new version 7.6.3 - 32 bit installer from >>> here <<<, to update your existing version.

    then go to plugins > plugins admin, enter “source cookifier” in the search field, check “source cookifier 0.7.3” at the plugins list, and hit install, as seen at the screenshot below.

    Imgur

    now source cookifier will be installed, as seen at the next screenshot.

    Imgur

    important note: do not use “plugin manager” on a notepad++ version 7.6 and above, as it is not compatible with the newer versions of notepad++, and it would install all plugins to the wrong folder locations.
    only use the built in “plugins admin” on newer versions of notepad++.

    (it is recommended to remove “plugin manager” completely on newer versions of notepad++, as it currently does not work, and it is not known if it will be updated in the near future)

    side note: if you have installed other plugins on 7.6, you will have to reinstall them using “plugins admin” once you have updated to 7.6.3, due to changes of the plugins folder locations.

  • Advanced Search and Repace Question

    Locked
    4
    0 Votes
    4 Posts
    740 Views
    Meta ChuhM

    @bradsayers

    I would be embarrassed to note my attempts

    never be embarrassed, we (usually) don’t bite ;-)

    anything possibly “embarrassing” we read, will also help us to adapt all guides, like the ones you’ve read, for future and inexperienced users,
    as we (definitively including me) sometimes take knowledge for granted, if we are not constantly fed with such information, and hence tend to forget the times when we started off as freshmen.

  • adding incrementing numbers at the end of each line

    Locked
    7
    0 Votes
    7 Posts
    2k Views
    Terry RT

    @guy038 said:

    we could generalize the process

    I REALLY like that regex, however I wonder if it would be worth it as in the OP’s situation it would be a toss up as to whether my regex or your’s is the easier to set up.

    The power (and beauty) of your regex lies with the shortness of code, and I should say it’s generalization. Even if there were say 50 numbers to be used (50-99), your regex still looks good, mine on the other hand becomes unwieldy.

    Thanks for the enlightenment
    Terry