• Compare two files for changes.

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    YaronY

    Hello David,

    Pavel Nedev’s development version is the best. It contains many improvements and bug-fixes.
    The repo is here and you can download the built DLL here.

    Place the DLL in the plugin folder.

    Best regards.

  • Set coding for .txt files permanently to OEM850

    Locked
    13
    0 Votes
    13 Posts
    9k Views
    PeteM92P

    Claudia,

    I forgot to mention, that this is also working in the installed version of NPP.
    So all working absolutely perfect!
    Thanks again

    Cheers Pete

  • File emptied and overwritten in crash - please help!

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Dil-Azat

    are you looking for Settings->Preferences->MISC->Auto-Indent ??
    The setting means you need to do the first indent and any subsequent indent on the same level
    is done by npp.

    Cheers
    Claudia

  • UTF-8 doc becomes ANSI doc !

    Locked
    24
    0 Votes
    24 Posts
    25k Views
    Claudia FrankC

    @gerdb42

    I agree that this would break the principle but on the other hand it could be beneficial as well.
    But, now as I’m typing I’m thinking, when this conversion takes place and you don’t know from which encoding it came from
    you might corrupt the document without knowing how to fix it.
    Yes - bad idea.

    Cheers
    Claudia

  • Find & replace with increment across multiple files

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Jim DaileyJ

    Here is an AWK script that may help you. You can download GNU AWK from here: https://sourceforge.net/projects/ezwinports/files/gawk-4.1.3-w32-bin.zip/download

    # ************************************************************************** # AWK script to replace all occurences of FindStr with RepStrNNN. # Output files are the same name as the input files with ".ed" appended. # # Run it like this: gawk -f .\thisScript.awk <files to be edited> # # If this file is saved as repAll.awk in the current directory, and the # files to be edited are in directory c:\fileDir, then: # # gawk -f .\repAll.awk c:\fileDir\* # # ************************************************************************** BEGIN { # If FindStr contains any characters that have special regex meaning, # they must be prefaced with "\". For example: "Needed\* Here". FindStr = "replaceMe" RepStr = "ID" NumDigits = 3 # Number of digits to append to RepStr. # Controls leading zeroes, but does not # limit the total number (i.e. if there # are 10000+ replaces, then ID10134, for # example, will be generated). Number = 0 # Initial number to append. BatchFile = ".\\CopyAndDel.bat" # Name of batch file used to clean up. } FNR == 1 { print("@copy " FILENAME ".ed " FILENAME " /y >nul") > BatchFile print("@del " FILENAME ".ed >nul") > BatchFile } { while (match($0, FindStr)) { sub(FindStr, sprintf("%s%0*d", RepStr, NumDigits, Number++)) } print > (FILENAME ".ed") } END { print "If the '.ed' files look good, execute " BatchFile " to copy them over" print "the original files and then delete them." }
  • Function List for new language...

    Locked
    11
    0 Votes
    11 Posts
    12k Views
    MAPJe71M

    You’re welcome!

  • Changing keyboard shortcuts

    Locked
    6
    0 Votes
    6 Posts
    9k Views
    John SparkJ

    how this settings works in anyone other’s NP++ instance ?
    ty

  • [functionList.xml] What do these colons mean?

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    MAPJe71M

    I’m actually in the process of creating the first update/overhaul for functionList.xml.
    Unfortunately it will only be a cleanup for the C parser not a correction, yet.

    Current state:

    <parser displayName="C source" id="c_function" commentExpr="(?s-m:/\*.*?\*/)|(?m-s://.*?$)" > <function mainExpr="^[\t ]*((?-i:static|const|virtual)\s+)?[\w:]+(\s+\w+)?(\s+|(\*|\*\*)\s+|\s+(\*|\*\*)|\s+(\*|\*\*)\s+)(\w+\s*::)?(?-i:\b(?!if|while|for)\b)\w+\s*\([^\)\(]*\)(\s*const\s*)?[\n\s]*\{" > <functionName> <nameExpr expr="(?-i:\b(?!if|while|for)\b)[\w~]+\s*\(" /> <nameExpr expr="[\w~]+" /> </functionName> </function> </parser>
  • how do you add an image into notepad?

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    Claudia FrankC

    @ALLES-NL

    npp = text editor

    Cheers
    Claudia

  • Find and Replace bug: first instance replaced with font name?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Tom-Hall

    have npp6.0 available and tried to replicate this issue, wasn’t successful.
    What I’ve did is

    copied your sample text double click on one instance of pvtz pressed ctrl+h put in abcd in “replace with” field (“find what” was already filled) used replace or replace all and all instances of pvtz got replaced by abcd - as expected.

    Can you confirm this behavior by using same steps?
    Btw. do you have any plugins installed?

    Cheers
    Claudia

  • UDL: TAB character as delimiter

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    MAPJe71M

    Notepad++ uses the native Scintilla YAML (Yet Another Multicolumn Layout) lexer.

  • Open *.txt by default

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Lionel-Modra

    afaik you can’t to this with the builtin file dialog but the explorer plugin has such functionality.

    Cheers
    Claudia

  • Notepad++ 5.1.1 missing

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • No Default Extension for JSON language

    Locked
    5
    0 Votes
    5 Posts
    7k Views
    SuncatcherS

    @Claudia-Frank, thanks. The trick with AppData directory renaming worked. It seems that different configuration files conflicted.

  • how to open this link in notepad

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @JackshowX

    has been already addressed here.

    Cheers
    Claudia

  • Search Results Window No Longer Displaying

    Locked
    2
    0 Votes
    2 Posts
    8k Views
    Claudia FrankC

    @Jean-Braithwaite

    there was an incident in the past which was solved by renaming %APPDATA%\notepad++ directory.
    It will be recreated but this could mean that you might have to copy over files from old to new directory.

    Cheers
    Claudia

  • Keyboard Shortcut for moving current tab?

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    pnedevP

    Hello,

    “is there a keyboard shortcut to move the current tab left or right (or even all the way to the right)?”

    Currently there isn’t such command available thus there is also no way to have a shortcut.
    The good news is that in the new N++ version (when it becomes available) this commands will be available.

    BR

  • Extra space in begining of lines

    Locked
    10
    0 Votes
    10 Posts
    6k Views
    mike2003M

    this bug on standart setup. u see my gif? no bbcode!

  • Really Simple.....

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    @David-Thorpe

    you said you are using pure html. If this is the case, the Preview HTML plugin maybe the solution.
    Install using plugin manager, open it, edit your current doc and you get immediate update how it looks like.

    Cheers
    Claudia