What is FXScintilla ? --------------------- Scintilla is a free source code editing component for Win32 and GTK+ developped by Neil Hodgson. For more information about Scintilla, see http://www.scintilla.org. The FOX GUI toolkit is a platform independent GUI library developped by Jeroen van der Zijp. For more information about FOX, see http://fox-toolkit.org. FXScintilla is an implementation of Scintilla for the FOX GUI Library. Where to get it ? ----------------- FXScintilla can be downloaded from the FXScintilla project pages on Savannah: http://savannah.gnu.org/projects/fxscintilla/ Mailing list ------------ There is two mailing lists related to FXScintilla: - fxscintilla-announce : FXScintilla new release and events announcement - fxscintilla-users : FXScintilla end users questions and discussions To subscribe to any of these lists, please see instuctions on the FXScintilla project page (http://savannah.gnu.org/projects/fxscintilla/). Installation ------------ Please refer to the file INSTALL. FXScintilla should compile on every platform where both FOX and Scintilla are available : Win32 and Unix systems. Getting started --------------- Here is a rough sample about how to integrate FXScintilla into a FOX app //-------------------------------------------------------- #include <fx.h> #include <Scintilla.h> #include <FXScintilla.h> int main(int argc, char ** argv) { FXApp application("test"); application.init(argc, argv); FXMainWindow * win = new FXMainWindow(&application, "Test"); // Instanciating an FXScintilla widget FXScintilla * scint = new FXScintilla(win, NULL, 0, LAYOUT_FILL_X|LAYOUT_FILL_Y); // The Scintilla programming interface is through messages // à la Windows (see scintilla/doc/ScintillaDoc.html) scint->sendMessage(SCI_STYLESETFONT, STYLE_DEFAULT, (long)"lucida"); scint->sendMessage(SCI_STYLESETSIZE, STYLE_DEFAULT, (long)10); scint->sendMessage(SCI_STYLECLEARALL, 0, 0); application.create(); win->show(PLACEMENT_SCREEN); application.run(); return 0; } //-------------------------------------------------------- Bugs ---- Please file bugs and questions to the mailing list fxscintilla-users. License ------- FXScintilla is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. FXScintilla is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with FXScintilla; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA _______Gilles Filippini <gilles.filippini@free.fr>_______
yetanothergeek/fxscintilla
An implementation of the Scintilla widget for the FOX GUI toolkit.
C++NOASSERTION