Hi Max, >> 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? > > The code is just using an EditEngine, so you can pass any > TextAttrib(which included a method SetFont( Font& rFont ) ) to it. > > The only thing I can think of right now which might make sense is a bold > attribute. But where to put it? One option would be an additional column > and check box in Tools- OOo- Appearance, but not sure if this is really > nice. Probably we don't even need bold.
we also do not *need* syntax highlighting :) Well, the problems you sketch is what I tried to say with my "how to bring this to the options UI?". In general, I'd say either the full set of attributes, or none (except color). Which boils down to "none" for the initial version, I think. But we can keep this in mind as future task for later improvement. 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]
