IEditor: Make duplicatesSupported a value member

Change-Id: Iee75dd4155d5074bb319df79d006b6d5e2989e14
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
hjk
2014-05-08 16:07:24 +02:00
parent b739ad38d4
commit 3462c5ef42
22 changed files with 34 additions and 18 deletions

View File

@@ -53,6 +53,7 @@ QmlJSEditor::QmlJSEditor(QmlJSTextEditorWidget *editor)
m_context.add(Constants::C_QMLJSEDITOR_ID);
m_context.add(TextEditor::Constants::C_TEXTEDITOR);
m_context.add(ProjectExplorer::Constants::LANG_QMLJS);
setDuplicateSupported(true);
}
bool QmlJSEditor::isDesignModePreferred() const