QmlJS: Implement renaming of usages.

Task-number: QTCREATORBUG-3669
Change-Id: I2c600cae5ac445ca80eafe6557ba276c14a77a73
Reviewed-on: http://codereview.qt.nokia.com/1413
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
Christian Kamm
2011-07-11 12:53:05 +02:00
parent 4285b48455
commit 35cb3793a1
7 changed files with 88 additions and 16 deletions

View File

@@ -1333,6 +1333,11 @@ void QmlJSTextEditorWidget::findUsages()
m_findReferences->findUsages(file()->fileName(), textCursor().position());
}
void QmlJSTextEditorWidget::renameUsages()
{
m_findReferences->renameUsages(file()->fileName(), textCursor().position());
}
void QmlJSTextEditorWidget::showContextPane()
{
if (m_contextPane && m_semanticInfo.isValid()) {