I have the same in WinXP SP2. When the main editor window get's focuis again: keyboard focus does not return to the text editor. I have to click on the editor to get my text cursor back
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1. in Fortran 77, require 6 spaces before any commands. but in Fortran 90 or later version, there is not this issue. (can you disable this)
notepad++ may have problems concerning code folding of (if ... end if; do ... end do) loops.
here is an example (same code in fortran77 style and fortran90 style):
c-------------------------------------
subroutine foldtest(a, b)
real(kind=8)::a, b
integer::i
if (a .eq. 1.0d0) then
b = 0.0d0
do i = 1, 10
b = b+a
end do
end if
return
end
c-------------------------------------
subroutine foldtest(a, b)
real(kind=8)::a, b
integer::i
if (a .eq. 1.0d0) then
b = 0.0d0
do i = 1, 10
b = b+a
end do
end if
return
end
c-------------------------------------
2. in fortran90, "!" can be used as an indicator of comment line
for example: in fortran77, we may say "c *****", in fortran90, we can say "! *****"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We use the style below for freeform fortran. To use it, you'll need to insert the text into your UserDefineLang.xml file.
There's at least one drawback to this: The native fortran syntax highlighting recognized 1.0d10 as a number, whereas the user-defined style sees the "d" as a new word.
To ensure that NP++ recognizes .f90 and .f95 files as free-form, you have to remove "f90 f95" from the langs.xml file in the NP++ install folder.
Regards.
Greg
<UserLang name="FortranFreeform" ext="f90 f95">
<Settings>
<Global caseIgnored="no" />
<TreatAsSymbol comment="no" commentLine="yes" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">'"0'"0</Keywords>
<Keywords name="Folder+">do then</Keywords>
<Keywords name="Folder-">enddo endif end</Keywords>
<Keywords name="Operators">- % & ( ) * , . / : ; + < = ></Keywords>
<Keywords name="Comment">1 2 0!</Keywords>
<Keywords name="Words1">access action advance allocatable allocate apostrophe assign assignment associate asynchronous backspace bind blank blockdata call case character class close common complex contains continue cycle data deallocate decimal delim default dimension direct dowhile double doubleprecision else elseif elsewhere encoding end endassociate endblockdata endfile endforall endfunction endinterface endmodule endprogram endselect endsubroutine endtype endwhere entry eor equivalence err errmsg exist exit external file flush fmt forall form format formatted function go goto id if implicit in include inout integer inquire intent interface intrinsic iomsg iolength iostat kind len logical module name named namelist nextrec nml none nullify number only open opened operator optional out pad parameter pass pause pending pointer pos position precision print private program protected public quote read readwrite real rec recl recursive result return rewind save select selectcase selecttype sequential sign size stat status stop stream subroutine target to type unformatted unit use value volatile wait where while write</Keywords>
<Keywords name="Words2">abs achar acos acosd adjustl adjustr aimag aimax0 aimin0 aint ajmax0 ajmin0 akmax0 akmin0 all allocated alog alog10 amax0 amax1 amin0 amin1 amod anint any asin asind associated atan atan2 atan2d atand bitest bitl bitlr bitrl bjtest bit_size bktest break btest cabs ccos cdabs cdcos cdexp cdlog cdsin cdsqrt ceiling cexp char clog cmplx conjg cos cosd cosh count cpu_time cshift csin csqrt dabs dacos dacosd dasin dasind datan datan2 datan2d datand date date_and_time dble dcmplx dconjg dcos dcosd dcosh dcotan ddim dexp dfloat dflotk dfloti dflotj digits dim dimag dint dlog dlog10 dmax1 dmin1 dmod dnint dot_product dprod dreal dsign dsin dsind dsinh dsqrt dtan dtand dtanh eoshift epsilon errsns exp exponent float floati floatj floatk floor fraction free huge iabs iachar iand ibclr ibits ibset ichar idate idim idint idnint ieor ifix iiabs iiand iibclr iibits iibset iidim iidint iidnnt iieor iifix iint iior iiqint iiqnnt iishft iishftc iisign ilen imax0 imax1 imin0 imin1 imod index inint inot int int1 int2 int4 int8 iqint iqnint ior ishft ishftc isign isnan izext jiand jibclr jibits jibset jidim jidint jidnnt jieor jifix jint jior jiqint jiqnnt jishft jishftc jisign jmax0 jmax1 jmin0 jmin1 jmod jnint jnot jzext kiabs kiand kibclr kibits kibset kidim kidint kidnnt kieor kifix kind kint kior kishft kishftc kisign kmax0 kmax1 kmin0 kmin1 kmod knint knot kzext lbound leadz len len_trim lenlge lge lgt lle llt log log10 logical lshift malloc matmul max max0 max1 maxexponent maxloc maxval merge min min0 min1 minexponent minloc minval mod modulo mvbits nearest nint not nworkers number_of_processors pack popcnt poppar precision present product radix random random_number random_seed range real repeat reshape rrspacing rshift scale scan secnds selected_int_kind selected_real_kind set_exponent shape sign sin sind sinh size sizeof sngl snglq spacing spread sqrt sum system_clock tan tand tanh tiny transfer transpose trim ubound unpack verify</Keywords>
<Keywords name="Words3">cdabs cdcos cdexp cdlog cdsin cdsqrt cotan cotand dcmplx dconjg dcotan dcotand decode dimag dll_export dll_import doublecomplex dreal dvchk encode find flen flush getarg getcharqq getcl getdat getenv gettim hfix ibchng identifier imag int1 int2 int4 intc intrup invalop iostat_msg isha ishc ishl jfix lacfar locking locnear map nargs nbreak ndperr ndpexc offset ovefl peekcharqq precfill prompt qabs qacos qacosd qasin qasind qatan qatand qatan2 qcmplx qconjg qcos qcosd qcosh qdim qexp qext qextd qfloat qimag qlog qlog10 qmax1 qmin1 qmod qreal qsign qsin qsind qsinh qsqrt qtan qtand qtanh ran rand randu rewrite segment setdat settim system timer undfl unlock union val virtual volatile zabs zcos zexp zlog zsin zsqrt</Keywords>
<Keywords name="Words4">eq and or ne ge gt le lt true false</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="0080C0" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="808080" 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="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The userDefineLang.xml file extract below has a few additions and corrections over the one I posted previously. Also, here's a fuller description.
The "FortranFreeform" language recognizes keywords and certain syntax items for free-format Fortran (commonplace in .f90 files). It differs from the built-in Fortran in a number of ways: it uses '!' to initiate comments, it does not treat columns 1-6 as special, and it includes a larger number of keywords and built-in function names.
Some limitations: because Fortran allows spaces to be inserted almost anywhere (including the middle of keywords), common keywords such as enddo and endif are frequently (and legally) split up (end do, end if, etc.). This makes it impossible to implement "folders" properly in a user-defined language. Also, because user-defined languages do not recognize non-decimal characters as parts of numbers, floating point numbers such as 1.23e+4 are not shown as a single item (i.e., 1234 are colored as numerals, .e+ are uncolored).
If you want Notepad++ to recognize a .f90, .f95, or .f2k file as FortranFreeform, you must manually edit the file "langs.xml" (in the same directory as the notepad++.exe executable). In the tag defining <Language name="fortran" ... > remove "f90 f95 f2k" from the set of values for "ext=").
Regards.
Greg
<UserLang name="FortranFreeform" ext="f90 f95 f2k">
<Settings>
<Global caseIgnored="yes" />
<TreatAsSymbol comment="no" commentLine="yes" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">'"0'"0</Keywords>
<Keywords name="Folder+">do then</Keywords>
<Keywords name="Folder-">enddo endif end</Keywords>
<Keywords name="Operators">- % & ( ) * , . / : ; + < = ></Keywords>
<Keywords name="Comment">1 2 0!</Keywords>
<Keywords name="Words1">access action advance allocatable allocate apostrophe assign assignment associate asynchronous backspace bind blank blockdata call case character class close common complex contains continue cycle data deallocate decimal delim default dimension direct dowhile double doubleprecision else elseif elsewhere encoding end endassociate endblockdata endfile endforall endfunction endinterface endmodule endprogram endselect endsubroutine endtype endwhere entry eor equivalence err errmsg exist exit external file flush fmt forall form format formatted function go goto id if implicit in include inout integer inquire intent interface intrinsic iomsg iolength iostat kind len logical module name named namelist nextrec nml none nullify number only open opened operator optional out pad parameter pass pause pending pointer pos position precision print private program protected public quote read readwrite real rec recl recursive result return rewind save select selectcase selecttype sequential sign size stat status stop stream subroutine target to type unformatted unit use value volatile wait where while write</Keywords>
<Keywords name="Words2">abs achar acos acosd adjustl adjustr aimag aimax0 aimin0 aint ajmax0 ajmin0 akmax0 akmin0 all allocated alog alog10 amax0 amax1 amin0 amin1 amod anint any asin asind associated atan atan2 atan2d atand bitest bitl bitlr bitrl bjtest bit_size bktest break btest cabs ccos cdabs cdcos cdexp cdlog cdsin cdsqrt ceiling cexp char clog cmplx conjg cos cosd cosh count cpu_time cshift csin csqrt dabs dacos dacosd dasin dasind datan datan2 datan2d datand date date_and_time dble dcmplx dconjg dcos dcosd dcosh dcotan ddim dexp dfloat dflotk dfloti dflotj digits dim dimag dint dlog dlog10 dmax1 dmin1 dmod dnint dot_product dprod dreal dsign dsin dsind dsinh dsqrt dtan dtand dtanh eoshift epsilon errsns exp exponent float floati floatj floatk floor fraction free huge iabs iachar iand ibclr ibits ibset ichar idate idim idint idnint ieor ifix iiabs iiand iibclr iibits iibset iidim iidint iidnnt iieor iifix iint iior iiqint iiqnnt iishft iishftc iisign ilen imax0 imax1 imin0 imin1 imod index inint inot int int1 int2 int4 int8 iqint iqnint ior ishft ishftc isign isnan izext jiand jibclr jibits jibset jidim jidint jidnnt jieor jifix jint jior jiqint jiqnnt jishft jishftc jisign jmax0 jmax1 jmin0 jmin1 jmod jnint jnot jzext kiabs kiand kibclr kibits kibset kidim kidint kidnnt kieor kifix kind kint kior kishft kishftc kisign kmax0 kmax1 kmin0 kmin1 kmod knint knot kzext lbound leadz len len_trim lenlge lge lgt lle llt log log10 logical lshift malloc matmul max max0 max1 maxexponent maxloc maxval merge min min0 min1 minexponent minloc minval mod modulo mvbits nearest nint not nworkers number_of_processors pack popcnt poppar precision present product radix random random_number random_seed range real repeat reshape rrspacing rshift scale scan secnds selected_int_kind selected_real_kind set_exponent shape sign sin sind sinh size sizeof sngl snglq spacing spread sqrt sum system_clock tan tand tanh tiny transfer transpose trim ubound unpack verify</Keywords>
<Keywords name="Words3">cdabs cdcos cdexp cdlog cdsin cdsqrt cotan cotand dcmplx dconjg dcotan dcotand decode dimag dll_export dll_import doublecomplex dreal dvchk encode find flen flush getarg getcharqq getcl getdat getenv gettim hfix ibchng identifier imag int1 int2 int4 intc intrup invalop iostat_msg isha ishc ishl jfix lacfar locking locnear map nargs nbreak ndperr ndpexc offset ovefl peekcharqq precfill prompt qabs qacos qacosd qasin qasind qatan qatand qatan2 qcmplx qconjg qcos qcosd qcosh qdim qexp qext qextd qfloat qimag qlog qlog10 qmax1 qmin1 qmod qreal qsign qsin qsind qsinh qsqrt qtan qtand qtanh ran rand randu rewrite segment setdat settim system timer undfl unlock union val virtual volatile zabs zcos zexp zlog zsin zsqrt</Keywords>
<Keywords name="Words4">eq and or ne ge gt le lt true false</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="0080C0" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="808080" 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="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There's no text describing Next/Previous Document (Ctrl+Tab, Ctrl+Shift+Tab) in the Shortcut Mapper.
Using Tab to move between *tabs* is pretty standard nowadays, but I'm used to Ctrl+PgUp, Ctrl+PgDn, so the first thing I do when a new N++ is released is reassign the two keys.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I see the plugins launch differently.
4.0.2RC still has the printer crash, on Win2000, where ^P and print now icon
works OK, but file.printnow, or file.print.[ok] causes an immediate crash.
As before if I remove the hexeditor.dll, and functionlist.dll from the
/plugins dir, then the crashes go away.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Jens sent some new DLLs (dated 8 feb), and they did change things slightly.
Before I needed BOTH DLLs present to cause the crash,
Now, just _either_ hexEditor or FunctionList DLL present will give the
problem [R6025 Pure virtual function call GPF].
Remove them, and it's fine again : All print paths work OK.
Machine has been rebooted recently for a larger SW install, and that made
no difference.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I should add that this print problem first appeared in V4.0x;
V3.9, and earlier, are fine. 4.0.1 and 4.0.2 both crash on File.PrintNow,
but are ok on Icon.PrintNow
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Whenever i Click on Notepad++ Systray icon, notepad++ comes up but doesnt get the focus of the cursor. i have to click on the notepad++ in taskbar to get it maximized. this happens for me since Version 3.8. I use windows XP SP2.
regards
Gururaja
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have to problems with this (win2000).
I can type, jump to (eg) acrobat, click NP++ icon to jump back, and continue typing, in
the last active tab, at the last cursor XY. Works fine ?
Even works in Incremental search window as well :) [but not in main search window]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Close pop-up windows on ESC, please.
For example:
Close windows "About" on ESC, not just "enter" or "spacebar"
Russ follows
Добый день! Супер программа!
Добавь закрытие окошек по ESC, пожалуйста.
Например, "About", "Find" и подобные мне удобно закрывать по ESC.
Спасибо.
Борис.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here you can download Notepad++ v4.0.2 RC :
http://notepad-plus.sourceforge.net/commun/misc/npp.v4.0.2.RC.zip
This version fixes the docking feature crash issues and resize docked dialog problem under win98/ME.
Notepad++ v4.0.2 will be released in 4 days if everything is in order (ie. no regressive bugs and crash issue).
Please let us know if you have any problem with this release.
Don
I have the same in WinXP SP2. When the main editor window get's focuis again: keyboard focus does not return to the text editor. I have to click on the editor to get my text cursor back
Will this release fix the wrong icons problem? Are you working on that?
I unzipped into a new directory and found it couldn't start at all (no interface appeared). However, it exists in memory. BTW, 4.0.1 works.
What's your windows version?
Don
i don't know how to describe correctly. i try.
1. in Fortran 77, require 6 spaces before any commands. but in Fortran 90 or later version, there is not this issue. (can you disable this)
notepad++ may have problems concerning code folding of (if ... end if; do ... end do) loops.
here is an example (same code in fortran77 style and fortran90 style):
c-------------------------------------
subroutine foldtest(a, b)
real(kind=8)::a, b
integer::i
if (a .eq. 1.0d0) then
b = 0.0d0
do i = 1, 10
b = b+a
end do
end if
return
end
c-------------------------------------
subroutine foldtest(a, b)
real(kind=8)::a, b
integer::i
if (a .eq. 1.0d0) then
b = 0.0d0
do i = 1, 10
b = b+a
end do
end if
return
end
c-------------------------------------
2. in fortran90, "!" can be used as an indicator of comment line
for example: in fortran77, we may say "c *****", in fortran90, we can say "! *****"
We use the style below for freeform fortran. To use it, you'll need to insert the text into your UserDefineLang.xml file.
There's at least one drawback to this: The native fortran syntax highlighting recognized 1.0d10 as a number, whereas the user-defined style sees the "d" as a new word.
To ensure that NP++ recognizes .f90 and .f95 files as free-form, you have to remove "f90 f95" from the langs.xml file in the NP++ install folder.
Regards.
Greg
<UserLang name="FortranFreeform" ext="f90 f95">
<Settings>
<Global caseIgnored="no" />
<TreatAsSymbol comment="no" commentLine="yes" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">'"0'"0</Keywords>
<Keywords name="Folder+">do then</Keywords>
<Keywords name="Folder-">enddo endif end</Keywords>
<Keywords name="Operators">- % & ( ) * , . / : ; + < = ></Keywords>
<Keywords name="Comment">1 2 0!</Keywords>
<Keywords name="Words1">access action advance allocatable allocate apostrophe assign assignment associate asynchronous backspace bind blank blockdata call case character class close common complex contains continue cycle data deallocate decimal delim default dimension direct dowhile double doubleprecision else elseif elsewhere encoding end endassociate endblockdata endfile endforall endfunction endinterface endmodule endprogram endselect endsubroutine endtype endwhere entry eor equivalence err errmsg exist exit external file flush fmt forall form format formatted function go goto id if implicit in include inout integer inquire intent interface intrinsic iomsg iolength iostat kind len logical module name named namelist nextrec nml none nullify number only open opened operator optional out pad parameter pass pause pending pointer pos position precision print private program protected public quote read readwrite real rec recl recursive result return rewind save select selectcase selecttype sequential sign size stat status stop stream subroutine target to type unformatted unit use value volatile wait where while write</Keywords>
<Keywords name="Words2">abs achar acos acosd adjustl adjustr aimag aimax0 aimin0 aint ajmax0 ajmin0 akmax0 akmin0 all allocated alog alog10 amax0 amax1 amin0 amin1 amod anint any asin asind associated atan atan2 atan2d atand bitest bitl bitlr bitrl bjtest bit_size bktest break btest cabs ccos cdabs cdcos cdexp cdlog cdsin cdsqrt ceiling cexp char clog cmplx conjg cos cosd cosh count cpu_time cshift csin csqrt dabs dacos dacosd dasin dasind datan datan2 datan2d datand date date_and_time dble dcmplx dconjg dcos dcosd dcosh dcotan ddim dexp dfloat dflotk dfloti dflotj digits dim dimag dint dlog dlog10 dmax1 dmin1 dmod dnint dot_product dprod dreal dsign dsin dsind dsinh dsqrt dtan dtand dtanh eoshift epsilon errsns exp exponent float floati floatj floatk floor fraction free huge iabs iachar iand ibclr ibits ibset ichar idate idim idint idnint ieor ifix iiabs iiand iibclr iibits iibset iidim iidint iidnnt iieor iifix iint iior iiqint iiqnnt iishft iishftc iisign ilen imax0 imax1 imin0 imin1 imod index inint inot int int1 int2 int4 int8 iqint iqnint ior ishft ishftc isign isnan izext jiand jibclr jibits jibset jidim jidint jidnnt jieor jifix jint jior jiqint jiqnnt jishft jishftc jisign jmax0 jmax1 jmin0 jmin1 jmod jnint jnot jzext kiabs kiand kibclr kibits kibset kidim kidint kidnnt kieor kifix kind kint kior kishft kishftc kisign kmax0 kmax1 kmin0 kmin1 kmod knint knot kzext lbound leadz len len_trim lenlge lge lgt lle llt log log10 logical lshift malloc matmul max max0 max1 maxexponent maxloc maxval merge min min0 min1 minexponent minloc minval mod modulo mvbits nearest nint not nworkers number_of_processors pack popcnt poppar precision present product radix random random_number random_seed range real repeat reshape rrspacing rshift scale scan secnds selected_int_kind selected_real_kind set_exponent shape sign sin sind sinh size sizeof sngl snglq spacing spread sqrt sum system_clock tan tand tanh tiny transfer transpose trim ubound unpack verify</Keywords>
<Keywords name="Words3">cdabs cdcos cdexp cdlog cdsin cdsqrt cotan cotand dcmplx dconjg dcotan dcotand decode dimag dll_export dll_import doublecomplex dreal dvchk encode find flen flush getarg getcharqq getcl getdat getenv gettim hfix ibchng identifier imag int1 int2 int4 intc intrup invalop iostat_msg isha ishc ishl jfix lacfar locking locnear map nargs nbreak ndperr ndpexc offset ovefl peekcharqq precfill prompt qabs qacos qacosd qasin qasind qatan qatand qatan2 qcmplx qconjg qcos qcosd qcosh qdim qexp qext qextd qfloat qimag qlog qlog10 qmax1 qmin1 qmod qreal qsign qsin qsind qsinh qsqrt qtan qtand qtanh ran rand randu rewrite segment setdat settim system timer undfl unlock union val virtual volatile zabs zcos zexp zlog zsin zsqrt</Keywords>
<Keywords name="Words4">eq and or ne ge gt le lt true false</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="0080C0" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="808080" 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="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
The userDefineLang.xml file extract below has a few additions and corrections over the one I posted previously. Also, here's a fuller description.
The "FortranFreeform" language recognizes keywords and certain syntax items for free-format Fortran (commonplace in .f90 files). It differs from the built-in Fortran in a number of ways: it uses '!' to initiate comments, it does not treat columns 1-6 as special, and it includes a larger number of keywords and built-in function names.
Some limitations: because Fortran allows spaces to be inserted almost anywhere (including the middle of keywords), common keywords such as enddo and endif are frequently (and legally) split up (end do, end if, etc.). This makes it impossible to implement "folders" properly in a user-defined language. Also, because user-defined languages do not recognize non-decimal characters as parts of numbers, floating point numbers such as 1.23e+4 are not shown as a single item (i.e., 1234 are colored as numerals, .e+ are uncolored).
If you want Notepad++ to recognize a .f90, .f95, or .f2k file as FortranFreeform, you must manually edit the file "langs.xml" (in the same directory as the notepad++.exe executable). In the tag defining <Language name="fortran" ... > remove "f90 f95 f2k" from the set of values for "ext=").
Regards.
Greg
<UserLang name="FortranFreeform" ext="f90 f95 f2k">
<Settings>
<Global caseIgnored="yes" />
<TreatAsSymbol comment="no" commentLine="yes" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">'"0'"0</Keywords>
<Keywords name="Folder+">do then</Keywords>
<Keywords name="Folder-">enddo endif end</Keywords>
<Keywords name="Operators">- % & ( ) * , . / : ; + < = ></Keywords>
<Keywords name="Comment">1 2 0!</Keywords>
<Keywords name="Words1">access action advance allocatable allocate apostrophe assign assignment associate asynchronous backspace bind blank blockdata call case character class close common complex contains continue cycle data deallocate decimal delim default dimension direct dowhile double doubleprecision else elseif elsewhere encoding end endassociate endblockdata endfile endforall endfunction endinterface endmodule endprogram endselect endsubroutine endtype endwhere entry eor equivalence err errmsg exist exit external file flush fmt forall form format formatted function go goto id if implicit in include inout integer inquire intent interface intrinsic iomsg iolength iostat kind len logical module name named namelist nextrec nml none nullify number only open opened operator optional out pad parameter pass pause pending pointer pos position precision print private program protected public quote read readwrite real rec recl recursive result return rewind save select selectcase selecttype sequential sign size stat status stop stream subroutine target to type unformatted unit use value volatile wait where while write</Keywords>
<Keywords name="Words2">abs achar acos acosd adjustl adjustr aimag aimax0 aimin0 aint ajmax0 ajmin0 akmax0 akmin0 all allocated alog alog10 amax0 amax1 amin0 amin1 amod anint any asin asind associated atan atan2 atan2d atand bitest bitl bitlr bitrl bjtest bit_size bktest break btest cabs ccos cdabs cdcos cdexp cdlog cdsin cdsqrt ceiling cexp char clog cmplx conjg cos cosd cosh count cpu_time cshift csin csqrt dabs dacos dacosd dasin dasind datan datan2 datan2d datand date date_and_time dble dcmplx dconjg dcos dcosd dcosh dcotan ddim dexp dfloat dflotk dfloti dflotj digits dim dimag dint dlog dlog10 dmax1 dmin1 dmod dnint dot_product dprod dreal dsign dsin dsind dsinh dsqrt dtan dtand dtanh eoshift epsilon errsns exp exponent float floati floatj floatk floor fraction free huge iabs iachar iand ibclr ibits ibset ichar idate idim idint idnint ieor ifix iiabs iiand iibclr iibits iibset iidim iidint iidnnt iieor iifix iint iior iiqint iiqnnt iishft iishftc iisign ilen imax0 imax1 imin0 imin1 imod index inint inot int int1 int2 int4 int8 iqint iqnint ior ishft ishftc isign isnan izext jiand jibclr jibits jibset jidim jidint jidnnt jieor jifix jint jior jiqint jiqnnt jishft jishftc jisign jmax0 jmax1 jmin0 jmin1 jmod jnint jnot jzext kiabs kiand kibclr kibits kibset kidim kidint kidnnt kieor kifix kind kint kior kishft kishftc kisign kmax0 kmax1 kmin0 kmin1 kmod knint knot kzext lbound leadz len len_trim lenlge lge lgt lle llt log log10 logical lshift malloc matmul max max0 max1 maxexponent maxloc maxval merge min min0 min1 minexponent minloc minval mod modulo mvbits nearest nint not nworkers number_of_processors pack popcnt poppar precision present product radix random random_number random_seed range real repeat reshape rrspacing rshift scale scan secnds selected_int_kind selected_real_kind set_exponent shape sign sin sind sinh size sizeof sngl snglq spacing spread sqrt sum system_clock tan tand tanh tiny transfer transpose trim ubound unpack verify</Keywords>
<Keywords name="Words3">cdabs cdcos cdexp cdlog cdsin cdsqrt cotan cotand dcmplx dconjg dcotan dcotand decode dimag dll_export dll_import doublecomplex dreal dvchk encode find flen flush getarg getcharqq getcl getdat getenv gettim hfix ibchng identifier imag int1 int2 int4 intc intrup invalop iostat_msg isha ishc ishl jfix lacfar locking locnear map nargs nbreak ndperr ndpexc offset ovefl peekcharqq precfill prompt qabs qacos qacosd qasin qasind qatan qatand qatan2 qcmplx qconjg qcos qcosd qcosh qdim qexp qext qextd qfloat qimag qlog qlog10 qmax1 qmin1 qmod qreal qsign qsin qsind qsinh qsqrt qtan qtand qtanh ran rand randu rewrite segment setdat settim system timer undfl unlock union val virtual volatile zabs zcos zexp zlog zsin zsqrt</Keywords>
<Keywords name="Words4">eq and or ne ge gt le lt true false</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="0080C0" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="808080" 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="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
The problem with php sintax is also fixed (the which one involves <!-- --> use inside a string).
I'm running Windows 2000 SP4 and I can't see the right icons for each file extension. Will this be fixed on this version?
There's no text describing Next/Previous Document (Ctrl+Tab, Ctrl+Shift+Tab) in the Shortcut Mapper.
Using Tab to move between *tabs* is pretty standard nowadays, but I'm used to Ctrl+PgUp, Ctrl+PgDn, so the first thing I do when a new N++ is released is reassign the two keys.
RE: What's your windows version?
WinXP Pro w/ SP2 English, up-to-date patches.
Rename "plugins" directory to "plugins.bak" then try again.
Let me know if it works.
Is anyone in here has the same problem?
If yes, please post here your windows version.
Don
I see the plugins launch differently.
4.0.2RC still has the printer crash, on Win2000, where ^P and print now icon
works OK, but file.printnow, or file.print.[ok] causes an immediate crash.
As before if I remove the hexeditor.dll, and functionlist.dll from the
/plugins dir, then the crashes go away.
That's strange...
All print commands work for me under w2k. (even via the menu File)
Don
Jens sent some new DLLs (dated 8 feb), and they did change things slightly.
Before I needed BOTH DLLs present to cause the crash,
Now, just _either_ hexEditor or FunctionList DLL present will give the
problem [R6025 Pure virtual function call GPF].
Remove them, and it's fine again : All print paths work OK.
Machine has been rebooted recently for a larger SW install, and that made
no difference.
I should add that this print problem first appeared in V4.0x;
V3.9, and earlier, are fine. 4.0.1 and 4.0.2 both crash on File.PrintNow,
but are ok on Icon.PrintNow
FYI: It turns out that shortcuts for Next/Previous Document aren't saved between sessions.
When focus returns to notepad++, i can't write without clicking on the text area, it's a little annoyning
Whenever i Click on Notepad++ Systray icon, notepad++ comes up but doesnt get the focus of the cursor. i have to click on the notepad++ in taskbar to get it maximized. this happens for me since Version 3.8. I use windows XP SP2.
regards
Gururaja
I have to problems with this (win2000).
I can type, jump to (eg) acrobat, click NP++ icon to jump back, and continue typing, in
the last active tab, at the last cursor XY. Works fine ?
Even works in Incremental search window as well :) [but not in main search window]
oops, typo :
" I have to problems with this (win2000)."
should have been
" I have no problems with this (win2000)."
Close pop-up windows on ESC, please.
For example:
Close windows "About" on ESC, not just "enter" or "spacebar"
Russ follows
Добый день! Супер программа!
Добавь закрытие окошек по ESC, пожалуйста.
Например, "About", "Find" и подобные мне удобно закрывать по ESC.
Спасибо.
Борис.
Please, insert in Notepad++ function convert OEM(ASCI) -> ANSI and view OEM(ASCI) codepadge.
Ops, this function is plugin ConvertExt...