forked from qt-creator/qt-creator
QmlJS indenter: Move reusable code to qmljs lib.
Change-Id: I5ab50b586109a9736cda48245807571ce10dfb5b Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
@@ -1486,7 +1486,7 @@ void QmlJSTextEditorWidget::unCommentSelection()
|
||||
|
||||
void QmlJSTextEditorWidget::setTabSettings(const TextEditor::TabSettings &ts)
|
||||
{
|
||||
QmlJSTools::QtStyleCodeFormatter formatter(ts);
|
||||
QmlJSTools::CreatorCodeFormatter formatter(ts);
|
||||
formatter.invalidateCache(document());
|
||||
|
||||
TextEditor::BaseTextEditorWidget::setTabSettings(ts);
|
||||
|
||||
Reference in New Issue
Block a user