File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
main/java/org/scijava/ui/swing/script
test/java/org/scijava/script/parse Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >org.scijava</groupId >
77 <artifactId >pom-scijava</artifactId >
8- <version >31.1.0 </version >
8+ <version >32.0.0-beta-3 </version >
99 <relativePath />
1010 </parent >
1111
Original file line number Diff line number Diff line change @@ -132,8 +132,10 @@ private void installCustomActions() {
132132 // actions that are not registered by default
133133 map .put (rtaTimeDateAction , new TimeDateAction ());
134134 map .put (clipboardHistoryAction , new ClipboardHistoryActionImpl ());
135- if (map .get (rstaCopyAsStyledTextAction ) != null )
136- map .put (rstaCopyAsStyledTextAction , new CopyAsStyledTextAction ());
135+ // NB: This action is present in rsyntaxtextarea 3.1.1, but not 3.1.6.
136+ // So we disable it for the time being.
137+ //if (map.get(rstaCopyAsStyledTextAction) != null)
138+ // map.put(rstaCopyAsStyledTextAction, new CopyAsStyledTextAction());
137139 if (map .get (rstaGoToMatchingBracketAction ) != null )
138140 map .put (rstaGoToMatchingBracketAction , new GoToMatchingBracketAction ());
139141
Original file line number Diff line number Diff line change 3939import javax .script .ScriptException ;
4040
4141import org .scijava .parsington .Variable ;
42- import org .scijava .parsington .eval .DefaultEvaluator ;
42+ import org .scijava .parsington .eval .DefaultTreeEvaluator ;
4343import org .scijava .parsington .eval .Evaluator ;
4444import org .scijava .script .AbstractScriptEngine ;
4545
@@ -95,7 +95,7 @@ else if (args instanceof Collection) {
9595 public ParsingtonScriptEngine () {
9696 // NB: Create a default evaluator, but extended to support method calls.
9797 // This is a first-cut hack, just for fun -- fields are not supported yet.
98- this (new DefaultEvaluator () {
98+ this (new DefaultTreeEvaluator () {
9999
100100 @ Override
101101 public Object dot (final Object a , final Object b ) {
You can’t perform that action at this time.
0 commit comments