This commit is contained in:
drug007 2017-03-02 17:33:46 +03:00
parent af8babdf1b
commit 6ea4ce9f5a
1 changed files with 4 additions and 2 deletions

View File

@ -981,8 +981,10 @@ class IDEFrame : AppFrame, ProgramExecutionStatusListener, BreakpointListChangeL
dlg.show();
return true;
case IDEActions.GoToDefinition:
Log.d("Trying to go to definition.");
currentEditor.editorTool.goToDefinition(currentEditor(), currentEditor.caretPos);
if (currentEditor) {
Log.d("Trying to go to definition.");
currentEditor.editorTool.goToDefinition(currentEditor(), currentEditor.caretPos);
}
return true;
case IDEActions.GetDocComments:
Log.d("Trying to get doc comments.");