391 self.editorLineChanged.emit(fn, aw.getCursorPosition()[0] + 1) |
391 self.editorLineChanged.emit(fn, aw.getCursorPosition()[0] + 1) |
392 else: |
392 else: |
393 self.changeCaption.emit("") |
393 self.changeCaption.emit("") |
394 self.editorChangedEd.emit(aw) |
394 self.editorChangedEd.emit(aw) |
395 |
395 |
396 def _addView(self, win, fn=None, noName="", next=False): |
396 def _addView(self, win, fn=None, noName="", addNext=False): |
397 """ |
397 """ |
398 Protected method to add a view (i.e. window). |
398 Protected method to add a view (i.e. window). |
399 |
399 |
400 @param win editor assembly to be added |
400 @param win editor assembly to be added |
401 @param fn filename of this editor (string) |
401 @param fn filename of this editor (string) |
402 @param noName name to be used for an unnamed editor (string) |
402 @param noName name to be used for an unnamed editor (string) |
403 @param next flag indicating to add the view next to the current |
403 @param addNext flag indicating to add the view next to the current |
404 view (bool) |
404 view (bool) |
405 """ |
405 """ |
406 editor = win.getEditor() |
406 editor = win.getEditor() |
407 if fn is None: |
407 if fn is None: |
408 if not noName: |
408 if not noName: |