org.eclipse.xtext.ui.editor.model
Class DocumentPartitioner

java.lang.Object
  extended by org.eclipse.jface.text.rules.FastPartitioner
      extended by org.eclipse.xtext.ui.editor.model.DocumentPartitioner
All Implemented Interfaces:
org.eclipse.jface.text.IDocumentPartitioner, org.eclipse.jface.text.IDocumentPartitionerExtension, org.eclipse.jface.text.IDocumentPartitionerExtension2, org.eclipse.jface.text.IDocumentPartitionerExtension3

public class DocumentPartitioner
extends org.eclipse.jface.text.rules.FastPartitioner

Author:
Sven Efftinge - Initial contribution and API

Field Summary
 
Fields inherited from class org.eclipse.jface.text.rules.FastPartitioner
fDeleteOffset, fDocument, fEndOffset, fLegalContentTypes, fPositionUpdater, fPreviousDocumentLength, fScanner, fStartOffset
 
Constructor Summary
DocumentPartitioner(org.eclipse.jface.text.rules.IPartitionTokenScanner scanner, ITokenTypeToPartitionTypeMapper mapper)
           
 
Method Summary
 
Methods inherited from class org.eclipse.jface.text.rules.FastPartitioner
checkInitialization, clearPositionCache, computePartitioning, computePartitioning, connect, connect, disconnect, documentAboutToBeChanged, documentChanged, documentChanged2, findClosestPosition, flushRewriteSession, getActiveRewriteSession, getContentType, getContentType, getLegalContentTypes, getManagingPositionCategories, getPartition, getPartition, getPositions, getTokenContentType, initialize, isSupportedContentType, startRewriteSession, stopRewriteSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentPartitioner

@Inject
public DocumentPartitioner(org.eclipse.jface.text.rules.IPartitionTokenScanner scanner,
                                  ITokenTypeToPartitionTypeMapper mapper)