| Scintilla and Tide |
|
Beta version 0.82. Site last modified April 1 1999. |
Problem found in 0.81 with handling Enter key with PythonWin 124. Version 0.82 fixes this.
Changes since previous (March 14) shown with coloured background.
Scintilla is a free source code editing component.
As well as features found in standard text editing components, Scintilla includes
features especially useful when editing and debugging source code.
These include support for syntax styling, error indicators, code completion and
call tips.
The selection margin can contain markers like those used
in debuggers to indicate breakpoints and the current line.
Styling choices are more open than with many editors, allowing the use of
proportional fonts, bold and italics, multiple foreground and background
colours and multiple fonts.
It comes with complete source code and may be used in any free project or
commercial product.
Tide is a Tiny Integrated Development Environment based upon Scintilla. Originally built to demonstrate Scintilla, it has grown to be a generally useful editor with facilities for building and running programs. It is best used for jobs with simple configurations - I use it for building test and demonstration programs.
Development of Scintilla started as an effort to improve the text
editor in PythonWin. After being frustrated by problems in the Richedit
control used by PythonWin, it looked like the best way forward was to
write a new edit control.
The biggest problem with Richedit and other similar controls is that they treat
styling changes as important persistent changes to the document so they are
saved into the undo stack and set the document's dirty flag. For source code,
styling should not be persisted as it can be mechanically recreated.
Mark Hammond has been working on this as well and
PythonWin build 124
now includes Scintilla support and includes a copy
of Scintilla version 0.8. PythonWin can use the newer version of
Scintilla.DLL, 0.81, by copying it over the older version in the
Python\PythonWin directory. Some of the new features in Scintilla are
a result of experience integrating Scintilla into PythonWin.
Scintilla and Tide are currently available for Intel Win32 and have been run
on Windows 95 and NT.
Here is a screenshot of Tide.
A version for GTK+/X/Linux is being developed but is quite shaky at present.
You can download a beta version of Scintilla and Tide.
You can write to me, Neil Hodgson, at neilh@hare.net.au.