ViewManager/ViewManager.py

changeset 958
9f712690525e
parent 949
f888270da22e
child 1112
8a7d1b9d18db
equal deleted inserted replaced
956:f3e1500da1df 958:9f712690525e
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 """

eric ide

mercurial