diff -r 9db3fd0b1c72 -r b2c6179184f6 QScintilla/EditorAssembly.py --- a/QScintilla/EditorAssembly.py Sat Dec 31 17:52:23 2016 +0100 +++ b/QScintilla/EditorAssembly.py Sun Jan 01 18:09:48 2017 +0100 @@ -41,14 +41,18 @@ self.__layout.setContentsMargins(0, 0, 0, 0) self.__layout.setSpacing(1) + from .EditorButtonsWidget import EditorButtonsWidget + from .Editor import Editor + + self.__editor = Editor(dbs, fn, vm, filetype, editor, tv) + self.__buttonsWidget = EditorButtonsWidget(self.__editor) self.__globalsCombo = QComboBox() self.__membersCombo = QComboBox() - from .Editor import Editor - self.__editor = Editor(dbs, fn, vm, filetype, editor, tv) - self.__layout.addWidget(self.__globalsCombo, 0, 0) - self.__layout.addWidget(self.__membersCombo, 0, 1) - self.__layout.addWidget(self.__editor, 1, 0, 1, -1) + self.__layout.addWidget(self.__buttonsWidget, 1, 0, -1, 1) + self.__layout.addWidget(self.__globalsCombo, 0, 1) + self.__layout.addWidget(self.__membersCombo, 0, 2) + self.__layout.addWidget(self.__editor, 1, 1, 1, -1) self.__module = None