See class SyntaxHighlighter in basic/inc/basic/hilight.hxx. I don't believe there is some UNO API.
Malte. Thomas Krumbein wrote, On 10/30/07 11:47: > Hey, > > I am working on an extention for easy code-dokumentation. Therefor I > want to import code (from basic-bibliotheks) to a writer document - > adding some spezial informations like line-numbers and so on. > OK, technical no problem, but inside the Basic-IDE we have nice > code-highlighting which I would like to add. > > There should be some code inside OOo, which identifies keywords, > strings, comments and so on. Is it possible to use this code-fragments > from UNO? > > Can somebody give me some hints, where I can find some more informations > - or some code-snipplets? > > Thanks in advance > > Thomas > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]