org.eclipse.mat.ui.snapshot.panes.oql.textPartitioning
Class PatchedFastPartitioner
java.lang.Object
FastPartitioner
org.eclipse.mat.ui.snapshot.panes.oql.textPartitioning.PatchedFastPartitioner
public class PatchedFastPartitioner
- extends FastPartitioner
Overrides the getPartition to correctly support the case in which provided
offset is the position after the last character of the document as
ContentAssistant asks.
Constructor Summary |
PatchedFastPartitioner(IPartitionTokenScanner scanner,
java.lang.String[] legalContentTypes)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatchedFastPartitioner
public PatchedFastPartitioner(IPartitionTokenScanner scanner,
java.lang.String[] legalContentTypes)
getPartition
public ITypedRegion getPartition(int offset)