• Can't save anymore

    9
    0 Votes
    9 Posts
    5k Views
    cmeriauxC

    I like KISS !

  • 0 Votes
    3 Posts
    3k Views
    Scott SumnerS

    IIRC, “Brief emulation” is an old term that people have come to understand to mean “keyboard shortcut” compatibility…in other words, can you flip a switch in Notepad++ and then have all the default shortcuts from Brief doing their corresponding functions in Notepad++.

    The answer is NO to the “single switch flipping”, but you can program individually shortcut keys to most Notpad++ actions. It could be a lot of work to set up, but with good results obtained in the end.

    See Settings menu -> Shortcut Mapper…

  • Ok - it is Friday, but why notepad++ acting weird?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Studio-VSDesign

    one idea which comes instantly into my mind is … could you make a screenshot and upload it?

    Cheers
    Claudia

  • NPP & Antivirus

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Claudia FrankC

    @paolo-ciafaloni

    How should we know? :-)
    I don’t expect that the official package has an virus but other bundles could have.
    It could be also, that this is a false-positive identification.
    If you are unsure, test it against multiple virus apps.
    Like with https://www.virustotal.com.

    Cheers
    Claudia

  • Submit Language Definition

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Notepad++ 6.9.2 keeps crashing consistently

    4
    0 Votes
    4 Posts
    3k Views
    cmeriauxC

    What are your debug info ? It’s important for us in order to help you.
    Try to do a fresh install. You may have a bugged in your configuration file (in the config.xml)

  • NOTEPAD++ QUERY

    3
    0 Votes
    3 Posts
    2k Views
    Priya ChilongiaP

    Thanks Very Much

  • Language setting for html + javascript file

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Robert-Ulph

    maybe this is interesting for you as well.

    Cheers
    Claudia

  • NP++ doesn't keep file associations..

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Ian-Branch

    this is out of my mind as I don’t have any windows os at the moment.
    Right click on file, select open with.
    If npp isn’t in the list, choose the link open with another app or so.
    If npp, again, isn’t in the list, there was another link like search for your app.
    This opens the explorer and you can select npp.

    Cheers
    Claudia

  • Macro and Clipboard Trouble

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    cmeriauxC

    You may have trigger a paste command with an empty text while you were recording your macro.

    You can debug your macro : have a look in the C:\Users\luke.skywalker\AppData\Roaming\Notepad++\shortcuts.xml file
    here is mine.

    <Macros> <!--Trim Trailing and save - Alt+Shift+S --> <Macro name="Trim Trailing and save" Ctrl="no" Alt="yes" Shift="yes" Key="83"> <Action type="2" message="0" wParam="42024" lParam="0" sParam="" /> <Action type="2" message="0" wParam="41006" lParam="0" sParam="" /> </Macro> </Macros>

    Cmd 42024 => <!–Trim Trailing Space - -->

    Try to post yours

  • Macro Sharing Help

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    cmeriauxC

    xmf => xml
    sorry for the Typo, I should’nt write on my smartphone

  • Line settings

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Scott SumnerS

    @cmeriaux

    That’s not the same as having a hard-limit like the OP is asking for, but it helps! :)

  • Rearrange the word and numbers at the beginning of each line

    6
    0 Votes
    6 Posts
    3k Views
    Scott SumnerS

    If you follow basically what gerdb42 said to do, and use the following, it should work:

    Find what: ^(.+?)(Favs: \d+ - )(.+)
    Replace with: \2\1\3

  • How to paste specific text

    2
    0 Votes
    2 Posts
    2k Views
    gerdb42G

    You could try the Snippets or SnippetPlus Plugins.

  • Files with "-" in path don't get opened properly in Workspace

    4
    0 Votes
    4 Posts
    2k Views
    cmeriauxC

    It may be a x64 issue. could you test x86 ?

  • REGEX - Select only this part from text

    7
    0 Votes
    7 Posts
    6k Views
    Vasile CarausV

    Peter, looks GREAT ! Your first solution is very good !

    Guy38 already write the second solution on one of my first posts.

    THANK YOU Both !

  • Is it possible to copy mult line regex output that is marked/bookmarked?

    3
    0 Votes
    3 Posts
    3k Views
    Scott SumnerS

    This posting may also be helpful to the OP; even though it is about deleting rather than copying, I think it still has some relevant info: https://notepad-plus-plus.org/community/topic/12192/remove-unmarked-lines-not-just-unbookmarked-lines

  • just a blink of python

    2
    0 Votes
    2 Posts
    2k Views
    cmeriauxC

    Hello,
    try to validate your script with python pep8 (usually installed in python/script folder)
    You may have a problem with file encoding. Configure it as utf-8. Use a correct line ending.
    Header must be a

    #!/usr/bin/env python # -*- coding: utf-8 -*-

    look at https://www.python.org/dev/peps/pep-0008/#source-file-encoding

  • How to turn off opening previous files in 7.0?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    botman99B

    Are you thinking of the “Remember current session for next launch” checkbox? That’s in the “Backup” preferences section.

  • 0 Votes
    3 Posts
    2k Views
    guy038G

    Hello bege10,

    To fully distinguish the different GOTO, CALL and START commands, of your batch file, I suppose that you need all the contents of the line, starting with these commands :-)

    If so, here is, below, a batch parser, which should work nice !!

    Open your active functionList.xml file

    Change the present batch_label id parser contents by the parser, below :

    <parser id=“batch_label” displayName=“BAT Label” commentExpr=“^[\t ](::|REM).?$”>
    <function
    mainExpr=“^[\t ]*\K.+?$”
    displayMode=“$functionName”>
    <functionName>
    <nameExpr expr=“(call |goto |start |(?<=:)).+?$”/>
    </functionName>
    </function>
    </parser>

    Notes :

    The commentExpr string is, either, the word REM or the symbol ::, preceded by possible leading space/tabulation characters and followed by any range, even null, or characters

    Then, the mainExpr string, from which the different entities, to display in the FunctionList window, will be extracted, is any, non-null, range of characters, which follows possible leading space/tabulation characters ( and different from comment ranges ! )

    Finally, the expr string is, either :

    The word call, goto or start, followed by a space and any non null range of characters Any non null range of characters, following a colon ( : )

    IMPORTANT :

    The functionList regex engine does NOT act as the Notepad++ one. By default, it considers that the dot meta-character ( . ) match, absolutely, any character ( standard or EOL ones )

    But, as the Notepad++ regex engine does, it considers that the ^ and $ assertions stand for the beginning and the end of any line

    So, when you want to match, from any location, all the remaining characters of a line, TWO syntaxes are possible :

    .+?$ which matches any non-null range of any character, ( standard or EOL ones ), till the nearest EOL location, due to the lazy quantifier +?

    OR

    (?-s).+ which matches any non-null range of standard characters only, due to the in-line modifier (?-s)

    Of course, if the range of characters may be a zero-length string, prefer the syntax .*?$ OR (?-s).*

    Best Regards,

    guy038