1 11 package org.eclipse.jface.text; 12 13 14 15 47 public interface IDocumentPartitioner { 48 49 64 void connect(IDocument document); 65 66 74 void disconnect(); 75 76 83 void documentAboutToBeChanged(DocumentEvent event); 84 85 97 boolean documentChanged(DocumentEvent event); 98 99 106 String [] getLegalContentTypes(); 107 108 124 String getContentType(int offset); 125 126 142 ITypedRegion[] computePartitioning(int offset, int length); 143 144 160 ITypedRegion getPartition(int offset); 161 } 162 | Popular Tags |