-cmake syntax highlighting, with the help from Daniel

Alex

Merge-request: 2164
Reviewed-by: dt <qtc-committer@nokia.com>
This commit is contained in:
Alex Neundorf
2010-03-30 12:11:32 +02:00
committed by dt
parent 663b166732
commit 916623b473
9 changed files with 639 additions and 4 deletions

View File

@@ -30,10 +30,13 @@
#include "cmakeprojectplugin.h"
#include "cmakeprojectmanager.h"
#include "cmakerunconfiguration.h"
#include "cmakeeditorfactory.h"
#include "makestep.h"
#include "cmakeprojectconstants.h"
#include <coreplugin/icore.h>
#include <coreplugin/mimedatabase.h>
#include <texteditor/texteditoractionhandler.h>
#include <QtCore/QtPlugin>
#include <QtCore/QDebug>
@@ -56,9 +59,15 @@ bool CMakeProjectPlugin::initialize(const QStringList & /*arguments*/, QString *
return false;
CMakeSettingsPage *cmp = new CMakeSettingsPage();
addAutoReleasedObject(cmp);
addAutoReleasedObject(new CMakeManager(cmp));
CMakeManager *manager = new CMakeManager(cmp);
addAutoReleasedObject(manager);
addAutoReleasedObject(new MakeStepFactory);
addAutoReleasedObject(new CMakeRunConfigurationFactory);
TextEditor::TextEditorActionHandler *editorHandler
= new TextEditor::TextEditorActionHandler(CMakeProjectManager::Constants::C_CMAKEEDITOR);
addAutoReleasedObject(new CMakeEditorFactory(manager, editorHandler));
return true;
}