org.incava.text
public class LineMapping extends ArrayList
Nested Class Summary | |
---|---|
class | LineMapping.PositionToLocation |
Constructor Summary | |
---|---|
LineMapping(String text, int startLine, int startColumn) |
Method Summary | |
---|---|
Location | getLocation(int pos)
Converts the string position to a line:column location. |
Location[] | getLocations(Point pos)
Converts the string position to a line:column start and end location. |
Location[] | getLocations(int startPos, int endPos)
Converts the string position to a line:column start and end location. |