Uses of Class
org.jline.utils.AttributedString
-
Packages that use AttributedString Package Description org.jline.builtins org.jline.console org.jline.console.impl org.jline.reader JLine 3.org.jline.reader.impl org.jline.style org.jline.utils JLine 3.org.jline.widget -
-
Uses of AttributedString in org.jline.builtins
Fields in org.jline.builtins with type parameters of type AttributedString Modifier and Type Field Description protected java.util.List<AttributedString>
Less. lines
Methods in org.jline.builtins that return AttributedString Modifier and Type Method Description (package private) AttributedString
Less. getLine(int line)
AttributedString
Nano.SyntaxHighlighter. highlight(java.lang.String string)
AttributedString
Nano.SyntaxHighlighter. highlight(AttributedString line)
AttributedString
Nano.SyntaxHighlighter. highlight(AttributedStringBuilder asb)
static AttributedString
Options.HelpException. highlight(java.lang.String msg, StyleResolver resolver)
static AttributedString
Options.HelpException. highlightComment(java.lang.String comment, StyleResolver resolver)
static AttributedString
Options.HelpException. highlightSyntax(java.lang.String syntax, StyleResolver resolver)
static AttributedString
Options.HelpException. highlightSyntax(java.lang.String syntax, StyleResolver resolver, boolean subcommands)
Methods in org.jline.builtins that return types with arguments of type AttributedString Modifier and Type Method Description protected java.util.List<AttributedString>
Nano. computeFooter()
(package private) java.util.List<AttributedString>
Nano.Buffer. computeHeader()
(package private) java.util.List<AttributedString>
Nano.Buffer. getDisplayedLines(int nbLines)
private Less.Pair<java.lang.Integer,AttributedString>
Less. nextLine2display(int line, java.util.regex.Pattern dpCompiled)
private Less.Pair<java.lang.Integer,AttributedString>
Less. prevLine2display(int line, java.util.regex.Pattern dpCompiled)
Methods in org.jline.builtins with parameters of type AttributedString Modifier and Type Method Description AttributedString
Nano.SyntaxHighlighter. highlight(AttributedString line)
private boolean
Less. toBeDisplayed(AttributedString curLine, java.util.regex.Pattern dpCompiled)
-
Uses of AttributedString in org.jline.console
Fields in org.jline.console with type parameters of type AttributedString Modifier and Type Field Description private java.util.List<AttributedString>
ArgDesc. description
private java.util.List<AttributedString>
CmdDesc. mainDesc
private java.util.TreeMap<java.lang.String,java.util.List<AttributedString>>
CmdDesc. optsDesc
Methods in org.jline.console that return AttributedString Modifier and Type Method Description AttributedString
CmdDesc. optionDescription(java.lang.String key)
Methods in org.jline.console that return types with arguments of type AttributedString Modifier and Type Method Description java.util.List<AttributedString>
ArgDesc. getDescription()
java.util.List<AttributedString>
CmdDesc. getMainDesc()
java.util.TreeMap<java.lang.String,java.util.List<AttributedString>>
CmdDesc. getOptsDesc()
Method parameters in org.jline.console with type arguments of type AttributedString Modifier and Type Method Description CmdDesc
CmdDesc. mainDesc(java.util.List<AttributedString> mainDesc)
void
CmdDesc. setMainDesc(java.util.List<AttributedString> mainDesc)
Constructor parameters in org.jline.console with type arguments of type AttributedString Constructor Description ArgDesc(java.lang.String name, java.util.List<AttributedString> description)
CmdDesc(java.util.List<ArgDesc> argsDesc, java.util.Map<java.lang.String,java.util.List<AttributedString>> optsDesc)
CmdDesc(java.util.List<AttributedString> mainDesc, java.util.List<ArgDesc> argsDesc, java.util.Map<java.lang.String,java.util.List<AttributedString>> optsDesc)
CmdDesc(java.util.List<AttributedString> mainDesc, java.util.List<ArgDesc> argsDesc, java.util.Map<java.lang.String,java.util.List<AttributedString>> optsDesc)
-
Uses of AttributedString in org.jline.console.impl
Fields in org.jline.console.impl with type parameters of type AttributedString Modifier and Type Field Description private java.util.Map<java.lang.String,java.util.function.Function<java.lang.Object,AttributedString>>
DefaultPrinter. highlightValue
Methods in org.jline.console.impl that return AttributedString Modifier and Type Method Description private AttributedString
DefaultPrinter. addPadding(AttributedString str, int width)
private AttributedString
DefaultPrinter. highlight(java.lang.Integer width, Nano.SyntaxHighlighter highlighter, java.lang.String object)
private AttributedString
DefaultPrinter. highlight(java.lang.Integer width, Nano.SyntaxHighlighter highlighter, java.lang.String object, boolean doValueHighlight)
private AttributedString
DefaultPrinter. highlight(CmdDesc cmdDesc)
AttributedString
SystemHighlighter. highlight(LineReader reader, java.lang.String buffer)
private static AttributedString
JlineCommandRegistry. highlightComment(java.lang.String comment)
private AttributedString
DefaultPrinter. highlightMapValue(java.util.Map<java.lang.String,java.lang.Object> options, java.lang.String key, java.util.Map<java.lang.String,java.lang.Object> map)
private AttributedString
DefaultPrinter. highlightValue(java.util.Map<java.lang.String,java.lang.Object> options, java.lang.String column, java.lang.Object obj)
private AttributedString
SystemHighlighter. systemHighlight(Parser parser, java.lang.String buffer)
private AttributedString
DefaultPrinter. truncate(AttributedStringBuilder asb, int width)
private AttributedString
DefaultPrinter. truncateValue(java.util.Map<java.lang.String,java.lang.Object> options, AttributedString value)
Methods in org.jline.console.impl with parameters of type AttributedString Modifier and Type Method Description private AttributedString
DefaultPrinter. addPadding(AttributedString str, int width)
private boolean
DefaultPrinter. isHighlighted(AttributedString value)
private void
DefaultPrinter. println(AttributedString line, int maxrows)
private AttributedString
DefaultPrinter. truncateValue(java.util.Map<java.lang.String,java.lang.Object> options, AttributedString value)
Method parameters in org.jline.console.impl with type arguments of type AttributedString Modifier and Type Method Description void
DefaultPrinter. setHighlightValue(java.util.Map<java.lang.String,java.util.function.Function<java.lang.Object,AttributedString>> highlightValue)
Highlight column value -
Uses of AttributedString in org.jline.reader
Methods in org.jline.reader that return AttributedString Modifier and Type Method Description AttributedString
Highlighter. highlight(LineReader reader, java.lang.String buffer)
Methods in org.jline.reader with parameters of type AttributedString Modifier and Type Method Description void
LineReader. printAbove(AttributedString str)
Prints a string before the prompt and redraw everything. -
Uses of AttributedString in org.jline.reader.impl
Fields in org.jline.reader.impl declared as AttributedString Modifier and Type Field Description (package private) AttributedString
LineReaderImpl.MenuSupport. computed
(package private) AttributedString
LineReaderImpl.PostResult. post
protected AttributedString
LineReaderImpl. prompt
protected AttributedString
LineReaderImpl. rightPrompt
Fields in org.jline.reader.impl with type parameters of type AttributedString Modifier and Type Field Description protected java.util.function.Supplier<AttributedString>
LineReaderImpl. post
Methods in org.jline.reader.impl that return AttributedString Modifier and Type Method Description private AttributedString
LineReaderImpl. addRightPrompt(AttributedString prompt, AttributedString line)
private AttributedString
LineReaderImpl. expandPromptPattern(java.lang.String pattern, int padToWidth, java.lang.String message, int line)
AttributedString
LineReaderImpl.MenuSupport. get()
AttributedString
LineReaderImpl. getDisplayedBufferWithPrompts(java.util.List<AttributedString> secondaryPrompts)
Compute the full string to be displayed with the left, right and secondary promptsprivate AttributedString
LineReaderImpl. getHighlightedBuffer(java.lang.String buffer)
AttributedString
DefaultHighlighter. highlight(LineReader reader, java.lang.String buffer)
private AttributedString
LineReaderImpl. insertSecondaryPrompts(AttributedString str, java.util.List<AttributedString> prompts)
private AttributedString
LineReaderImpl. insertSecondaryPrompts(AttributedString strAtt, java.util.List<AttributedString> prompts, boolean computePrompts)
Methods in org.jline.reader.impl with parameters of type AttributedString Modifier and Type Method Description private AttributedString
LineReaderImpl. addRightPrompt(AttributedString prompt, AttributedString line)
private AttributedString
LineReaderImpl. insertSecondaryPrompts(AttributedString str, java.util.List<AttributedString> prompts)
private AttributedString
LineReaderImpl. insertSecondaryPrompts(AttributedString strAtt, java.util.List<AttributedString> prompts, boolean computePrompts)
void
LineReaderImpl. printAbove(AttributedString str)
Method parameters in org.jline.reader.impl with type arguments of type AttributedString Modifier and Type Method Description private void
LineReaderImpl. concat(java.util.List<AttributedString> lines, AttributedStringBuilder sb)
AttributedString
LineReaderImpl. getDisplayedBufferWithPrompts(java.util.List<AttributedString> secondaryPrompts)
Compute the full string to be displayed with the left, right and secondary promptsprivate AttributedString
LineReaderImpl. insertSecondaryPrompts(AttributedString str, java.util.List<AttributedString> prompts)
private AttributedString
LineReaderImpl. insertSecondaryPrompts(AttributedString strAtt, java.util.List<AttributedString> prompts, boolean computePrompts)
Constructors in org.jline.reader.impl with parameters of type AttributedString Constructor Description PostResult(AttributedString post, int lines, int selectedLine)
-
Uses of AttributedString in org.jline.style
Methods in org.jline.style that return AttributedString Modifier and Type Method Description AttributedString
StyleExpression. evaluate(java.lang.String expression)
Evaluate expression.AttributedString
StyleFactory. evaluate(java.lang.String expression)
Evaluate a style expression.AttributedString
StyleFactory. evaluate(java.lang.String format, java.lang.Object... params)
Evaluate a style expression with format.AttributedString
StyleFactory. style(java.lang.String style, java.lang.String value)
Encode string with style applying value.AttributedString
StyleFactory. style(java.lang.String style, java.lang.String format, java.lang.Object... params)
Encode string with style formatted value. -
Uses of AttributedString in org.jline.utils
Fields in org.jline.utils declared as AttributedString 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.Fields in org.jline.utils with type parameters of type AttributedString Modifier and Type Field Description protected java.util.List<AttributedString>
Status. linesToRestore
protected java.util.List<AttributedString>
Display. oldLines
protected java.util.List<AttributedString>
Status. oldLines
Methods in org.jline.utils that return AttributedString Modifier and Type Method Description static AttributedString
AttributedStringBuilder. append(java.lang.CharSequence... strings)
AttributedString
AttributedCharSequence. columnSubSequence(int start, int stop)
static AttributedString
AttributedString. fromAnsi(java.lang.String ansi)
static AttributedString
AttributedString. fromAnsi(java.lang.String ansi, int tabs)
static AttributedString
AttributedString. fromAnsi(java.lang.String ansi, java.util.List<java.lang.Integer> tabs)
static AttributedString
AttributedString. join(AttributedString delimiter, java.lang.Iterable<AttributedString> elements)
static AttributedString
AttributedString. join(AttributedString delimiter, AttributedString... elements)
AttributedString
AttributedString. styleMatches(java.util.regex.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()
Methods in org.jline.utils that return types with arguments of type AttributedString Modifier and Type Method Description java.util.List<AttributedString>
AttributedCharSequence. columnSplitLength(int columns)
java.util.List<AttributedString>
AttributedCharSequence. columnSplitLength(int columns, boolean includeNewlines, boolean delayLineWrap)
Methods in org.jline.utils with parameters of type AttributedString Modifier and Type Method Description AttributedStringBuilder
AttributedStringBuilder. append(AttributedString str)
AttributedStringBuilder
AttributedStringBuilder. append(AttributedString str, int start, int end)
static java.util.List<DiffHelper.Diff>
DiffHelper. diff(AttributedString text1, AttributedString text2)
Compute a list of difference between two lines.static AttributedString
AttributedString. join(AttributedString delimiter, java.lang.Iterable<AttributedString> elements)
static AttributedString
AttributedString. join(AttributedString delimiter, AttributedString... elements)
(package private) void
Display. rawPrint(AttributedString str)
Method parameters in org.jline.utils with type arguments of type AttributedString Modifier and Type Method Description static AttributedString
AttributedString. join(AttributedString delimiter, java.lang.Iterable<AttributedString> elements)
private static int[]
Display. longestCommon(java.util.List<AttributedString> l1, java.util.List<AttributedString> l2)
protected void
Display. moveVisualCursorTo(int targetPos, java.util.List<AttributedString> newLines)
void
Display. update(java.util.List<AttributedString> newLines, int targetCursorPos)
Update the display according to the new lines and flushes the output.void
Display. update(java.util.List<AttributedString> newLines, int targetCursorPos, boolean flush)
Update the display according to the new lines.void
Status. update(java.util.List<AttributedString> lines)
Constructors in org.jline.utils with parameters of type AttributedString Constructor Description Diff(DiffHelper.Operation operation, AttributedString text)
Constructor. -
Uses of AttributedString in org.jline.widget
Methods in org.jline.widget that return types with arguments of type AttributedString Modifier and Type Method Description private java.util.List<AttributedString>
TailTipWidgets. compileMainDescription(CmdDesc cmdDesc, int descriptionSize)
private java.util.List<AttributedString>
TailTipWidgets. compileMainDescription(CmdDesc cmdDesc, int descriptionSize, java.lang.String lastArg)
private java.util.List<AttributedString>
TailTipWidgets. compileOptionDescription(CmdDesc cmdDesc, java.lang.String opt, int descriptionSize)
Method parameters in org.jline.widget with type arguments of type AttributedString Modifier and Type Method Description void
Widgets. addDescription(java.util.List<AttributedString> desc)
private void
TailTipWidgets. doDescription(java.util.List<AttributedString> desc)
-