Uses of Class
org.jline.utils.AttributedString
Packages that use AttributedString
Package
Description
JLine 3.
JLine 3.
-
Uses of AttributedString in org.jline.builtins
Fields in org.jline.builtins with type parameters of type AttributedStringMethods in org.jline.builtins that return AttributedStringModifier and TypeMethodDescription(package private) AttributedString
Less.getLine
(int line) static AttributedString
Options.HelpException.highlight
(String msg, StyleResolver resolver) SyntaxHighlighter.highlight
(AttributedString attributedString) SyntaxHighlighter.highlight
(AttributedStringBuilder asb) 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) private AttributedString
SyntaxHighlighter.splitAndHighlight
(AttributedString attributedString) Methods in org.jline.builtins that return types with arguments of type AttributedStringModifier and TypeMethodDescriptionprotected List<AttributedString>
Nano.computeFooter()
(package private) List<AttributedString>
Nano.Buffer.computeHeader()
(package private) List<AttributedString>
Nano.Buffer.getDisplayedLines
(int nbLines) private Less.Pair<Integer,
AttributedString> Less.nextLine2display
(int line, Pattern dpCompiled) private Less.Pair<Integer,
AttributedString> Less.prevLine2display
(int line, Pattern dpCompiled) Methods in org.jline.builtins with parameters of type AttributedStringModifier and TypeMethodDescriptionprivate AttributedStringBuilder
SyntaxHighlighter._highlight
(AttributedString line, List<SyntaxHighlighter.HighlightRule> rules) private AttributedStringBuilder
SyntaxHighlighter._highlight
(AttributedString line, List<SyntaxHighlighter.HighlightRule> rules, CharSequence startWith, CharSequence continueAs) SyntaxHighlighter.highlight
(AttributedString attributedString) private AttributedString
SyntaxHighlighter.splitAndHighlight
(AttributedString attributedString) private boolean
Less.toBeDisplayed
(AttributedString curLine, Pattern dpCompiled) -
Uses of AttributedString in org.jline.console
Fields in org.jline.console with type parameters of type AttributedStringModifier and TypeFieldDescriptionprivate final List<AttributedString>
ArgDesc.description
private List<AttributedString>
CmdDesc.mainDesc
private TreeMap<String,
List<AttributedString>> CmdDesc.optsDesc
Methods in org.jline.console that return AttributedStringMethods in org.jline.console that return types with arguments of type AttributedStringModifier and TypeMethodDescriptionArgDesc.getDescription()
CmdDesc.getMainDesc()
CmdDesc.getOptsDesc()
Method parameters in org.jline.console with type arguments of type AttributedStringModifier and TypeMethodDescriptionCmdDesc.mainDesc
(List<AttributedString> mainDesc) void
CmdDesc.setMainDesc
(List<AttributedString> mainDesc) Constructor parameters in org.jline.console with type arguments of type AttributedStringModifierConstructorDescriptionArgDesc
(String name, List<AttributedString> description) CmdDesc
(List<AttributedString> mainDesc, List<ArgDesc> argsDesc, Map<String, List<AttributedString>> optsDesc) CmdDesc
(List<AttributedString> mainDesc, List<ArgDesc> argsDesc, Map<String, List<AttributedString>> optsDesc) -
Uses of AttributedString in org.jline.console.impl
Fields in org.jline.console.impl with type parameters of type AttributedStringModifier and TypeFieldDescriptionprivate Map<String,
Function<Object, AttributedString>> DefaultPrinter.highlightValue
Methods in org.jline.console.impl that return AttributedStringModifier and TypeMethodDescriptionprivate AttributedString
DefaultPrinter.addPadding
(AttributedString str, int width) protected AttributedString
SystemHighlighter.doCommandHighlight
(String buffer) protected AttributedString
SystemHighlighter.doFileArgsHighlight
(LineReader reader, String buffer, List<String> words, SystemHighlighter.FileHighlightCommand fhc) protected AttributedString
SystemHighlighter.doFileOptsHighlight
(LineReader reader, String buffer, List<String> words, SystemHighlighter.FileHighlightCommand fhc) private AttributedString
DefaultPrinter.highlight
(Integer width, SyntaxHighlighter highlighter, String object, boolean doValueHighlight) private AttributedString
SystemHighlighter.highlight
(LineReader reader, String buffer) private static AttributedString
JlineCommandRegistry.highlightComment
(String comment) private AttributedString
private AttributedString
protected AttributedString
SystemHighlighter.systemHighlight
(LineReader reader, String buffer) private AttributedString
DefaultPrinter.truncateValue
(Map<String, Object> options, AttributedString value) Methods in org.jline.console.impl with parameters of type AttributedStringModifier and TypeMethodDescriptionprivate 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
(Map<String, Object> options, AttributedString value) Method parameters in org.jline.console.impl with type arguments of type AttributedStringModifier and TypeMethodDescriptionvoid
DefaultPrinter.setHighlightValue
(Map<String, Function<Object, AttributedString>> highlightValue) Highlight column value -
Uses of AttributedString in org.jline.reader
Methods in org.jline.reader that return AttributedStringModifier and TypeMethodDescriptionHighlighter.highlight
(LineReader reader, String buffer) Highlight bufferMethods in org.jline.reader with parameters of type AttributedStringModifier and TypeMethodDescriptionvoid
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 AttributedStringModifier and TypeFieldDescription(package private) AttributedString
LineReaderImpl.MenuSupport.computed
(package private) final AttributedString
LineReaderImpl.PostResult.post
protected AttributedString
LineReaderImpl.prompt
protected AttributedString
LineReaderImpl.rightPrompt
Fields in org.jline.reader.impl with type parameters of type AttributedStringMethods in org.jline.reader.impl that return AttributedStringModifier and TypeMethodDescriptionprivate AttributedString
LineReaderImpl.addRightPrompt
(AttributedString prompt, AttributedString line) private AttributedString
LineReaderImpl.expandPromptPattern
(String pattern, int padToWidth, String message, int line) private AttributedString
LineReaderImpl.MenuSupport.get()
LineReaderImpl.getDisplayedBufferWithPrompts
(List<AttributedString> secondaryPrompts) Compute the full string to be displayed with the left, right and secondary promptsprivate AttributedString
LineReaderImpl.getHighlightedBuffer
(String buffer) DefaultHighlighter.highlight
(LineReader reader, String buffer) private AttributedString
LineReaderImpl.insertSecondaryPrompts
(AttributedString str, List<AttributedString> prompts) private AttributedString
LineReaderImpl.insertSecondaryPrompts
(AttributedString strAtt, List<AttributedString> prompts, boolean computePrompts) Methods in org.jline.reader.impl with parameters of type AttributedStringModifier and TypeMethodDescriptionprivate AttributedString
LineReaderImpl.addRightPrompt
(AttributedString prompt, AttributedString line) private AttributedString
LineReaderImpl.insertSecondaryPrompts
(AttributedString str, List<AttributedString> prompts) private AttributedString
LineReaderImpl.insertSecondaryPrompts
(AttributedString strAtt, List<AttributedString> prompts, boolean computePrompts) void
LineReaderImpl.printAbove
(AttributedString str) Method parameters in org.jline.reader.impl with type arguments of type AttributedStringModifier and TypeMethodDescriptionprivate void
LineReaderImpl.concat
(List<AttributedString> lines, AttributedStringBuilder sb) LineReaderImpl.getDisplayedBufferWithPrompts
(List<AttributedString> secondaryPrompts) Compute the full string to be displayed with the left, right and secondary promptsprivate AttributedString
LineReaderImpl.insertSecondaryPrompts
(AttributedString str, List<AttributedString> prompts) private AttributedString
LineReaderImpl.insertSecondaryPrompts
(AttributedString strAtt, List<AttributedString> prompts, boolean computePrompts) Constructors in org.jline.reader.impl with parameters of type AttributedString -
Uses of AttributedString in org.jline.style
Methods in org.jline.style that return AttributedStringModifier and TypeMethodDescriptionEvaluate expression.Evaluate a style expression.Evaluate a style expression with format.Encode string with style applying value.Encode string with style formatted value. -
Uses of AttributedString in org.jline.utils
Fields in org.jline.utils declared as AttributedStringModifier and TypeFieldDescriptionprotected AttributedString
Status.borderString
static final AttributedString
AttributedString.EMPTY
static final AttributedString
AttributedString.NEWLINE
final AttributedString
DiffHelper.Diff.text
The text associated with this diff operation.Fields in org.jline.utils with type parameters of type AttributedStringModifier and TypeFieldDescriptionprotected List<AttributedString>
Status.linesToRestore
protected List<AttributedString>
Display.oldLines
protected List<AttributedString>
Status.oldLines
Methods in org.jline.utils that return AttributedStringModifier and TypeMethodDescriptionstatic AttributedString
AttributedStringBuilder.append
(CharSequence... strings) AttributedCharSequence.columnSubSequence
(int start, int stop) static AttributedString
static AttributedString
static AttributedString
static AttributedString
static AttributedString
static AttributedString
AttributedString.join
(AttributedString delimiter, Iterable<AttributedString> elements) static AttributedString
AttributedString.join
(AttributedString delimiter, AttributedString... elements) AttributedString.styleMatches
(Pattern pattern, AttributedStyle style) abstract AttributedString
AttributedCharSequence.subSequence
(int start, int end) AttributedString.subSequence
(int start, int end) AttributedStringBuilder.subSequence
(int start, int end) AttributedCharSequence.substring
(int start, int end) AttributedCharSequence.toAttributedString()
Methods in org.jline.utils that return types with arguments of type AttributedStringModifier and TypeMethodDescriptionAttributedCharSequence.columnSplitLength
(int columns) AttributedCharSequence.columnSplitLength
(int columns, boolean includeNewlines, boolean delayLineWrap) Methods in org.jline.utils with parameters of type AttributedStringModifier and TypeMethodDescriptionAttributedStringBuilder.append
(AttributedString str) 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) (package private) void
Display.rawPrint
(AttributedString str) Method parameters in org.jline.utils with type arguments of type AttributedStringModifier and TypeMethodDescriptionstatic AttributedString
AttributedString.join
(AttributedString delimiter, Iterable<AttributedString> elements) private static int[]
Display.longestCommon
(List<AttributedString> l1, List<AttributedString> l2) 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) Constructors in org.jline.utils with parameters of type AttributedStringModifierConstructorDescriptionDiff
(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 AttributedStringModifier and TypeMethodDescriptionprivate List<AttributedString>
TailTipWidgets.compileMainDescription
(CmdDesc cmdDesc, int descriptionSize) private List<AttributedString>
TailTipWidgets.compileMainDescription
(CmdDesc cmdDesc, int descriptionSize, String lastArg) private List<AttributedString>
TailTipWidgets.compileOptionDescription
(CmdDesc cmdDesc, String opt, int descriptionSize) Method parameters in org.jline.widget with type arguments of type AttributedStringModifier and TypeMethodDescriptionvoid
Widgets.addDescription
(List<AttributedString> desc) Add description text to the terminal status barprivate void
TailTipWidgets.doDescription
(List<AttributedString> desc)