ViewManager/ViewManager.py

changeset 1419
e200f9084c5d
parent 1416
c547d0b2e9c6
child 1421
8fead6686d1c
equal deleted inserted replaced
1416:c547d0b2e9c6 1419:e200f9084c5d
311 311
312 def _showView(self, win, fn=None): 312 def _showView(self, win, fn=None):
313 """ 313 """
314 Protected method to show a view (i.e. window) 314 Protected method to show a view (i.e. window)
315 315
316 @param win editor window to be shown 316 @param win editor assembly to be shown
317 @param fn filename of this editor 317 @param fn filename of this editor
318 @exception RuntimeError Not implemented 318 @exception RuntimeError Not implemented
319 """ 319 """
320 raise RuntimeError('Not implemented') 320 raise RuntimeError('Not implemented')
321 321
3423 newWin = True 3423 newWin = True
3424 3424
3425 if newWin: 3425 if newWin:
3426 self._addView(assembly, fn) 3426 self._addView(assembly, fn)
3427 else: 3427 else:
3428 self._showView(editor, fn) 3428 self._showView(editor.parent(), fn)
3429 3429
3430 return (newWin, editor) 3430 return (newWin, editor)
3431 3431
3432 def getOpenEditors(self): 3432 def getOpenEditors(self):
3433 """ 3433 """

eric ide

mercurial