• Notepad++ syntax highlighting for gnuplot

    Locked
    5
    0 Votes
    5 Posts
    5k Views
    chcgC

    @Luciano-Ribeiro Which link do you think is broken? Link is to the xml file and that is working for me:

    <NotepadPlus> <UserLang name="Gnuplot" ext=".plt"> <Settings> <Global caseIgnored="no"/> <TreatAsSymbol comment="no" commentLine="yes"/> <Prefix words1="no" words2="no" words3="no" words4="no"/> </Settings> <KeywordLists> <Keywords name="Delimiters">000000</Keywords> <Keywords name="Folder+"/> <Keywords name="Folder-"/> <Keywords name="Operators">" ( ) * [ ] +</Keywords> <Keywords name="Comment">1 2 0#</Keywords> <Keywords name="Words1">set cd call clear exit fit help history if load lower pause plot print pwd quit raise replot reread reset save set-show shell splot system test unset update</Keywords> <Keywords name="Words2">lt lw angles arrow autoscale bars bmargin border boxwidth clabel clip cntrparam color box contour data style datafile decimalsign dgrid3d dummy encoding fit fontpath format function style functions grid hidden3d historysize isosamples key label lmargin loadpath locale logscale macros mapping margin mouse multiplot mx2tics mxtics my2tics mytics mztics offsets origin output parametric plot pm3d palette pointsize polar print object rmargin rrange samples size style surface table terminal termoption tics ticslevel ticscale timestamp timefmt title tmargin trange urange variables version view vrange x2data x2dtics x2label x2mtics x2range x2tics x2zeroaxis xdata xdtics xlabel xmtics xrange xtics xyplane xzeroaxis y2data y2dtics y2label y2mtics y2range y2tics y2zeroaxis ydata ydtics ylabel ymtics yrange ytics yzeroaxis zdata zdtics zzeroaxis cbdata cbdtics zero zeroaxis zlabel zmtics zrange ztics cblabel cbmtics cbrange cbtics</Keywords> <Keywords name="Words3">abs acos acosh arg asin asinh atan atan2 atanh besj0 besj1 besy0 besy1 ceil cos cosh erf erfc exp floor gamma ibeta inverf igamma imag invnorm int lambertw lgamma log log10 norm rand real sgn sin sinh sqrt tan tanh gprintf sprintf strlen strstrt substr system word words column defined exists stringcolumn timecolumn tm_hour tm_mday tm_min tm_mon tm_sec tm_wday tm_yday tm_year valid</Keywords> <Keywords name="Words4">iso_8859_1 windows</Keywords> </KeywordLists> <Styles> <WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="KEYWORD1" styleID="5" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="KEYWORD2" styleID="6" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="KEYWORD3" styleID="7" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="KEYWORD4" styleID="8" fgColor="800040" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="COMMENT" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="2"/> <WordsStyle name="NUMBER" styleID="4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="DELIMINER1" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0"/> </Styles> </UserLang> </NotepadPlus>
  • Not Found Encode utf-8 without BOM ....... WHY?!

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Abd Elrazek NagehA

    I mean word “Encode in UTF-8 without BOM” , it’s not found in this version … Generally thanks for you >>> scott Summer .

  • Nppexec can not install from sourceforge

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Angus HoA

    Hi, @guy038 ,
    Thanks for the response :)
    I tried the sourceforge download page.
    Amazingly, it works.
    Still thanks a lot for your answer.

    Regards,
    angus

  • spell checker on French comments

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    Robert CordonnierR

    Thank you very much, Scott and chcg for your excellent proposals. Finally, I choose unchecking “Spell Check Document Automatically” element in “Compléments” (probably corresponding to Plugins). The “Change Current Language/Multiple Languages” option works too but I prefer the first because spell checking has little interest on instructions comments where diverse abbreviations are frequently used.

  • Saving with Notepad++ removes alternate data streams

    7
    0 Votes
    7 Posts
    6k Views
    gstaviG

    Hardly anyone knows what alternate stream is. I had to Google it. It is no surprise that this does not get high priority.

    Out of curiosity, I maintain an npp version I build for myself with several patches.
    This patch fixes an issue I had were NPP reset permissions for files saved over SAMBA.
    There is a good chance that it will solve your problem as well. You can get the binary from here.

  • Replacing Duped Words across a block block of text, respecting {}

    23
    0 Votes
    23 Posts
    8k Views
    guy038G

    Hi, Marc and All,

    IMHO, I supposed that your current file contains too much data ! I, very often, verified that complicated regexes totally fail when applied to huge amounts of text with the result that, only, one wrong match of all the file contents, occurs :-((

    May be, try to slice your file in smaller parts ! It could help ?!

    Generally, this problem often occurs when using recursion feature in regexes. But, it’s quite difficult to fully understand the limitations of the Boost regex engine, used in N++ !

    Cheers,

    guy038

  • Date time again ...

    6
    0 Votes
    6 Posts
    8k Views
    Scott SumnerS

    @Larsen-E-Whipsnade

    Notepad++ doesn’t do anything at all involving the date, so there is no “erroneous NPP display”. If you are talking about the date string that comes from the TextFX plugin, that’s fine but that isn’t a complaint against Notepad++. Actually, I can’t really tell what your complaint is as you don’t provide much in the way of detail.

  • Replace text with incremented counter?

    Locked
    5
    1 Votes
    5 Posts
    5k Views
    Guilherme SommerG

    @Scott-Sumner

    It worked perfectly!! Thank you very much!

  • different behavior SCI_AUTOCSHOW in x32 and x64 version npp++ v7.5.4

    Locked
    1
    0 Votes
    1 Posts
    659 Views
    No one has replied
  • 0 Votes
    9 Posts
    4k Views
    vladk1973V

    Чувак, в какой аккаунт, какой хост. О чем речь?

  • Copy a certificate file as one line

    Locked
    2
    1 Votes
    2 Posts
    7k Views
    Scott SumnerS

    @Aldo-Bonelli

    Copy the text between the begin and end lines to a temporary edit buffer (i.e., do File (menu) -> New).

    Then do Edit (menu) -> Blank Operations -> Remove Unnecessary Blank and EOL on that.

    Next select all of it and copy it to where you need it as a single line.

  • Underlined foreign words

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Eduardo BorgesE

    Thank you very much. Changing the name of DSpellCheck.dll is of no avail. Removing DSpellCheck.dll of course works. Best is going to the Plugins menu and disable Automatic Spellcheck, of course. I just hate any “Automatic Features”; everything should come plain vanilla and you ad things as you go along and feel a need to. I was a programmer for just a little while, but I am not stupid. Once I helped a guy with a misterious regex issue here, now you helped me, thanks again.

  • Just updated to the latest Notepad++ - now lost what i was working on.

    Locked
    1
    0 Votes
    1 Posts
    655 Views
    No one has replied
  • Help needed - editing email id's to make them web addresses

    4
    -1 Votes
    4 Posts
    2k Views
    kerryvK

    Thank you - both methods worked fine ! The second one by Scott is much faster.
    I appreciate the help.
    Best regards,
    Kerry

  • Trying to move document tab changes the text to Korean.

    Locked
    1
    0 Votes
    1 Posts
    710 Views
    No one has replied
  • Notepad++ CS-Script Compilation Error

    8
    0 Votes
    8 Posts
    4k Views
    Julian AungJ

    P.S: I think this issue occur because of the latest release of both NP++ and CS-Script this didn’t happen in the previous versions of NP++.If I remembered correctly, CS-Script worked just fine with the NP++ plugin manager pre-installed version.

  • Función textfx en español

    Locked
    2
    1 Votes
    2 Posts
    2k Views
    Scott SumnerS

    @Conchi-de-Madrid

    I don’t believe there is currently a 64-bit version of TextFX.

  • Updated Plugin Manager, now not showing ANY plugins!

    Locked
    3
    0 Votes
    3 Posts
    3k Views
  • 0 Votes
    2 Posts
    1k Views
    Eskander88E

    <LexerType name="xml" desc="XML" ext="">
    <WordsStyle name="SGMLDEFAULT" styleID="21" fgColor="000000" bgColor="A6CAF0" fontName="" fontStyle="1" fontSize="" />
    <WordsStyle name="CDATA" styleID="17" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
    <WordsStyle name="ENTITY" styleID="10" fgColor="000000" bgColor="FEFDE0" fontName="" fontStyle="1" fontSize="" />
    ...
    </LexerType>

    … don’t know what’s responsible for this parameter …

  • how to add questions in Notepad++

    Locked
    3
    -1 Votes
    3 Posts
    3k Views
    guy038G

    Hello, @mohammed-bismillah,

    I rather agree with Peter’s post. To that purpose, read also this valuable article :

    http://www.catb.org/~esr/faqs/smart-questions.html

    Nevertheless, here is a simple solution for your batch file, below, which should clarify a bit how to proceed !

    @echo off title Game cls :menu echo. echo. echo Start : 1 echo Help : 2 echo Exit : 3 echo. set menu= set /p menu= if %menu%! == ! goto :EOF if %menu% == 1 goto game if %menu% == 2 goto help if %menu% == 3 goto :EOF :help cls echo. echo. echo Hit the CORRECT number and press ENTER. echo. echo. :game echo. echo. echo What is your name? echo. set name= set /p name= echo. echo Hello %name%! echo. echo. echo. :qt1 echo Who was the FIRST president of the USA? echo. echo Pierre Desperau : 1 echo George Washington : 2 echo. set qt= set /p qt= if %qt%! == ! goto qt1 if %qt% == 1 echo Incorrect & goto qt2 if %qt% == 2 echo Correct ! :qt2 echo. echo Who is the LAST president of the USA? echo. echo Donald Trump : 1 echo Guy Thevenot : 2 echo Emmanuel Macron : 3 echo. set qt= set /p qt= if %qt%! == ! goto qt2 if %qt% == 1 echo Correct ! & goto qt3 if %qt% == 2 echo Incorrect & goto qt3 if %qt% == 3 echo Incorrect :qt3 REM And so on ....

    Best Regards

    guy038

    PS :

    if you prefer to quit the batch file, with a simple hit on the ENTER key, on each question, just change each line

    if %qt%! == ! goto qt##

    by the line :

    if %qt%! == ! goto :EOF