Index: editor/tools/plugins/com.google.dart.tools.ui.web/src/com/google/dart/tools/ui/web/css/CssSourceViewerConfiguration.java |
diff --git a/editor/tools/plugins/com.google.dart.tools.ui.web/src/com/google/dart/tools/ui/web/css/CssSourceViewerConfiguration.java b/editor/tools/plugins/com.google.dart.tools.ui.web/src/com/google/dart/tools/ui/web/css/CssSourceViewerConfiguration.java |
index a58c1ae07834bf2bde0929a69ddf5b4719a0071f..10891d77f1aa46511a5ff48ededfb43771474918 100644 |
--- a/editor/tools/plugins/com.google.dart.tools.ui.web/src/com/google/dart/tools/ui/web/css/CssSourceViewerConfiguration.java |
+++ b/editor/tools/plugins/com.google.dart.tools.ui.web/src/com/google/dart/tools/ui/web/css/CssSourceViewerConfiguration.java |
@@ -16,7 +16,6 @@ package com.google.dart.tools.ui.web.css; |
import com.google.dart.tools.ui.web.DartWebPlugin; |
import com.google.dart.tools.ui.web.utils.WebEditorReconcilingStrategy; |
-import org.eclipse.jface.text.IAutoEditStrategy; |
import org.eclipse.jface.text.IDocument; |
import org.eclipse.jface.text.TextAttribute; |
import org.eclipse.jface.text.contentassist.ContentAssistant; |
@@ -45,15 +44,6 @@ public class CssSourceViewerConfiguration extends TextSourceViewerConfiguration |
} |
@Override |
- public IAutoEditStrategy[] getAutoEditStrategies(ISourceViewer sourceViewer, String contentType) { |
- if (IDocument.DEFAULT_CONTENT_TYPE.equals(contentType)) { |
- return new IAutoEditStrategy[] {new CssAutoIndentStrategy()}; |
- } else { |
- return super.getAutoEditStrategies(sourceViewer, contentType); |
- } |
- } |
- |
- @Override |
public String[] getConfiguredContentTypes(ISourceViewer sourceViewer) { |
return new String[] {IDocument.DEFAULT_CONTENT_TYPE, CssPartitionScanner.CSS_COMMENT}; |
} |