Package | Description |
---|---|
org.jline.utils |
JLine 3.
|
Modifier and Type | Field and Description |
---|---|
static AttributedString |
AttributedString.EMPTY |
static AttributedString |
AttributedString.NEWLINE |
AttributedString |
DiffHelper.Diff.text
The text associated with this diff operation.
|
Modifier and Type | Field and Description |
---|---|
protected List<AttributedString> |
Display.oldLines |
Modifier and Type | Method and Description |
---|---|
static AttributedString |
AttributedStringBuilder.append(CharSequence... strings) |
AttributedString |
AttributedCharSequence.columnSubSequence(int start,
int stop) |
static AttributedString |
AttributedString.fromAnsi(String ansi) |
static AttributedString |
AttributedString.fromAnsi(String ansi,
int tabs) |
static AttributedString |
AttributedString.join(AttributedString delimiter,
AttributedString... elements) |
static AttributedString |
AttributedString.join(AttributedString delimiter,
Iterable<AttributedString> elements) |
AttributedString |
AttributedString.styleMatches(Pattern pattern,
AttributedStyle style) |
AttributedString |
AttributedStringBuilder.subSequence(int start,
int end) |
abstract AttributedString |
AttributedCharSequence.subSequence(int start,
int end) |
AttributedString |
AttributedString.subSequence(int start,
int end) |
AttributedString |
AttributedCharSequence.substring(int start,
int end) |
AttributedString |
AttributedCharSequence.toAttributedString() |
Modifier and Type | Method and Description |
---|---|
List<AttributedString> |
AttributedCharSequence.columnSplitLength(int columns) |
List<AttributedString> |
AttributedCharSequence.columnSplitLength(int columns,
boolean includeNewlines,
boolean delayLineWrap) |
Modifier and Type | Method and Description |
---|---|
AttributedStringBuilder |
AttributedStringBuilder.append(AttributedString str) |
AttributedStringBuilder |
AttributedStringBuilder.append(AttributedString str,
int start,
int end) |
static List<DiffHelper.Diff> |
DiffHelper.diff(AttributedString text1,
AttributedString text2)
Compute a list of difference between two lines.
|
static AttributedString |
AttributedString.join(AttributedString delimiter,
AttributedString... elements) |
static AttributedString |
AttributedString.join(AttributedString delimiter,
AttributedString... elements) |
static AttributedString |
AttributedString.join(AttributedString delimiter,
Iterable<AttributedString> elements) |
Modifier and Type | Method and Description |
---|---|
static AttributedString |
AttributedString.join(AttributedString delimiter,
Iterable<AttributedString> elements) |
protected void |
Display.moveVisualCursorTo(int targetPos,
List<AttributedString> newLines)
Move cursor from cursorPos to argument, updating cursorPos
We're at the right margin if
(cursorPos % columns1) == columns . |
void |
Display.update(List<AttributedString> newLines,
int targetCursorPos)
Update the display according to the new lines and flushes the output.
|
void |
Display.update(List<AttributedString> newLines,
int targetCursorPos,
boolean flush)
Update the display according to the new lines.
|
Constructor and Description |
---|
Diff(DiffHelper.Operation operation,
AttributedString text)
Constructor.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.