Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #187. #197

Merged
merged 1 commit into from
Mar 13, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix #187.
  • Loading branch information
drug007 committed Mar 2, 2017
commit 6ea4ce9f5a43eb017bde6ae904edd82aed9efa8a
6 changes: 4 additions & 2 deletions src/dlangide/ui/frame.d
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down