|
| static final long | serialVersionUID = 1L |
| |
| static final Font | font = new Font(Font.DIALOG, Font.PLAIN, 12) |
| |
| static final Pattern | operatorPattern = Pattern.compile("[\\$\<\>\\(\\)\\+\\-\\|\\!\\:\\,\\.\\`\\#\\=]+") |
| |
| static final Pattern | categoryPattern = Pattern.compile("[A-Z]*\\b") |
| |
| static final Pattern | prettyOperatorPattern = Pattern.compile("(\\bRoot\\b|\\band\\b|\\bor\\b)") |
| |
| static final Pattern | regExpPattern = Pattern.compile("/[^/]*/") |
| |
| static final Pattern | targetPattern = Pattern.compile("\\btarget\\b") |
| |
| static final SimpleAttributeSet | operatorStyle = new SimpleAttributeSet() |
| |
| static final SimpleAttributeSet | categoryStyle = new SimpleAttributeSet() |
| |
| static final SimpleAttributeSet | regExpStyle = new SimpleAttributeSet() |
| |
| static final SimpleAttributeSet | targetStyle = new SimpleAttributeSet() |
| |
| static final Pattern[] | patterns |
| |
| static final SimpleAttributeSet[] | styles |
| |
Tregex Pattern coloring pane
- Author
- Bernard Bou