Interface ITypedRegion

All Superinterfaces:
All Known Implementing Classes:
DirtyRegion, TypedRegion

public interface ITypedRegion extends IRegion
Describes a region of an indexed text store such as a document or a string. The region consists of offset, length, and type. The region type is defined as a string.

A typed region can, e.g., be used to described document partitions.

Clients may implement this interface or use the standard implementation TypedRegion.

  • Method Summary

    Modifier and Type
    Returns the content type of the region.

    Methods inherited from interface org.eclipse.jface.text.IRegion

    getLength, getOffset
  • Method Details

    • getType

      String getType()
      Returns the content type of the region.
      the content type of the region