TextEditor: Start moving data from *EditorWidget to *Editor
Goal is to consolidate "controller" related data in the *Editor hierarchy. This patch introduces temporary "cross-Private" accessors dd() to keep the patches small. First item moved is the AutoCompleter, a glimps at long term benefits is the simplification in the JavaEditorWidget which is now essentially a BaseTextEditorWidget, only containing the still-wrong createEditor(). But that can only be move if the *Editors are self-contained, i.e. keep data themselves, not indirectly through the *EditorWidgets. Change-Id: Ia0ab90f0322bb17ac20458e6581069eed30acbaf Reviewed-by:Christian Stenger <christian.stenger@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
Showing
- src/plugins/android/javaeditor.cpp 1 addition, 7 deletionssrc/plugins/android/javaeditor.cpp
- src/plugins/android/javaeditor.h 0 additions, 1 deletionsrc/plugins/android/javaeditor.h
- src/plugins/cppeditor/cppdocumentationcommenthelper.cpp 1 addition, 1 deletionsrc/plugins/cppeditor/cppdocumentationcommenthelper.cpp
- src/plugins/cppeditor/cppeditor.cpp 1 addition, 1 deletionsrc/plugins/cppeditor/cppeditor.cpp
- src/plugins/cppeditor/cppsnippetprovider.cpp 1 addition, 1 deletionsrc/plugins/cppeditor/cppsnippetprovider.cpp
- src/plugins/glsleditor/glsleditor.cpp 0 additions, 2 deletionssrc/plugins/glsleditor/glsleditor.cpp
- src/plugins/glsleditor/glsleditoreditable.cpp 2 additions, 0 deletionssrc/plugins/glsleditor/glsleditoreditable.cpp
- src/plugins/qmljseditor/qmljseditor.cpp 0 additions, 2 deletionssrc/plugins/qmljseditor/qmljseditor.cpp
- src/plugins/qmljseditor/qmljseditoreditable.cpp 2 additions, 0 deletionssrc/plugins/qmljseditor/qmljseditoreditable.cpp
- src/plugins/qmljseditor/qmljssnippetprovider.cpp 1 addition, 1 deletionsrc/plugins/qmljseditor/qmljssnippetprovider.cpp
- src/plugins/texteditor/basetexteditor.cpp 27 additions, 17 deletionssrc/plugins/texteditor/basetexteditor.cpp
- src/plugins/texteditor/basetexteditor.h 6 additions, 4 deletionssrc/plugins/texteditor/basetexteditor.h
Loading
Please register or sign in to comment