Commit ca392a2
committed
Patch ImageJMacroTokenMaker to accommodate RSyntaxtTextArea v3.6.0
This fixes the issue detailed in scijava/pom-scijava#288
Context:
In newer versions of RSyntaxtTextArea, AbstractJFlexCTokenMaker adds an abstract yystate() method intended to return the current state of a JFlex lexer.
Since it is abstract, it must be implemented by any concrete subclass, so we patch ImageJMacroTokenMaker so that the current zzLexicalState is returned
Tested with: `mvn clean package -Denforcer.skip`1 parent b682698 commit ca392a2
File tree
2 files changed
+6
-1
lines changed- src/main/java/org/scijava/ui/swing/script/highliters
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2635 | 2635 | | |
2636 | 2636 | | |
2637 | 2637 | | |
| 2638 | + | |
| 2639 | + | |
| 2640 | + | |
| 2641 | + | |
| 2642 | + | |
2638 | 2643 | | |
2639 | 2644 | | |
2640 | 2645 | | |
| |||
0 commit comments