4643 """ |
4643 """ |
4644 try: |
4644 try: |
4645 newWin, editor = self.getEditor(fn, filetype=filetype, |
4645 newWin, editor = self.getEditor(fn, filetype=filetype, |
4646 addNext=addNext, indexes=indexes) |
4646 addNext=addNext, indexes=indexes) |
4647 except (IOError, UnicodeDecodeError): |
4647 except (IOError, UnicodeDecodeError): |
4648 return |
4648 return None |
4649 |
4649 |
4650 if newWin: |
4650 if newWin: |
4651 self._modificationStatusChanged(editor.isModified(), editor) |
4651 self._modificationStatusChanged(editor.isModified(), editor) |
4652 self._checkActions(editor) |
4652 self._checkActions(editor) |
4653 |
4653 |