ViewManager/ViewManager.py

branch
5_1_x
changeset 959
3b5ad7224945
parent 950
1138e347c653
child 1129
e97a9a2e445e
equal deleted inserted replaced
957:ff469c60f5fe 959:3b5ad7224945
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 """

eric ide

mercurial