mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
Getter for astgen
This commit is contained in:
@@ -612,7 +612,7 @@ public class DebugEditor extends JavaEditor implements ActionListener {
|
||||
toggleVariableInspector();
|
||||
} else if (source.equals(showOutline)){
|
||||
log("Show Outline :D");
|
||||
errorCheckerService.astGenerator.showSketchOutline();
|
||||
errorCheckerService.getASTGenerator().showSketchOutline();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1259,13 +1259,13 @@ public class DebugEditor extends JavaEditor implements ActionListener {
|
||||
private void handleRefactor() {
|
||||
log("Caret at:");
|
||||
log(ta.getLineText(ta.getCaretLine()));
|
||||
errorCheckerService.astGenerator.handleRefactor();
|
||||
errorCheckerService.getASTGenerator().handleRefactor();
|
||||
}
|
||||
|
||||
private void handleShowUsage() {
|
||||
log("Caret at:");
|
||||
log(ta.getLineText(ta.getCaretLine()));
|
||||
errorCheckerService.astGenerator.handleShowUsage();
|
||||
errorCheckerService.getASTGenerator().handleShowUsage();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user