Package | Description |
---|---|
org.jline.builtins | |
org.jline.reader |
JLine 3.
|
org.jline.reader.impl | |
org.jline.style | |
org.jline.utils |
JLine 3.
|
Modifier and Type | Field | Description |
---|---|---|
protected List<AttributedString> |
Less.lines |
Modifier and Type | Method | Description |
---|---|---|
AttributedString |
Nano.SyntaxHighlighter.highlight(String string) |
|
AttributedString |
Nano.SyntaxHighlighter.highlight(AttributedString line) |
|
AttributedString |
Nano.SyntaxHighlighter.highlight(AttributedStringBuilder asb) |
|
static AttributedString |
Options.HelpException.highlight(String msg,
StyleResolver resolver) |
|
static AttributedString |
Options.HelpException.highlightComment(String comment,
StyleResolver resolver) |
|
static AttributedString |
Options.HelpException.highlightSyntax(String syntax,
StyleResolver resolver) |
|
static AttributedString |
Options.HelpException.highlightSyntax(String syntax,
StyleResolver resolver,
boolean subcommands) |
Modifier and Type | Method | Description |
---|---|---|
protected List<AttributedString> |
Nano.computeFooter() |
|
List<AttributedString> |
Widgets.ArgDesc.getDescription() |
|
protected List<AttributedString> |
Widgets.CmdDesc.getMainDescription(int descriptionSize) |
|
protected List<AttributedString> |
Widgets.CmdDesc.getMainDescription(int descriptionSize,
String lastArg) |
|
protected List<AttributedString> |
Widgets.CmdDesc.getOptionDescription(String opt,
int descriptionSize) |
|
List<AttributedString> |
ConsoleEngineImpl.highlightList(Map<String,Object> options,
List<Object> collection,
int width) |
Modifier and Type | Method | Description |
---|---|---|
AttributedString |
Nano.SyntaxHighlighter.highlight(AttributedString line) |
Modifier and Type | Method | Description |
---|---|---|
void |
Widgets.addDescription(List<AttributedString> desc) |
|
Widgets.CmdDesc |
Widgets.CmdDesc.mainDesc(List<AttributedString> mainDesc) |
|
void |
ConsoleEngineImpl.setHighlightValue(Map<String,Function<Object,AttributedString>> highlightValue) |
Highlight column value
|
void |
Widgets.CmdDesc.setMainDesc(List<AttributedString> mainDesc) |
Constructor | Description |
---|---|
ArgDesc(String name,
List<AttributedString> description) |
|
CmdDesc(List<Widgets.ArgDesc> argsDesc,
Map<String,List<AttributedString>> optsDesc) |
|
CmdDesc(List<AttributedString> mainDesc,
List<Widgets.ArgDesc> argsDesc,
Map<String,List<AttributedString>> optsDesc) |
|
CmdDesc(List<AttributedString> mainDesc,
List<Widgets.ArgDesc> argsDesc,
Map<String,List<AttributedString>> optsDesc) |
Modifier and Type | Method | Description |
---|---|---|
AttributedString |
Highlighter.highlight(LineReader reader,
String buffer) |
Modifier and Type | Method | Description |
---|---|---|
void |
LineReader.printAbove(AttributedString str) |
Prints a string before the prompt and redraw everything.
|
Modifier and Type | Field | Description |
---|---|---|
protected AttributedString |
LineReaderImpl.prompt |
|
protected AttributedString |
LineReaderImpl.rightPrompt |
Modifier and Type | Field | Description |
---|---|---|
protected Supplier<AttributedString> |
LineReaderImpl.post |
Modifier and Type | Method | Description |
---|---|---|
AttributedString |
LineReaderImpl.getDisplayedBufferWithPrompts(List<AttributedString> secondaryPrompts) |
Compute the full string to be displayed with the left, right and secondary prompts
|
AttributedString |
DefaultHighlighter.highlight(LineReader reader,
String buffer) |
Modifier and Type | Method | Description |
---|---|---|
void |
LineReaderImpl.printAbove(AttributedString str) |
Modifier and Type | Method | Description |
---|---|---|
AttributedString |
LineReaderImpl.getDisplayedBufferWithPrompts(List<AttributedString> secondaryPrompts) |
Compute the full string to be displayed with the left, right and secondary prompts
|
Constructor | Description |
---|---|
PostResult(AttributedString post,
int lines,
int selectedLine) |
Modifier and Type | Method | Description |
---|---|---|
AttributedString |
StyleExpression.evaluate(String expression) |
Evaluate expression.
|
AttributedString |
StyleFactory.evaluate(String expression) |
Evaluate a style expression.
|
AttributedString |
StyleFactory.evaluate(String format,
Object... params) |
Evaluate a style expression with format.
|
AttributedString |
StyleFactory.style(String style,
String value) |
Encode string with style applying value.
|
AttributedString |
StyleFactory.style(String style,
String format,
Object... params) |
Encode string with style formatted value.
|
Modifier and Type | Field | Description |
---|---|---|
protected AttributedString |
Status.borderString |
|
static AttributedString |
AttributedString.EMPTY |
|
static AttributedString |
AttributedString.NEWLINE |
|
AttributedString |
DiffHelper.Diff.text |
The text associated with this diff operation.
|
Modifier and Type | Field | Description |
---|---|---|
protected List<AttributedString> |
Status.linesToRestore |
|
protected List<AttributedString> |
Display.oldLines |
|
protected List<AttributedString> |
Status.oldLines |
Modifier and Type | Method | 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.fromAnsi(String ansi,
List<Integer> tabs) |
|
static AttributedString |
AttributedString.join(AttributedString delimiter,
Iterable<AttributedString> elements) |
|
static AttributedString |
AttributedString.join(AttributedString delimiter,
AttributedString... elements) |
|
AttributedString |
AttributedString.styleMatches(Pattern pattern,
AttributedStyle style) |
|
abstract AttributedString |
AttributedCharSequence.subSequence(int start,
int end) |
|
AttributedString |
AttributedString.subSequence(int start,
int end) |
|
AttributedString |
AttributedStringBuilder.subSequence(int start,
int end) |
|
AttributedString |
AttributedCharSequence.substring(int start,
int end) |
|
AttributedString |
AttributedCharSequence.toAttributedString() |
Modifier and Type | Method | Description |
---|---|---|
List<AttributedString> |
AttributedCharSequence.columnSplitLength(int columns) |
|
List<AttributedString> |
AttributedCharSequence.columnSplitLength(int columns,
boolean includeNewlines,
boolean delayLineWrap) |
Modifier and Type | Method | 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,
Iterable<AttributedString> elements) |
|
static AttributedString |
AttributedString.join(AttributedString delimiter,
AttributedString... elements) |
Modifier and Type | Method | Description |
---|---|---|
static AttributedString |
AttributedString.join(AttributedString delimiter,
Iterable<AttributedString> elements) |
|
protected void |
Display.moveVisualCursorTo(int targetPos,
List<AttributedString> newLines) |
|
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.
|
void |
Status.update(List<AttributedString> lines) |
Constructor | Description |
---|---|
Diff(DiffHelper.Operation operation,
AttributedString text) |
Constructor.
|
Copyright © 2020. All rights reserved.