Skip to content
Newer
Older
100644 76 lines (52 sloc) 3 KB
eba3580 @djs Initial commit - Notepad2 4.1.24
authored
1
2 =======================================================================
3 = =
4 = =
5 = Notepad2 - light-weight Scintilla-based text editor for Windows =
6 = =
7 = =
e94bb31 @djs Notepad2 4.2.25-rc7
authored
8 = Notepad2 4.2.25 =
9 = (c) Florian Balmer 2004-2011 =
eba3580 @djs Initial commit - Notepad2 4.1.24
authored
10 = http://www.flos-freeware.ch =
11 = =
12 = =
13 =======================================================================
14
15
16 The Notepad2 Source Code
17
e94bb31 @djs Notepad2 4.2.25-rc7
authored
18 This package contains the full source code of Notepad2 4.2.25 for
eba3580 @djs Initial commit - Notepad2 4.1.24
authored
19 Windows. Project files for Visual C++ 7.0 are included. Chances are
20 that Notepad2 can be rebuilt with other development tools, including
21 the free Visual C++ Express Edition, but I haven't tested this.
22
23
24 Rebuilding from the Source Code
25
e94bb31 @djs Notepad2 4.2.25-rc7
authored
26 Notepad2 4.2.25-rc7 is based on Scintilla 2.24 [1].
eba3580 @djs Initial commit - Notepad2 4.1.24
authored
27
28 [1] http://www.scintilla.org
29
e94bb31 @djs Notepad2 4.2.25-rc7
authored
30 To be able to rebuild Notepad2, the source code of the Scintilla
31 editing component has to be unzipped to the "scintilla" subdirectory
32 of the Notepad2 source code directory.
eba3580 @djs Initial commit - Notepad2 4.1.24
authored
33
e94bb31 @djs Notepad2 4.2.25-rc7
authored
34 Many of the Scintilla lexing modules are not used by Notepad2. Run
35 LinkLex.js to adapt the list (in "scintilla/src/Catalogue.cxx") and
36 make linking work properly.
eba3580 @djs Initial commit - Notepad2 4.1.24
authored
37
38
39 Creating a Compact Executable Program File
40
41 Linking to the system CRT slightly improves disk footprint, memory
42 usage and startup because the pages for the system CRT are already
43 loaded and shared in memory. To achieve this, the release version of
44 Notepad2.exe is built using the Windows Driver Kit (WDK) 7.1.0 tools,
45 available as a free download from Microsoft. The appropriate build
46 scripts can be found in the "wdkbuild" subdirectory. Set %WDKBASEDIR%
e94bb31 @djs Notepad2 4.2.25-rc7
authored
47 to the directory of the WDK tools on your system.
eba3580 @djs Initial commit - Notepad2 4.1.24
authored
48
49
50 How to add or modify Syntax Schemes
51
52 The Scintilla documentation has an overview of syntax highlighting,
53 and how to write your own lexing module, in case the language you
54 would like to add is not currently supported by Scintilla.
55
56 Add your own lexer data structs to the global pLexArray (Styles.c),
57 then adjust NUMLEXERS (Styles.h) to the new total number of syntax
e94bb31 @djs Notepad2 4.2.25-rc7
authored
58 schemes. Include the "scintilla/lexers/Lex*.cxx" file required for
59 your language into your project. Ensure the new module is initialized
60 (in "scintilla/src/Catalogue.cxx"), either by manually uncommenting
61 the corresponding LINK_LEXER() macro call, or by updating and
62 re-running LinkLex.js.
eba3580 @djs Initial commit - Notepad2 4.1.24
authored
63
64
65 Copyright
66
67 See License.txt for details about distribution and modification.
68
69 If you have any comments or questions, please drop me a note:
70 florian.balmer@gmail.com
71
e94bb31 @djs Notepad2 4.2.25-rc7
authored
72 (c) Florian Balmer 2004-2011
eba3580 @djs Initial commit - Notepad2 4.1.24
authored
73 http://www.flos-freeware.ch
74
75 ###
Something went wrong with that request. Please try again.