Package | Description |
---|---|
org.openide.text |
NetBeans is able to integrate multiple
editors
for different content types and mechanically access their content.
|
Modifier and Type | Class and Description |
---|---|
class |
DocumentLine
Implementation of a line in a
StyledDocument . |
Modifier and Type | Method and Description |
---|---|
protected abstract Line |
DocumentLine.Set.createLine(int offset)
Creates a
Line for a given offset. |
abstract Line |
Line.Set.getCurrent(int line)
Find line object representing the line in current document.
|
Line |
DocumentLine.Set.getCurrent(int line) |
abstract Line |
Line.Part.getLine()
Line can change during editting
|
abstract Line |
Line.Set.getOriginal(int line)
Find line object in the line set corresponding to original line number.
|
Line |
DocumentLine.Set.getOriginal(int line) |
Modifier and Type | Method and Description |
---|---|
boolean |
Line.canBeMarkedCurrent(int action,
Line previousLine)
Deprecated.
Deprecated since 1.20, as
Line.markCurrentLine() is deprecated by Annotation.attach(org.openide.text.Annotatable) . |
int |
Line.Set.getOriginalLineNumber(Line line)
Finds an original line number for given line in this line set.
|
int |
DocumentLine.Set.getOriginalLineNumber(Line line) |
protected String |
CloneableEditorSupport.messageLine(Line line)
Computes display name for a line produced
by this
CloneableEditorSupport.getLineSet() . |