support of RichTextFX to have syntax highlighting in the groovy edit field of validation editor

This commit is contained in:
2016-07-23 16:56:48 +02:00
parent 68a68a51a9
commit 4801203378
5 changed files with 136 additions and 5 deletions

View File

@@ -179,4 +179,35 @@
-fx-text-fill: black;
-fx-font-size: 12px;
-fx-padding: 10 10 10 10;
}
.keyword {
-fx-fill: purple;
-fx-font-weight: bold;
}
.semicolon {
-fx-font-weight: bold;
}
.paren {
-fx-fill: firebrick;
-fx-font-weight: bold;
}
.bracket {
-fx-fill: darkgreen;
-fx-font-weight: bold;
}
.brace {
-fx-fill: teal;
-fx-font-weight: bold;
}
.string {
-fx-fill: blue;
}
.comment {
-fx-fill: cadetblue;
}
.paragraph-box:has-caret {
-fx-background-color: #f2f9fc;
}