OSDN Git Service

Apply code style settings to templates
[qt-creator-jp/qt-creator-jp.git] / src / plugins / qmljstools / qmljscodestylesettingsfactory.cpp
index 60a2a29..5c2922e 100644 (file)
@@ -33,6 +33,7 @@
 #include "qmljscodestylesettingsfactory.h"
 #include "qmljscodestylesettingspage.h"
 #include "qmljstoolsconstants.h"
+#include "qmljsindenter.h"
 #include <texteditor/tabpreferences.h>
 #include <texteditor/tabsettings.h>
 #include <QtGui/QLayout>
@@ -72,3 +73,8 @@ QWidget *QmlJSCodeStylePreferencesFactory::createEditor(TextEditor::IFallbackPre
     return widget;
 }
 
+TextEditor::Indenter *QmlJSCodeStylePreferencesFactory::createIndenter() const
+{
+    return new QmlJSEditor::Internal::Indenter();
+}
+