• auto-indentation in javascript file

    Locked
    3
    0 Votes
    3 Posts
    6k Views
    Adriano ElleroA

    thanks it works!!!

  • 0 Votes
    4 Posts
    786 Views
    Meta ChuhM

    @Finelarme—Discovery

    splendide. de rien ;-)

  • Hi!… I'm bored! Can someone help me with a code in Notepad++?

    3
    0 Votes
    3 Posts
    627 Views
    Alexandre TombiniA

    thank you man!.. i saved a lot of time!
    GOOD JOB!

    …may GOD bless you!

  • auto-ident problem using XML tools plug-in in HTML pages

    4
    1 Votes
    4 Posts
    1k Views
    Adriano ElleroA

    thanks I did on that way <br />
    all browsers accept that!

  • Missing Browser Launch in 7.6.4

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    Meta ChuhM

    @Robert-Jones

    if you want to add all browsers, including edge, to your run menu, please follow >>> this guide <<< from @PeterJones

    here are the browser code entries, if you already know where your shortcuts.xml is located:

    <UserDefinedCommands> <Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox "$(FULL_CURRENT_PATH)"</Command> <Command name="Launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore "$(FULL_CURRENT_PATH)"</Command> <Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome "$(FULL_CURRENT_PATH)"</Command>... <Command name="Launch in Edge" Ctrl="yes" Alt="yes" Shift="yes" Key="69"> shell:Appsfolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge $(FULL_CURRENT_PATH)</Command>

    @andrecool-68

    don’t forget to put your code lines in between two lines of ```, or else " and ' quotes will get broken.

  • Making code list using notepad++

    Locked
    2
    0 Votes
    2 Posts
    802 Views
    PeterJonesP

    @Rana-Jawad said:

    i know this can be dome using regex or smth

    Regexes don’t have a random number generator, so I don’t know how you would generate those with a regex.

    It could be done with the PythonScript plugin, where you would write some python code to do the random selections for you.

  • How to prevent newline character when marking a line

    9
    0 Votes
    9 Posts
    8k Views
    Meta ChuhM

    @Alan-Kilborn

    Yea! Why do we miss him when he is not here? Maybe it is his welcoming (but nerdy) face picture. :)

    nerdy: so am i.
    welcoming: not just that. recalling his posts from memory, he’s at least as elevated in knowledge as you or me, if not even far more than that.

  • 0 Votes
    1 Posts
    373 Views
    No one has replied
  • ERROR! o_O by N++ Update with zip - Tabs lost >:(

    Locked
    2
    0 Votes
    2 Posts
    495 Views
    Clemens Ratte-PolleC

    older version 7.5.9

    Existing Plugin AutoSave Session Tabs?

  • Virus? npp.7.6.4.Installer.x64.exe

    Locked
    1
    0 Votes
    1 Posts
    570 Views
    No one has replied
  • 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
    7k 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
    826 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
    6k 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
    857 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