<@U0F3291QE> I have a code editor in my app and it...
# tornadofx
a
@edvin I have a code editor in my app and it has code highlighting, via CSS. I wanted to be able to switch highlighting (for different languages, or just different themes like in IDE) by applying different stylesheet objects. For example base abstract class
HighlightingStyle
with abstract
cssclass
properties (
keyword
,
number
,
string
,
comment
, ...) and
XmlHighlightingStyle
,
JavascriptHighlightingStyle
, etc. By the way, is there something like scopes for CSS? To apply stylesheet only for one View