- <init>
Creates a new DefaultContent and initializes it. AStyledTextContent> will
always have at least one
- addLineIndex
Adds a line index to the end of linesArray. Increases the size of the array if
necessary and returns
- adjustGap
Adjusts the gap to accommodate a text change that is occurring.
- delete
Deletes text.
- gapExists
Returns whether or not a gap exists in the text store.
- getCharCount
- getLineAtOffset
Returns the line at the given offset.
- getLineAtPhysicalOffset
Returns the line index at the given physical offset.
- getOffsetAtLine
Returns the logical offset of the given line.
- getPhysicalLine
Returns the physical line at the given index (i.e., with delimiters and the
gap).
- getPhysicalText
Returns a string representing the continuous content of the text store.
- getTextRange
Returns a string representing the logical content of the text store (i.e., gap
stripped out).