Commit 654d94a8 authored by Christian Kamm's avatar Christian Kamm
Browse files

QmlJS: Fix uses of ids not being updated correctly.

updateUses() has to be called for cursor position changes.

Done-with: Kai Koehne
parent fef32dff
......@@ -703,7 +703,9 @@ QmlJSTextEditor::QmlJSTextEditor(QWidget *parent) :
connect(m_semanticRehighlightTimer, SIGNAL(timeout()), this, SLOT(forceSemanticRehighlight()));
connect(this, SIGNAL(textChanged()), this, SLOT(updateDocument()));
connect(this, SIGNAL(textChanged()), this, SLOT(updateUses()));
connect(this, SIGNAL(cursorPositionChanged()), this, SLOT(updateUses()));
m_updateOutlineTimer = new QTimer(this);
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