# Uses of Interface
org.eclipse.jface.text.ITypedRegion

Packages that use ITypedRegion
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`.
org.eclipse.ui.console
Application programming interfaces for interaction with the Eclipse console.

## Uses of ITypedRegion in org.eclipse.jface.text

Classes in org.eclipse.jface.text that implement ITypedRegion
Modifier and Type
Class
Description
`class`
`TypedRegion`
Default implementation of `ITypedRegion`.
Methods in org.eclipse.jface.text that return ITypedRegion
Modifier and Type
Method
Description
`ITypedRegion[]`
AbstractDocument.`computePartitioning(int offset, int length)`
`ITypedRegion[]`
AbstractDocument.`computePartitioning(String partitioning, int offset, int length, boolean includeZeroLengthPartitions)`
`ITypedRegion[]`
IDocument.`computePartitioning(int offset, int length)`
Computes the partitioning of the given document range using the document's partitioner.
`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.
`ITypedRegion[]`
IDocumentPartitioner.`computePartitioning(int offset, int length)`
Returns the partitioning of the given range of the connected document.
`ITypedRegion[]`
IDocumentPartitionerExtension2.`computePartitioning(int offset, int length, boolean includeZeroLengthPartitions)`
Returns the partitioning of the given range of the connected document.
`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`
AbstractDocument.`getPartition(int offset)`
`ITypedRegion`
AbstractDocument.`getPartition(String partitioning, int offset, boolean preferOpenPartitions)`
`ITypedRegion`
IDocument.`getPartition(int offset)`
Returns the document partition in which the position is located.
`ITypedRegion`
IDocumentExtension3.`getPartition(String partitioning, int offset, boolean preferOpenPartitions)`
Returns the document partition of the given partitioning in which the given offset is located.
`ITypedRegion`
IDocumentPartitioner.`getPartition(int offset)`
Returns the partition containing the given offset of the connected document.
`ITypedRegion`
IDocumentPartitionerExtension2.`getPartition(int offset, boolean preferOpenPartitions)`
Returns the partition containing the given offset of the connected document.
`static ITypedRegion`
TextUtilities.`getPartition(IDocument document, String partitioning, int offset, boolean preferOpenPartitions)`
Returns the partition of the given offset of the given document.
Constructors in org.eclipse.jface.text with parameters of type ITypedRegion
Modifier
Constructor
Description
``
`TypedPosition(ITypedRegion region)`
Creates a position based on the typed region.

## Uses of ITypedRegion in org.eclipse.jface.text.presentation

Methods in org.eclipse.jface.text.presentation with parameters of type ITypedRegion
Modifier and Type
Method
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.

## Uses of ITypedRegion in org.eclipse.jface.text.reconciler

Classes in org.eclipse.jface.text.reconciler that implement ITypedRegion
Modifier and Type
Class
Description
`class`
`DirtyRegion`
A dirty region describes a document range which has been changed.

## Uses of ITypedRegion in org.eclipse.jface.text.rules

Methods in org.eclipse.jface.text.rules that return ITypedRegion
Modifier and Type
Method
Description
`ITypedRegion[]`
DefaultPartitioner.`computePartitioning(int offset, int length)`
Deprecated, for removal: This API element is subject to removal in a future version.
`ITypedRegion[]`
DefaultPartitioner.`computePartitioning(int offset, int length, boolean includeZeroLengthPartitions)`
Deprecated, for removal: This API element is subject to removal in a future version.
`final ITypedRegion[]`
FastPartitioner.`computePartitioning(int offset, int length)`
`ITypedRegion[]`
FastPartitioner.`computePartitioning(int offset, int length, boolean includeZeroLengthPartitions)`
Returns the partitioning of the given range of the connected document.
`ITypedRegion[]`
RuleBasedPartitioner.`computePartitioning(int offset, int length)`
Deprecated.
`ITypedRegion[]`
RuleBasedPartitioner.`computePartitioning(int offset, int length, boolean includeZeroLengthPartitions)`
Deprecated.
`ITypedRegion`
DefaultPartitioner.`getPartition(int offset)`
Deprecated, for removal: This API element is subject to removal in a future version.
`ITypedRegion`
DefaultPartitioner.`getPartition(int offset, boolean preferOpenPartitions)`
Deprecated, for removal: This API element is subject to removal in a future version.
`ITypedRegion`
FastPartitioner.`getPartition(int offset)`
Returns the partition containing the given offset of the connected document.
`ITypedRegion`
FastPartitioner.`getPartition(int offset, boolean preferOpenPartitions)`
Returns the partition containing the given offset of the connected document.
`ITypedRegion`
RuleBasedPartitioner.`getPartition(int offset)`
Deprecated.
`ITypedRegion`
RuleBasedPartitioner.`getPartition(int offset, boolean preferOpenPartitions)`
Deprecated.
Methods in org.eclipse.jface.text.rules with parameters of type ITypedRegion
Modifier and Type
Method
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.

## Uses of ITypedRegion in org.eclipse.ui.console

Methods in org.eclipse.ui.console that return ITypedRegion
Modifier and Type
Method
Description
`ITypedRegion[]`
IConsoleDocumentPartitionerExtension.`computeReadOnlyPartitions()`
Returns all partitions which are read-only.
`ITypedRegion[]`
IConsoleDocumentPartitionerExtension.`computeReadOnlyPartitions(int offset, int length)`
Returns all read-only partitions in given range.
`ITypedRegion[]`
IConsoleDocumentPartitionerExtension.`computeWritablePartitions()`
Returns all partitions which are writable.
`ITypedRegion[]`
IConsoleDocumentPartitionerExtension.`computeWritablePartitions(int offset, int length)`
Returns all writable partitions in given range.