an error msg for spl case

This commit is contained in:
Manindra Moharana
2013-06-30 02:05:39 +05:30
parent dabba4d46a
commit 67d67db602
2 changed files with 14 additions and 0 deletions

View File

@@ -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() {