I have not really used wxCode in some time since I have had my own website. I got it about a year and a half ago. Along with my other interests I have my software on there. I have kept XSTC up-to-date in wxCode-svn but not done too much with releases here. I have also been keeping up pretty well with updating the Scintilla code in wxScintilla. I also add the lexer definitions to wxScintilla.h so that the updates are useful with respect to new languages. I just put 2.20 in and put it up on my website. an uo-to-date version is the biggest reason to use wxSci over stc which is not maintained much unless more recent activity is sign of a new maintainer??

XSTC is only missing the newest 2 languages, that's almost 100 languages supported by Scintilla now I think. I am about to put up a Scintilla document manager as well, it handles the reference counting and swapping out documents in a single scintilla instance and takes care of clean-up when things close out. Also I have done some work where it will restore document specific settings that Scintilla forgets about when you swap out a document, like the folding state. This was built in part to be a helper for XSTC, but I hope to make it work without wxWidgets as well for other crowds.

I will update the website portion of XSTC and possibly wxScintilla to reflect the website location and where to get the "real" newest stuff.

http://nuklearzelph.org/

is the website address.

I have done a lot of work to XSTC since I first put it out on wxCode, the main goal is to make the repetitive tasks in a text editor using Scintilla less of a burden. XSTC sets up the margins, activates the mouse sensitive bits and gives you a bookmark marker immediately. It uses a global theme to keep the look n feel of all the different sources you edit the same. There are some built in themes that emulate some well known color schemes like Matrix or Borland and some lesser known ones. It also has a fully Scintilla specific configuration system already to go and working. Unlike wxSTed where it takes care of many features of an editor, XSTC takes care of many features of Scintilla for you. Coloring is mostly automatic but still configurable. Folding will magically work for lexers that support it. Each style in Scintilla has a configuration setting ready to go and several non-style related options are also set up. Folding symbols can be configured by a mere function call. XSTC also has a couple utility functions, one to convert tabs to spaces or the other way around and another to trim trailing spaces in the whole document. I am planning on trying to support some kind of multi-line editing similar to 'e' / texmate later on. I am also planning on a simple macro recorder/playback class as well.

XSTC also supports default keywords built in and managed automatically but they can be user changed any time, also you can turn it off if you want since all those strings can be a big memory hog. The biggest issue i have with the keywords and styles in not knowing what they do for each of the languages they are suppose to be coloring so its difficult to make good default color decisions. If there is anyone who knows some that can help out with that part id appreciate it.

Some of the improvement I have make are:
I rebuilt the configuration system to use wxConfig completely, the first version I had was poor but did the job. XSTC now uses your configuration object rather than forcing you to use its own, you manage the config object completely it just uses it to read up what it needs. I made the xstc specific config location relative now so it can be set anywhere within the config structure rather than always taking place on the root. I added support for the color database so that string color names can be used in the configuration files and I made the config routines triple redundant and can fall back on defaults if necessary rather than failing. You can load a full theme from configs that works just like the built in versions. And added a fully config based theme called Fire. I have mostly kept up with the new lexers in Scintilla and added support for those languages including the global theming that makes coloring automatic. I'm only 2 short at the moment.
XSTC support for each language can be toggled individually
I added support for numbered bookmarks like in Dev-C++, 0-9
some of the less obvious functionalities of Scintilla are make options that are easy to turn on or off

This is kind of an overview of what has been done and hopefully some people will take interest or reinterest. I have some other irons in the fire as well that may be of interest to a text editor junkie. I'd be more than interested to hear any feature requests, get patches or bug reports too ;)

Nuklear Zelph
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to