4087 def __goto(self): |
4087 def __goto(self): |
4088 """ |
4088 """ |
4089 Private method to handle the goto action. |
4089 Private method to handle the goto action. |
4090 """ |
4090 """ |
4091 aw = self.activeWindow() |
4091 aw = self.activeWindow() |
4092 dlg = GotoDialog(aw.lines(), self.ui, None, True) |
4092 lines = aw.lines() |
|
4093 curLine = aw.getCursorPosition()[0] + 1 |
|
4094 dlg = GotoDialog(lines, curLine, self.ui, None, True) |
4093 if dlg.exec_() == QDialog.Accepted: |
4095 if dlg.exec_() == QDialog.Accepted: |
4094 aw.gotoLine(dlg.getLinenumber()) |
4096 aw.gotoLine(dlg.getLinenumber()) |
4095 |
4097 |
4096 def __gotoBrace(self): |
4098 def __gotoBrace(self): |
4097 """ |
4099 """ |