I'm using RichTextFx (CodeArea) to highlight my code. I want to change text background color for some keywords and use css below:
.parameter {
-rtfx-background-color: yellow;
}
But it's changes background color for all text between my keywords (:p1
and :p2
in this example). Font color and style change successfully.