mirror of
https://github.com/processing/processing4.git
synced 2026-03-01 10:14:31 +01:00
some stuff disabled for java tabs
This commit is contained in:
@@ -2066,6 +2066,7 @@ public class ASTGenerator {
|
||||
}
|
||||
|
||||
public void handleShowUsage(){
|
||||
if(editor.hasJavaTabs) return; // show usage disabled if java tabs
|
||||
log("Last clicked word:" + lastClickedWord);
|
||||
if(lastClickedWord == null && editor.ta.getSelectedText() == null){
|
||||
editor.statusMessage("Highlight the class/function/variable name first"
|
||||
@@ -2319,6 +2320,7 @@ public class ASTGenerator {
|
||||
|
||||
protected SketchOutline sketchOutline;
|
||||
protected void showSketchOutline(){
|
||||
if(editor.hasJavaTabs) return; // sketch outline disabled if java tabs
|
||||
sketchOutline = new SketchOutline(codeTree, errorCheckerService);
|
||||
sketchOutline.show();
|
||||
}
|
||||
@@ -2403,6 +2405,7 @@ public class ASTGenerator {
|
||||
}
|
||||
|
||||
public void handleRefactor(){
|
||||
if(editor.hasJavaTabs) return; // refactoring disabled if java tabs
|
||||
log("Last clicked word:" + lastClickedWord);
|
||||
if(lastClickedWord == null && editor.ta.getSelectedText() == null){
|
||||
editor.statusMessage("Highlight the class/function/variable name first",
|
||||
|
||||
Reference in New Issue
Block a user