[b92ed1]: README.md Maximize Restore History

Download this file

README.md    108 lines (87 with data), 4.2 kB

SciTE with custom extensions

This is a fork of SciTE to add various extensions to make a good programmer's
"notepad" of it. Some of the extensions I would like to get included in the official
SciTE version, others would be probably not accepted.

  • Microsoft Visual Studio projects and solution for building
  • Keep the last file position and folding state
  • Configurable padding for calltips
  • Rounded-corner calltips with gradient fill
  • Displaying calltips on mouse hover
  • Alternative regular expressions
  • Extended OScript support
  • Scintillua with OScript support

SciTE options are updated with the new properties and the documentation contains their
description.

#store.filestate.on.close=1
#restore.filestate.on.load=1
#filestate.max.count=1000
#filestate.position=0
#filestate.bookmarks=1
#filestate.folds=0

#calltip.padding.horizontal=1
#calltip.padding.vertical=1

#calltip.rounded=0
#calltip.gradient=0

#calltip.on.dwell=0

#regex.impl=pcre

How to build it

This branch is based on the branch vcbuild which makes the development with the
Microsoft Visual Studio easier by adding projects (.vcxproj files) and
a solution (.sln file).

I recommend you placing SciTE's sources next to sources of Scintilla and
other libraries and build all using the MS VS solution file from SciTE. You should
clone them this way (to the same directory):

hg clone http://hg.code.sf.net/u/prantl/scintilla scintilla
hg clone http://hg.code.sf.net/u/prantl/scite scite
hg clone https://bitbucket.org/prantlf/scintillua scintillua
hg clone https://bitbucket.org/prantlf/pcre pcre
hg clone https://bitbucket.org/prantlf/re2 re2
git clone https://github.com/prantlf/tre.git tre

If you choose different name than scintilla you'll have to update the solution for
building SciTE. The branches vcbuild contain the vanilla Scintilla and SciTE with the
MS VS projects and solution and no other changes. (Other branches contain additional
changes.) The project and solution files are available in folders vcbuild:

  • scintilla\vcbuild
  • scite\lua\vcbuild
  • scite\vcbuild
  • scintillua\vcbuild
  • pcre\vcbuild
  • re2\vcbuild
  • tre\vcbuild

The solution file to build both Scintilla and SciTE is in the folder scite\vcbuild.
You can open it, hit F5 and start debugging. Necessary files are built and copied
to scite\vcbuild\Debug or scite\vcbuild\Release.' If you want to create a package
(.zip file) for the binary distribution, you can use zipvcscite or zipvcscited.
The original batches zipsrc and delbin have been updated.

Before you start building you'll have to download and compile ICU and Boost. Go to the
parent directory of the folder where you cloned the sources listed above:

  1. Unpack icu4c-50_1_2-src.zip.
  2. Enter the icu\source directory and add MS VS and Cygwin to PATH.
  3. bash runConfigureICU Cygwin/MSVC --disable-shared --enable-static
    --enable-release --disable-debug
  4. make
  5. mv bin/ ../bin; mv lib/ ../lib
  6. bash runConfigureICU Cygwin/MSVC --disable-shared --enable-static
    --disable-release --enable-debug
  7. make
  8. mv bin/ ../bin; mv lib/ ../lib

  9. Unpack boost_1_53_0.7z.

  10. Enter the boost_1_53_0 directory and add MSVC to PATH.
  11. bootstrap
  12. b2 toolset=msvc --with-regex -sICU_PATH=..\icu
    define=U_STATIC_IMPLEMENTATION=1 link=static

See README to learn how to build and install the original SciTE. You can build this
branch the traditional way too.