Hi Maximilian,

>  >The default colors (e.g. light green on white for strings) are ...
>  >  difficult :)
> 
> I totally agreee :-) Could you ask a Base UX engineer to provide me with 
> a set of colors? I guess this should respect the new galaxy colors as 
> well as default colors of BASIC IDE and Writer HTML source somehow.

Will try to catch Bettina Haberer, which usually is our UX contact.
Might take 'til next week.

>  >Is it also possible to customize aspects of a font other than color?
>  >That is, would it be possible with the implementation to have bold
>  >keywords?
> 
> sure, anything special you have in mind?

Except bold keywords - not really. However, adding this might make the
customization UI more difficult, since you cannot simply use the color
configuration dialog then.

So, my question is two questions, really:

Technically, does the underlying class for highlighted text (the one you
extracted from the Basic IDE) support different fonts for different text
portions, or only different colors?
If the latter, then everything else is meaningless. If the former, then:
What kind of font? A "Font" from VCL? Or any SvxFont (improbable)? The
latter has more attributes ...

Then, if it would be technically possible, the second question is: Do we
have a good idea how to customize this in the UI? Do we want to extend
the "Appearance" options, or introduce a new page?

Perhaps we should stay with "colors only" for the moment, everything
else might mean too much additional work for now.

> There was another request on german IRC channel to have a separate color 
> for parameters as well. I think this is a very good idea.

+1

> Could you tell
> me the exact syntax of these for the sql parser, so I can recognize them 
> correctly? (so can they end with a whitespace, or only a bracket or......)

either a mere question mark, or an identifier preceded by a colon. We
used to recognized a bracketed identifier as parameter, too
([parameter]), but IIRC we dropped this quite some time ago (too lazy to
try right now).

How much effort would it be to allow an additional separate "class" (aka
color) whose elements can be configured at runtime?

That is, at the moment both functions and SQL keywords use the same
color, though they are different. The list of supported functions
depends on the underlying database, and could be fed by the query
designer into the SQL editor.

Ciao
Frank

-- 
- 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