Merge pull request #197 from drug007/issue-187

Fix #187.
This commit is contained in:
Vadim Lopatin 2017-03-13 14:30:24 +04:00 committed by GitHub
commit 412c1da93e
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.");