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