Methods in
org.eclipse.jface.text that throw
BadPositionCategoryException
|
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. |