fix cursor positioning in go to compiler error - #177

This commit is contained in:
Vadim Lopatin 2016-10-11 14:07:26 +03:00
parent d344dd0d01
commit 3fab0ca56d
1 changed files with 1 additions and 0 deletions

View File

@ -368,6 +368,7 @@ class IDEFrame : AppFrame, ProgramExecutionStatusListener, BreakpointListChangeL
import std.conv:to; import std.conv:to;
openSourceFile(to!string(filename)); openSourceFile(to!string(filename));
currentEditor().setCaretPos(line, 0);
currentEditor().setCaretPos(line, column); currentEditor().setCaretPos(line, column);
return true; return true;