diff -r 5fe4ff181b68 -r f2129bb79269 eric6/QScintilla/EditorAssembly.py --- a/eric6/QScintilla/EditorAssembly.py Tue Feb 23 17:31:36 2021 +0100 +++ b/eric6/QScintilla/EditorAssembly.py Tue Feb 23 17:38:12 2021 +0100 @@ -53,7 +53,7 @@ self.__showOutline = Preferences.getEditor("ShowSourceOutline") - self.__editor = Editor(dbs, fn, vm, filetype, editor, tv) + self.__editor = Editor(dbs, fn, vm, filetype, editor, tv, parent=self) self.__buttonsWidget = EditorButtonsWidget(self.__editor, self) self.__globalsCombo = QComboBox() self.__globalsCombo.setDuplicatesEnabled(True)