forked from qt-creator/qt-creator
Moved TextEditDocumentLayout and related classes to their own file
The Parentheses, TextBlockUserData and TextEditDocumentLayout classes and their member function implementations were spread around the BaseTextEditor class. Moving them to their own file to make the code a bit better organized. Reviewed-by: mae
This commit is contained in:
@@ -51,20 +51,19 @@
|
||||
#include <QtCore/QXmlStreamReader>
|
||||
#include <QtCore/QDebug>
|
||||
|
||||
#include <QtGui/QPainter>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QStyle>
|
||||
#include <QtGui/QToolButton>
|
||||
#include <QtGui/QHBoxLayout>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QDesktopWidget>
|
||||
#include <QtGui/QHBoxLayout>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QPainter>
|
||||
#include <QtGui/QStyle>
|
||||
#include <QtGui/QTextBlock>
|
||||
#include <QtGui/QToolButton>
|
||||
|
||||
using namespace QmlJSEditor;
|
||||
using namespace QmlJSEditor::Internal;
|
||||
using namespace QmlJS;
|
||||
|
||||
// #define QML_WITH_SNIPPETS
|
||||
|
||||
namespace {
|
||||
|
||||
// Temporary workaround until we have proper icons for QML completion items
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include <QtCore/QSet>
|
||||
#include <QtGui/QSyntaxHighlighter>
|
||||
|
||||
#include <texteditor/basetexteditor.h>
|
||||
#include <texteditor/basetextdocumentlayout.h>
|
||||
|
||||
namespace QmlJSEditor {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user