Commit 12b25ebd authored by Eike Ziller's avatar Eike Ziller Committed by hjk
Browse files

TextEditors: remove unused variables



Change-Id: Id0d2115c7d8819d35dc626d5605650f7b450ee87
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 8931a14a
...@@ -231,8 +231,6 @@ void BaseTextEditorWidget::ctor(const QSharedPointer<BaseTextDocument> &doc) ...@@ -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 ...@@ -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: ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment