Move shared code to a new QmlJSTools plugin.

Reviewed-by: Thomas Hartmann
This commit is contained in:
Christian Kamm
2010-11-11 10:05:05 +01:00
parent a4cbd970e5
commit f366754462
32 changed files with 381 additions and 51 deletions

View File

@@ -33,6 +33,7 @@
#include <texteditor/texteditorconstants.h>
#include <qmldesigner/qmldesignerconstants.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <coreplugin/mimedatabase.h>
#include <coreplugin/icore.h>
@@ -48,6 +49,7 @@ QmlJSEditorEditable::QmlJSEditorEditable(QmlJSTextEditor *editor)
{
m_context.add(QmlJSEditor::Constants::C_QMLJSEDITOR_ID);
m_context.add(TextEditor::Constants::C_TEXTEDITOR);
m_context.add(ProjectExplorer::Constants::LANG_QMLJS);
}
// Use preferred mode from Bauhaus settings