X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/xml/ui/text/DTDTextTools.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/xml/ui/text/DTDTextTools.java index bb2fbbc..04b79fc 100644 --- a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/xml/ui/text/DTDTextTools.java +++ b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/xml/ui/text/DTDTextTools.java @@ -23,8 +23,9 @@ import net.sourceforge.phpeclipse.xml.ui.internal.text.XMLPartitionScanner; import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.text.IDocumentPartitioner; -import org.eclipse.jface.text.rules.DefaultPartitioner; -import org.eclipse.jface.text.rules.IPartitionTokenScanner; +//import org.eclipse.jface.text.rules.DefaultPartitioner; +import org.eclipse.jface.text.rules.FastPartitioner; +//import org.eclipse.jface.text.rules.IPartitionTokenScanner; import org.eclipse.jface.text.rules.RuleBasedScanner; /** @@ -90,15 +91,15 @@ public class DTDTextTools extends AbstractTextTools { * */ public IDocumentPartitioner createDTDPartitioner() { - return new DefaultPartitioner(dtdPartitionScanner, TYPES); + return new /*DefaultPartitioner*/FastPartitioner(dtdPartitionScanner, TYPES); } /** * */ - public IPartitionTokenScanner getDTDPartitionScanner() { - return dtdPartitionScanner; - } +// public IPartitionTokenScanner getDTDPartitionScanner() { +// return dtdPartitionScanner; +// } /** * Returns a scanner which is configured to scan DTD text.