Package | Description |
---|---|
org.eclipse.jface.text |
Provides a framework for creating and manipulating text documents.
|
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 | Method and Description |
---|---|
void |
AbstractDocument.addPosition(String category,
Position position) |
void |
IDocument.addPosition(String category,
Position position)
Adds the position to the specified position category of the document.
|
int |
AbstractDocument.computeIndexInCategory(String category,
int offset) |
int |
IDocument.computeIndexInCategory(String category,
int offset)
Computes the index at which a
Position with the
specified offset would be inserted into the given category. |
Position[] |
AbstractDocument.getPositions(String category) |
Position[] |
IDocument.getPositions(String category)
Returns all positions of the given position category.
|
Position[] |
AbstractDocument.getPositions(String category,
int offset,
int length,
boolean canStartBefore,
boolean canEndAfter)
Returns all positions of the given category that are inside the given region.
|
void |
AbstractDocument.removePosition(String category,
Position position) |
void |
IDocument.removePosition(String category,
Position position)
Removes the given position from the specified position category.
|
void |
AbstractDocument.removePositionCategory(String category) |
void |
IDocument.removePositionCategory(String category)
Deletes the position category from the document.
|
Modifier and Type | Method and Description |
---|---|
protected Position[] |
FastPartitioner.getPositions()
Returns the partitioners positions.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.