Uses of Class
org.eclipse.jface.text.BadPositionCategoryException
Package
Description
Provides a framework for creating and manipulating text documents.
Provides a framework for rule based text scanning
and uses the framework to provide rule-driven default implementations of
IPresentationDamager
, IPresentationRepairer
and IDocumentPartitioner
.-
Uses of BadPositionCategoryException in org.eclipse.jface.text
Modifier and TypeMethodDescriptionvoid
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 aPosition
with the specified offset would be inserted into the given category.Position[]
AbstractDocument.getPositions
(String 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.Position[]
IDocument.getPositions
(String category) Returns all positions of the given position category.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. -
Uses of BadPositionCategoryException in org.eclipse.jface.text.rules
Modifier and TypeMethodDescriptionprotected final Position[]
FastPartitioner.getPositions()
Returns the partitioners positions.