[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();