02.12.2013, 21:41
Blackbird schrieb:If i understood alright, this Callback is only for 1 Char ?No, it is per line. See the "While" loop...
Zitat:will i highlight a command like engine or id or title and other simple commands i must use a stack parser alright ?The "StyleCommands" are just short "instructions" to tell the text renderer how to change the colors and fonts. You can add them to a line by giving the line and character positions using _tb_SetStyleCommand.
Zitat:Let me figure something out.Zitat:I can give an example if there is interest.
yes please...
Zitat:and another question.Unfortunately no. But I plan to use the same mechanism of text formatting for all kinds of text output.
This type of Callback will also work with a Listview ?
Just interface wise this is not so easy.