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