Package | Description |
---|---|
org.eclipse.jface.text |
Provides a framework for creating and manipulating text documents.
|
org.eclipse.jface.text.presentation |
Provides a presentation reconciler add-on for an ITextViewer.
|
org.eclipse.jface.text.reconciler |
Provides a reconciler add-on for an ITextViewer.
|
org.eclipse.jface.text.rules |
Provides a framework for rule based text scanning
and uses the framework to provide rule-driven default implementations of
IPresentationDamager, IPresentationRepairer and IDocumentPartitioner.
|
Modifier and Type | Class and Description |
---|---|
class |
TypedRegion
Default implementation of
ITypedRegion . |
Modifier and Type | Method and Description |
---|---|
static ITypedRegion[] |
TextUtilities.computePartitioning(IDocument document,
String partitioning,
int offset,
int length,
boolean includeZeroLengthPartitions)
Computes and returns the partitioning for the given region of the given
document for the given partitioning name.
|
ITypedRegion[] |
IDocumentPartitioner.computePartitioning(int offset,
int length)
Returns the partitioning of the given range of the connected
document.
|
ITypedRegion[] |
AbstractDocument.computePartitioning(int offset,
int length) |
ITypedRegion[] |
IDocument.computePartitioning(int offset,
int length)
Computes the partitioning of the given document range using the
document's partitioner.
|
ITypedRegion[] |
IDocumentPartitionerExtension2.computePartitioning(int offset,
int length,
boolean includeZeroLengthPartitions)
Returns the partitioning of the given range of the connected document.
|
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.
|
static ITypedRegion |
TextUtilities.getPartition(IDocument document,
String partitioning,
int offset,
boolean preferOpenPartitions)
Returns the partition of the given offset of the given document.
|
ITypedRegion |
IDocumentPartitioner.getPartition(int offset)
Returns the partition containing the given offset of
the connected document.
|
ITypedRegion |
AbstractDocument.getPartition(int offset) |
ITypedRegion |
IDocument.getPartition(int offset)
Returns the document partition in which the position is located.
|
ITypedRegion |
IDocumentPartitionerExtension2.getPartition(int offset,
boolean preferOpenPartitions)
Returns the partition containing the given offset of the connected
document.
|
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.
|
Constructor and Description |
---|
TypedPosition(ITypedRegion region)
Creates a position based on the typed region.
|
Modifier and Type | Method and Description |
---|---|
void |
IPresentationRepairer.createPresentation(TextPresentation presentation,
ITypedRegion damage)
Fills the given presentation with the style ranges which when applied to the
presentation reconciler's text viewer repair the presentation damage described by
the given region.
|
IRegion |
IPresentationDamager.getDamageRegion(ITypedRegion partition,
DocumentEvent event,
boolean documentPartitioningChanged)
Returns the damage in the document's presentation caused by the given document change.
|
Modifier and Type | Class and Description |
---|---|
class |
DirtyRegion
A dirty region describes a document range which has been changed.
|
Modifier and Type | Method and Description |
---|---|
ITypedRegion[] |
RuleBasedPartitioner.computePartitioning(int offset,
int length)
Deprecated.
|
ITypedRegion[] |
DefaultPartitioner.computePartitioning(int offset,
int length)
Deprecated.
|
ITypedRegion[] |
FastPartitioner.computePartitioning(int offset,
int length) |
ITypedRegion[] |
RuleBasedPartitioner.computePartitioning(int offset,
int length,
boolean includeZeroLengthPartitions)
Deprecated.
|
ITypedRegion[] |
DefaultPartitioner.computePartitioning(int offset,
int length,
boolean includeZeroLengthPartitions)
Deprecated.
|
ITypedRegion[] |
FastPartitioner.computePartitioning(int offset,
int length,
boolean includeZeroLengthPartitions)
Returns the partitioning of the given range of the connected document.
|
ITypedRegion |
RuleBasedPartitioner.getPartition(int offset)
Deprecated.
|
ITypedRegion |
DefaultPartitioner.getPartition(int offset)
Deprecated.
|
ITypedRegion |
FastPartitioner.getPartition(int offset)
Returns the partition containing the given offset of
the connected document.
|
ITypedRegion |
RuleBasedPartitioner.getPartition(int offset,
boolean preferOpenPartitions)
Deprecated.
|
ITypedRegion |
DefaultPartitioner.getPartition(int offset,
boolean preferOpenPartitions)
Deprecated.
|
ITypedRegion |
FastPartitioner.getPartition(int offset,
boolean preferOpenPartitions)
Returns the partition containing the given offset of the connected
document.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultDamagerRepairer.createPresentation(TextPresentation presentation,
ITypedRegion region) |
IRegion |
DefaultDamagerRepairer.getDamageRegion(ITypedRegion partition,
DocumentEvent e,
boolean documentPartitioningChanged)
Returns the damage in the document's presentation caused by the given document change.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.