Scintilla is a free source code editing component for Win32 and GTK+
developed 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.
FXScintilla can be downloaded from the FXScintilla project pages on
Savannah: http://savannah.nongnu.org/projects/fxscintilla/
To subscribe to any of these lists, please refer to the instructions on the
FXScintilla project page at: http://savannah.nongnu.org/projects/fxscintilla/.
Please refer to the file INSTALL.
FXScintilla should compile on every platform where both FOX and Scintilla
are available : Win32 and Unix systems.
#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"); // Instantiating an FXScintilla widget FXScintilla * scint = new FXScintilla(win, NULL, 0, LAYOUT_FILL_X|LAYOUT_FILL_Y); // The Scintilla programming interface is through messages // like MS 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; } |
Questions or comments regarding this project should be directed to the fxscintilla-users mailing list.
Bug reports may be submitted at: http://savannah.nongnu.org/bugs/?group=fxscintilla
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