diff -r ff469c60f5fe -r 3b5ad7224945 ViewManager/ViewManager.py --- a/ViewManager/ViewManager.py Sat Mar 26 12:52:15 2011 +0100 +++ b/ViewManager/ViewManager.py Sun Mar 27 12:23:30 2011 +0200 @@ -4087,7 +4087,9 @@ Private method to handle the goto action. """ aw = self.activeWindow() - dlg = GotoDialog(aw.lines(), self.ui, None, True) + lines = aw.lines() + curLine = aw.getCursorPosition()[0] + 1 + dlg = GotoDialog(lines, curLine, self.ui, None, True) if dlg.exec_() == QDialog.Accepted: aw.gotoLine(dlg.getLinenumber())