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(); dlg.show();
return true; return true;
case IDEActions.GoToDefinition: case IDEActions.GoToDefinition:
if (currentEditor) {
Log.d("Trying to go to definition."); Log.d("Trying to go to definition.");
currentEditor.editorTool.goToDefinition(currentEditor(), currentEditor.caretPos); currentEditor.editorTool.goToDefinition(currentEditor(), currentEditor.caretPos);
}
return true; return true;
case IDEActions.GetDocComments: case IDEActions.GetDocComments:
Log.d("Trying to get doc comments."); Log.d("Trying to get doc comments.");