commit | 62a1c44e4d0180656b498713de84245830675abf | [log] [tgz] |
---|---|---|
author | amywu <amywu> | Wed Aug 30 21:57:54 2006 +0000 |
committer | amywu <amywu> | Wed Aug 30 21:57:54 2006 +0000 |
tree | 4cc61fddcceb38aec399ba2790d17299c221a6ef | |
parent | 25866deb3b89435f96e6986107003d02ab10c52b [diff] |
[121791] Syntax Coloring not updated after SaveAs and Search/Replace
diff --git a/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/StructuredTextViewer.java b/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/StructuredTextViewer.java index 1874d1b..c56f881 100644 --- a/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/StructuredTextViewer.java +++ b/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/StructuredTextViewer.java
@@ -288,8 +288,8 @@ // initialize highlighter after linestyleproviders were added if (fHighlighter != null) { fHighlighter.setDocumentPartitioning(configuration.getConfiguredDocumentPartitioning(this)); - fHighlighter.install(this); fHighlighter.setDocument((IStructuredDocument) getDocument()); + fHighlighter.install(this); } activatePlugins();