wxWidgets/src/stc
2001-10-20 17:49:06 +00:00
..
scintilla A fix for Scintilla's case insensitive sort routine 2001-10-18 01:27:16 +00:00
gen_iface.py A couple little fixes for wxSTC 2001-09-04 23:42:13 +00:00
makefile.b32 Updated to version 1.40 of Scintilla 2001-10-18 01:24:58 +00:00
makefile.g95 Updated to version 1.40 of Scintilla 2001-10-18 01:24:58 +00:00
Makefile.in Updated to version 1.40 of Scintilla 2001-10-18 01:24:58 +00:00
makefile.vc Updated to version 1.40 of Scintilla 2001-10-18 01:24:58 +00:00
PlatWX.cpp Put the vertical limit back in for the AutoCOmp list box 2001-10-20 17:49:06 +00:00
README.txt
ScintillaWX.cpp Updated to version 1.40 of Scintilla 2001-10-18 01:24:58 +00:00
ScintillaWX.h Upgraded to version 1.39 of Scintilla, and upated wxStyledTextCtrl 2001-09-01 03:06:33 +00:00
stc.cpp Updated to version 1.40 of Scintilla 2001-10-18 01:24:58 +00:00
stc.cpp.in Updated to version 1.40 of Scintilla 2001-10-18 01:24:58 +00:00
stc.h.in Second phase of OOR completed. (Original python object return for 2001-10-12 23:26:38 +00:00
StcVC.dsp merged 2.2 branch 2000-07-15 19:51:35 +00:00
StcVC.dsw

This contrib is the wxStyledTextCtrl, which is a wrapper around the
Scintilla edit control.  (See www.scintilla.org)

There is still VERY MUCH to be done, most notable of which is a more
advanced sample that exercises more of the code.  (I havn't tested
AutoComplete or CallTips, or most of the event types at all yet.)  And
also documentation, adding wrappers for some new scintilla
functionality, building and testing on wxGTK, etc.  Be patient, it all
will get there soon.



Let me describe a bit about the architecture I am implementing...
Obviously there is the Platform layer which implements the varioius
platform classes by using wxWindows classes and filling in where
needed.  Then there is a ScintillaWX class that is derived from
ScintillaBase and implements the necessary virtual methods that
Scintilla needs to fully funciton.  This class however is not meant to
ever be used directly by wx programmers.  I call it one end of the
bridge between the wx and Scintilla worlds.  The other end of the
bridge is a class called wxStyledTextCtrl that looks, feels and acts
like other classes in wxWindows.  Here is a diagram:


 +------------------+          +-------------------+
 | wxStyledTextCtrl |--bridge--|    ScintillaWX    |
 +------------------+          +-------------------+
                               |   ScintillaBase   |
                               +-------------------+
                               |       Editor      |
                               +-------------------+
                               |     PlatWX        |
                               +-------------------+


wxStyledTextCtrl derives from wxControl so it has a window that can be
drawn upon.  When a wxStyledTextCtrl is constructed it constructs a
ScintillaWX for itself and passes itself to the scintilla object to be
set as the wMain and wDraw attributes.  All method calls on the STC
are sent over the bridge in the form of calls to ScintiallWX::WndProc.
All notifications are sent back over the bridge and turned into
wxEvents.


Robin