| Package | Description |
|---|---|
| org.eclipse.jface.text |
Provides a framework for creating and manipulating text documents.
|
| Modifier and Type | Method and Description |
|---|---|
ITypedRegion[] |
AbstractDocument.computePartitioning(java.lang.String partitioning,
int offset,
int length,
boolean includeZeroLengthPartitions) |
ITypedRegion[] |
IDocumentExtension3.computePartitioning(java.lang.String partitioning,
int offset,
int length,
boolean includeZeroLengthPartitions)
Computes the partitioning of the given document range based on the given
partitioning type.
|
java.lang.String |
AbstractDocument.getContentType(java.lang.String partitioning,
int offset,
boolean preferOpenPartitions) |
java.lang.String |
IDocumentExtension3.getContentType(java.lang.String partitioning,
int offset,
boolean preferOpenPartitions)
Returns the type of the document partition containing the given offset
for the given partitioning.
|
java.lang.String[] |
AbstractDocument.getLegalContentTypes(java.lang.String partitioning) |
java.lang.String[] |
IDocumentExtension3.getLegalContentTypes(java.lang.String partitioning)
Returns the set of legal content types of document partitions for the given partitioning
This set can be empty.
|
ITypedRegion |
AbstractDocument.getPartition(java.lang.String partitioning,
int offset,
boolean preferOpenPartitions) |
ITypedRegion |
IDocumentExtension3.getPartition(java.lang.String partitioning,
int offset,
boolean preferOpenPartitions)
Returns the document partition of the given partitioning in which the
given offset is located.
|
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.