forked from qt-creator/qt-creator
TextEditors: remove unused variables
Change-Id: Id0d2115c7d8819d35dc626d5605650f7b450ee87 Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -231,8 +231,6 @@ void BaseTextEditorWidget::ctor(const QSharedPointer<BaseTextDocument> &doc)
|
|||||||
d->m_document = doc;
|
d->m_document = doc;
|
||||||
d->setupDocumentSignals();
|
d->setupDocumentSignals();
|
||||||
|
|
||||||
d->m_lastScrollPos = -1;
|
|
||||||
|
|
||||||
// from RESEARCH
|
// from RESEARCH
|
||||||
|
|
||||||
setLayoutDirection(Qt::LeftToRight);
|
setLayoutDirection(Qt::LeftToRight);
|
||||||
@@ -2344,13 +2342,10 @@ AutoCompleter *BaseTextEditorWidget::autoCompleter() const
|
|||||||
|
|
||||||
BaseTextEditorWidgetPrivate::BaseTextEditorWidgetPrivate()
|
BaseTextEditorWidgetPrivate::BaseTextEditorWidgetPrivate()
|
||||||
:
|
:
|
||||||
m_lastScrollPos(-1),
|
|
||||||
m_lineNumber(-1),
|
|
||||||
q(0),
|
q(0),
|
||||||
m_contentsChanged(false),
|
m_contentsChanged(false),
|
||||||
m_lastCursorChangeWasInteresting(false),
|
m_lastCursorChangeWasInteresting(false),
|
||||||
m_parenthesesMatchingEnabled(false),
|
m_parenthesesMatchingEnabled(false),
|
||||||
m_updateTimer(0),
|
|
||||||
m_formatRange(false),
|
m_formatRange(false),
|
||||||
m_parenthesesMatchingTimer(0),
|
m_parenthesesMatchingTimer(0),
|
||||||
m_extraArea(0),
|
m_extraArea(0),
|
||||||
|
@@ -108,23 +108,15 @@ public:
|
|||||||
|
|
||||||
void print(QPrinter *printer);
|
void print(QPrinter *printer);
|
||||||
|
|
||||||
QTextBlock m_firstVisible;
|
|
||||||
int m_lastScrollPos;
|
|
||||||
int m_lineNumber;
|
|
||||||
|
|
||||||
BaseTextEditorWidget *q;
|
BaseTextEditorWidget *q;
|
||||||
bool m_contentsChanged;
|
bool m_contentsChanged;
|
||||||
bool m_lastCursorChangeWasInteresting;
|
bool m_lastCursorChangeWasInteresting;
|
||||||
|
|
||||||
QList<QTextEdit::ExtraSelection> m_syntaxHighlighterSelections;
|
|
||||||
QTextEdit::ExtraSelection m_lineSelection;
|
|
||||||
|
|
||||||
QSharedPointer<BaseTextDocument> m_document;
|
QSharedPointer<BaseTextDocument> m_document;
|
||||||
QByteArray m_tempState;
|
QByteArray m_tempState;
|
||||||
QByteArray m_tempNavigationState;
|
QByteArray m_tempNavigationState;
|
||||||
|
|
||||||
bool m_parenthesesMatchingEnabled;
|
bool m_parenthesesMatchingEnabled;
|
||||||
QTimer *m_updateTimer;
|
|
||||||
|
|
||||||
// parentheses matcher
|
// parentheses matcher
|
||||||
bool m_formatRange;
|
bool m_formatRange;
|
||||||
|
Reference in New Issue
Block a user