Issue #775 AS3 direct edit - InstanceInfo name index fix

This commit is contained in:
Jindra Petřík
2015-10-30 10:47:31 +01:00
parent 7c4d4db6df
commit 2a63daf3f0
3 changed files with 11 additions and 12 deletions

View File

@@ -674,7 +674,11 @@ public class DecompiledEditorPane extends LineMarkedEditorPane implements CaretL
setText(hilightedCode);
if (classHighlights.size() > 0) {
setCaretPosition(classHighlights.get(0).startPos);
try {
setCaretPosition(classHighlights.get(0).startPos);
} catch (Exception ex) { //sometimes happens
//ignore
}
}
}
fireScript();