Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavid_williams2005-09-14 04:16:04 +0000
committerdavid_williams2005-09-14 04:16:04 +0000
commit577a8f037b864ef4e35e02724e6eacb82f61b8bf (patch)
treeaf1c81053abbe5bf1e205df872167270753ef37d /bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml
parent45fd04c8af4659e95d1f31a75022737169600088 (diff)
downloadwebtools.sourceediting-577a8f037b864ef4e35e02724e6eacb82f61b8bf.tar.gz
webtools.sourceediting-577a8f037b864ef4e35e02724e6eacb82f61b8bf.tar.xz
webtools.sourceediting-577a8f037b864ef4e35e02724e6eacb82f61b8bf.zip
[103022] XML Editor conflicts with 2.1 based editors - partial fix to remove NullPartioner
Diffstat (limited to 'bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml')
-rw-r--r--bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/text/rules/StructuredTextPartitionerForXML.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/text/rules/StructuredTextPartitionerForXML.java b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/text/rules/StructuredTextPartitionerForXML.java
index d1d2551e2a..bd8a9b8fa8 100644
--- a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/text/rules/StructuredTextPartitionerForXML.java
+++ b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/text/rules/StructuredTextPartitionerForXML.java
@@ -52,7 +52,7 @@ public class StructuredTextPartitionerForXML extends StructuredTextPartitioner i
* extract the target processor name and create a partition type
* dynamically.
*/
- IStructuredDocumentRegion docRegion = structuredDocument.getRegionAtCharacterOffset(offset);
+ IStructuredDocumentRegion docRegion = fStructuredDocument.getRegionAtCharacterOffset(offset);
ITextRegion name = docRegion.getRegionAtCharacterOffset(docRegion.getStartOffset() + region.getStart() - 1);
result = IXMLPartitions.PROCESSING_INSTRUCTION_PREFIX + docRegion.getText(name).toUpperCase(Locale.ENGLISH);
}

Back to the top