Hello Paul,

> SQL Syntax Highlighting
> 
> I am interested in learning more information on how I can help with this
> project

Thanks for your interest in Base, and particular in this project!

I assume you have a working environment how to build/debug
OpenOffice.org? If not, http://tools.openoffice.org is the way to go, it
explains everything needed.

The general idea for this project is to replace the implementation which
does the SQL edit (named OSqlEdit, located in
dbaccess/source/ui/inc/sqledit.hxx resp.
dbaccess/source/ui/control/sqledit.cxx) with another implementation
which allows for syntax hilighting.

In general, there *are* facilities for hilighted text input in OOo - see
the Basic editor, for instance. What I know about those is that there is
a class for a editor window, which can be customized with an own syntax
scheme. What I don't know is how that works :)

So, an important step before any actual coding is to gain this
understanding. The Basic IDE is implemented in basctl/source/basicide,
as is the Basic syntax hilighting. Probably there are people which can
aid in this, this would be a question for [EMAIL PROTECTED]

Once one got this understanding, you should define a hilight scheme for
SQL statements, and then implement this scheme, using the facilities
also used in the Basic IDE, and replacing the OSqlEdit implementation.


Administration-wise, development happens in child workspaces (see
tools.openoffice.org for explainations of this concept). If you want to
embark on this project, we would need to create a CWS, where you can
check in your changes. CWS' are playgrounds, in some sense - everything
checked in is only visible in this CWS (technically they're branches in
the version control system), so you can't break anything.

For beginners, CWS administration (which is a non-trivial thing
sometimes) is taken over by more experienced mentors; for experienced
developers, it's expected they do this themselves.

So, do we want to start? :)

Ciao
Frank

PS: if you subscribe to [email protected], then your mails don't
need to pass moderation, which will speed up their appearance in the
list. For the moment, I CC'ed you in this mail, but I would appreciate
if we could continue the discussion primarily in [EMAIL PROTECTED]

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to