wxStEditor

Copyright : 2006, John Labenski, Otto Wyss.
License : wxWindows license.

This library/program is free software; you can redistribute it and/or modify it under the terms of the wxWindows License; either version 3 of the License, or (at your option) any later version.

This library/program 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 wxWindows License for more details.

If you use this program/library and find any bugs or have added any features that you feel may be generally useful, please feel free to contact the author by e-mail at jrl1[at]sourceforge[dot]net.

Overview :

The wxStEditor is a library and sample program for the wxWidgets's wxStyledTextCtrl wrapper around the Scintilla text editor widget. This program is meant to be a demonstration of the wxStEdit library and has turned out to be a fairly capable syntax highlighting text editor with a number of advanced features.

What does the ST in wxStEditor stand for? Either styled text or Scintilla text, your choice.

The core for the editor was originally based on Otto Wyss's wxGuide editor.

References :

http://wxcode.sourceforge.net
http://www.wxwidgets.org
http://www.scintilla.org
http://bakefile.sourceforge.net

Features : (at a glance)

Running the Editor

The editor accepts a few command line options. In MS Window the options are /x while in UNIX they use -x, where 'x' is the option.

Editors

You enter text in the editors as you would with any typical editor. A popup menu is shown by right clicking the mouse in the editor window, please review the "Menu Items" section for details.

Key and Mouse Mapping

The keys used for editing are typical, arrow keys move around, page up/down to move by full pages. Some of the more specialized keys are shown below, other "hotkeys" are shown in the menu items of the editor.

Splitting Editors

The editors can be split vertically or horizontally to view two parts of the same document at once. You can edit in either part. There are menu items to do this in the "Window" menu or you can use the splitter buttons located on top of the vertical scrollbar or on the right of the horizontal scrollbar. To unsplit the editor just drag the splitter bar to the side so that that editor in the position you want to save takes the full window.

Notebook

The notebook menu is accessed by right clicking the mouse on the notebook tabs. The items in this menu are fairly straightforward, please review the "Menu Items" section for details.

You can close a notebook page quickly by middle clicking on the tab you want to close.

Menu Items :

Help is also given for the menu items in the statusbar. Note that menu items that end with "..." will popup a dialog which you can cancel to not take any action.

Preferences Dialog

The preferences dialog allows you to change a variety of preferences for the editor.