Menu

Notepad++ v4.0.2 RC

Don HO
2007-02-05
2012-11-13
1 2 > >> (Page 1 of 2)
  • Don HO

    Don HO - 2007-02-05

    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

     
    • Nobody/Anonymous

      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

       
    • Nobody/Anonymous

      Will this release fix the wrong icons problem? Are you working on that?

       
    • Nobody/Anonymous

      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.

       
      • Don HO

        Don HO - 2007-02-06

        What's your windows version?

        Don

         
    • Nobody/Anonymous

      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 "!  *****"

       
      • Greg Bullock

        Greg Bullock - 2007-02-08

        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">&apos;&quot;0&apos;&quot;0</Keywords>
                    <Keywords name="Folder+">do then</Keywords>
                    <Keywords name="Folder-">enddo endif end</Keywords>
                    <Keywords name="Operators">- % &amp; ( ) * , . / : ; + &lt; = &gt;</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>

         
        • Greg Bullock

          Greg Bullock - 2007-02-09

          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">&apos;&quot;0&apos;&quot;0</Keywords>
                      <Keywords name="Folder+">do then</Keywords>
                      <Keywords name="Folder-">enddo endif end</Keywords>
                      <Keywords name="Operators">- % &amp; ( ) * , . / : ; + &lt; = &gt;</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>

           
    • Nobody/Anonymous

      The problem with php sintax is also fixed (the which one involves <!-- --> use inside a string).

       
    • Nobody/Anonymous

      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?

       
    • Nobody/Anonymous

      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.

       
    • Nobody/Anonymous

      RE: What's your windows version?
      WinXP Pro w/ SP2 English, up-to-date patches.

       
      • Don HO

        Don HO - 2007-02-10

        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

         
    • jmg_

      jmg_ - 2007-02-06

      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.

       
      • Don HO

        Don HO - 2007-02-10

        That's strange...
        All print commands work for me under w2k. (even via the menu File)

        Don

         
        • jmg_

          jmg_ - 2007-02-10

          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.

           
          • jmg_

            jmg_ - 2007-02-10

            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

             
    • Nobody/Anonymous

      FYI: It turns out that shortcuts for Next/Previous Document aren't saved between sessions.

       
    • Nobody/Anonymous

      When focus returns to notepad++, i can't write without clicking on the text area, it's a little annoyning

       
    • Nobody/Anonymous

        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

       
      • jmg_

        jmg_ - 2007-02-08

        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]

         
        • jmg_

          jmg_ - 2007-02-08

          oops, typo :
          " I have to problems with this (win2000)."
          should have been
          " I have no problems with this (win2000)."

           
    • Nobody/Anonymous

      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.
      Спасибо.
      Борис.

       
    • Nobody/Anonymous

      Please, insert in Notepad++ function convert OEM(ASCI) -> ANSI and view OEM(ASCI) codepadge.

       
    • Nobody/Anonymous

      Ops, this function is plugin ConvertExt...

       
1 2 > >> (Page 1 of 2)
Auth0 Logo