diff options
author | nitind | 2005-01-26 21:39:03 +0000 |
---|---|---|
committer | nitind | 2005-01-26 21:39:03 +0000 |
commit | 39ffd612fd19b06e66b90ccae0891df61cae18c2 (patch) | |
tree | 53ec64c0803c9b08462f45e4c29bdadd90781176 | |
parent | b2fe45ca57e7811f28d29c8167b551843969eba1 (diff) | |
download | webtools.sourceediting-39ffd612fd19b06e66b90ccae0891df61cae18c2.tar.gz webtools.sourceediting-39ffd612fd19b06e66b90ccae0891df61cae18c2.tar.xz webtools.sourceediting-39ffd612fd19b06e66b90ccae0891df61cae18c2.zip |
set document partitioning into reconciler
3 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/StructuredTextViewerConfigurationJSP.java b/bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/StructuredTextViewerConfigurationJSP.java index 1d0b51b435..b6d5a67737 100644 --- a/bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/StructuredTextViewerConfigurationJSP.java +++ b/bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/StructuredTextViewerConfigurationJSP.java @@ -390,6 +390,7 @@ public class StructuredTextViewerConfigurationJSP extends StructuredTextViewerCo if (fReconciler == null) { // create one fReconciler = new StructuredTextReconciler(); + fReconciler.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer)); // a null editorPart is valid //fReconciler.setEditor(editorPart); } diff --git a/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/StructuredTextViewerConfigurationHTML.java b/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/StructuredTextViewerConfigurationHTML.java index b1ae97e464..ea4aec9edf 100644 --- a/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/StructuredTextViewerConfigurationHTML.java +++ b/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/StructuredTextViewerConfigurationHTML.java @@ -252,6 +252,7 @@ public class StructuredTextViewerConfigurationHTML extends StructuredTextViewerC if (fReconciler == null) { // create one fReconciler = new StructuredTextReconciler(); + fReconciler.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer)); // a null editorPart is valid //fReconciler.setEditor(editorPart); } diff --git a/bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/StructuredTextViewerConfigurationXML.java b/bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/StructuredTextViewerConfigurationXML.java index 85f684d9e0..a208675381 100644 --- a/bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/StructuredTextViewerConfigurationXML.java +++ b/bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/StructuredTextViewerConfigurationXML.java @@ -195,6 +195,7 @@ public class StructuredTextViewerConfigurationXML extends StructuredTextViewerCo if (fReconciler == null) { // create one fReconciler = new StructuredTextReconciler(); + fReconciler.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer)); // a null editorPart is valid // fReconciler.setEditor(editorPart); } |