DEA-49056 (RE at com.intellij.openapi.editor.impl.EditorFactoryImpl.a)
authorirengrig <Irina.Chernushina@jetbrains.com>
Fri, 12 Mar 2010 12:21:36 +0000 (15:21 +0300)
committerirengrig <Irina.Chernushina@jetbrains.com>
Fri, 12 Mar 2010 12:21:36 +0000 (15:21 +0300)
platform/vcs-impl/src/com/intellij/openapi/vcs/impl/ProjectLevelVcsManagerImpl.java

index 0d6ddf1fc974bcf9baa7e8cd6cc57d24ce09b17e..3eb7739eda6d8179e2208556e7183c9acaa13b69 100644 (file)
@@ -332,7 +332,7 @@ public void addMessageToConsoleWindow(final String message, final TextAttributes
     Content content = contentManager.findContent(displayName);
     if (content == null) {
       final EditorFactory editorFactory = EditorFactory.getInstance();
-      final Editor editor = editorFactory.createViewer(editorFactory.createDocument(""));
+      final Editor editor = editorFactory.createViewer(editorFactory.createDocument(""), myProject);
       EditorSettings editorSettings = editor.getSettings();
       editorSettings.setLineMarkerAreaShown(false);
       editorSettings.setIndentGuidesShown(false);