Replacing SciLexer.dll with updated version?

2005-04-30
2012-11-13
  • Nobody/Anonymous

    If I compile SciLexer.dll from the default makefile supplied with Scintilla (for compilation using the VC71 command-line tools), can I overwrite the SciLexer.dll in the Np++ directory with that from a newer release of Scintilla, or is the Scintilla component used by Np++ customized specifically for Np++?  I did just that, and haven't noticed any problems *yet*.  The DLL is about half of the size.

    BTW, I tried building Np++ from the source using the VC71 tools.  The errors were too numerous to list and but appear to be the result of missing libraries.  All the standard VC71 and platform SDK includes and libs are in my path.  However, since there is no makefile, I used the vcbuild tool to build from the project file (I have NOT install ed MS's IDE).  Are there any unusual requirements which are likely candidates for the failure?  Compiling np++ isn't high enough of a priority to me to spend a lot of time figuring out the source of the problem, but if anyone has any hints off the top of their head, I wouldn't mind giving it another whirl...

     
    • Nobody/Anonymous

      > I did just that, and haven't noticed any problems *yet*.
      >
      > Basically, you can. If you don't need the User Defined Language
      > System, and some language.

      Oops. ;-) In that case, I will stick to using the original component.
      There is really no need for me to compile from the source. My reason
      for trying to do so is mainly to increase my familiarity with building
      projects in a Windows environment.

      >> The DLL is about half of the size.
      >
      > I'll reduce the DLL size in the next release. However, it'll be a
      > little more than the Scintilla official release since Notepad++'s one
      >  has build-in lexer for the User Defined Language System.

      Oh, I didn't mean to imply that the size of the DLL was of importance
      per se, just that the difference in size may have been an indication
      that I was not producing a "Notepad++ compatible" DLL.

      >> if anyone has any hints off the top of their head, I wouldn't mind
      >>  giving it another whirl...
      >
      > Comile with the project file will save your time. If someone want to
      >  contribute for the VC makefile, he's very welcome.

      I'd be glad to do so, assuming of course my build process does not
      produce any errors. :-)

      I did compile from the project file, using the "VCBuild" command line
      program (link: http://www.gotdotnet.com/team/cplusplus/\)

      I found a much older message in the forums (thread:
      http://sourceforge.net/forum/forum.php?thread_id=1054946&forum_id=331754\),
      in which you replied with the following remark to another user
      attempting to compile Notepad++:

      "You have to compile notepad++ with VC++ 7 and Scintilla
      component with MinGW 2.96 ~ 3.0"

      Is this still true? If so, that would certainly explain my problem.

      Last, but certainly not least, thank you for releasing Notepad++ to the
      public! It is quite unique from most other text and source code editors,
      and the more I use it, the more I appreciate these distinct features.

      Sorry for the "anonymous" posts, BTW. I'll have a sourceforge account
      from which to post in the future.

      Dave

       
    • Don HO

      Don HO - 2005-05-02

      > I did just that, and haven't noticed any problems *yet*.

      Basically, you can. If you don't need the User Defined Language System, and some language.

      > The DLL is about half of the size.

      I'll reduce the DLL size in the next release.
      However, it'll be a little more than the Scintilla official release since Notepad++'s one has build-in lexer for the User Defined Language System.

      > if anyone has any hints off the top of their head, I
      > wouldn't mind giving it another whirl...

      Comile with the project file will save your time.
      If someone want to contribute for the VC makefile,
      he's very welcome.

      Don

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks