mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
an error msg for spl case
This commit is contained in:
@@ -1583,6 +1583,11 @@ public class ASTGenerator {
|
||||
editor.statusError("Highlight the class/function/variable name first");
|
||||
return;
|
||||
}
|
||||
|
||||
if(errorCheckerService.hasSyntaxErrors()){
|
||||
editor.statusError("Can't rename until syntax errors are fixed :(");
|
||||
return;
|
||||
}
|
||||
if (!frmRename.isVisible()){
|
||||
frmRename.setVisible(true);
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
|
||||
Reference in New Issue
Block a user