fixed tests 94.130 94.131
authorMaxim.Mossienko <Maxim.Mossienko@jetbrains.com>
Sat, 16 Jan 2010 22:13:34 +0000 (01:13 +0300)
committerMaxim.Mossienko <Maxim.Mossienko@jetbrains.com>
Sat, 16 Jan 2010 22:13:34 +0000 (01:13 +0300)
platform/lang-impl/src/com/intellij/formatting/templateLanguages/TemplateLanguageFormattingModelBuilder.java

index 51e6016250cae0d46a5be80c81024fd9606b1227..5f4845f699f8da8e61c962d3eff38a2f1f709980 100644 (file)
@@ -59,7 +59,7 @@ public abstract class TemplateLanguageFormattingModelBuilder implements Delegati
       return createDummyBlock(node);
     }
     if (builder == null) {
-      return createTemplateLanguageBlock(node, Collections.<DataLanguageBlockWrapper>emptyList(), null);
+      return createTemplateLanguageBlock(node, Collections.<DataLanguageBlockWrapper>emptyList(), settings);
     }
     final FormattingModel model = builder.createModel(viewProvider.getPsi(dataLanguage), settings);
     List<DataLanguageBlockWrapper> childWrappers = buildChildWrappers(model.getRootBlock());