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 | Description |
---|---|---|
class |
DocumentLine |
Implementation of a line in a
StyledDocument . |
Modifier and Type | Method | Description |
---|---|---|
protected abstract Line |
DocumentLine.Set.createLine(int offset) |
Creates a
Line for a given offset. |
Line |
DocumentLine.Set.getCurrent(int line) |
|
abstract Line |
Line.Set.getCurrent(int line) |
Find line object representing the line in current document.
|
abstract Line |
Line.Part.getLine() |
Line can change during editting
|
Line |
DocumentLine.Set.getOriginal(int line) |
|
abstract Line |
Line.Set.getOriginal(int line) |
Find line object in the line set corresponding to original line number.
|
Modifier and Type | Method | Description |
---|---|---|
List<? extends Line> |
DocumentLine.Set.getLines() |
|
abstract List<? extends Line> |
Line.Set.getLines() |
Returns a set of line objects sorted by their
line numbers.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
Line.canBeMarkedCurrent(int action,
Line previousLine) |
Deprecated.
Deprecated since 1.20, as
markCurrentLine() is deprecated by Annotation.attach(org.openide.text.Annotatable) . |
int |
DocumentLine.Set.getOriginalLineNumber(Line line) |
|
int |
Line.Set.getOriginalLineNumber(Line line) |
Finds an original line number for given line in this line set.
|
protected String |
CloneableEditorSupport.messageLine(Line line) |
Computes display name for a line produced
by this
CloneableEditorSupport.getLineSet() . |
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.