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) AttributedStringLess.getLine(int line) static AttributedStringOptions.HelpException.highlight(String msg, StyleResolver resolver) SyntaxHighlighter.highlight(AttributedString attributedString) SyntaxHighlighter.highlight(AttributedStringBuilder asb) static AttributedStringOptions.HelpException.highlightComment(String comment, StyleResolver resolver) static AttributedStringOptions.HelpException.highlightSyntax(String syntax, StyleResolver resolver) static AttributedStringOptions.HelpException.highlightSyntax(String syntax, StyleResolver resolver, boolean subcommands) private AttributedStringSyntaxHighlighter.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 AttributedStringBuilderSyntaxHighlighter._highlight(AttributedString line, List<SyntaxHighlighter.HighlightRule> rules) private AttributedStringBuilderSyntaxHighlighter._highlight(AttributedString line, List<SyntaxHighlighter.HighlightRule> rules, CharSequence startWith, CharSequence continueAs) SyntaxHighlighter.highlight(AttributedString attributedString) private AttributedStringSyntaxHighlighter.splitAndHighlight(AttributedString attributedString) private booleanLess.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.descriptionprivate List<AttributedString> CmdDesc.mainDescprivate TreeMap<String, List<AttributedString>> CmdDesc.optsDescMethods 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) voidCmdDesc.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.highlightValueMethods in org.jline.console.impl that return AttributedStringModifier and TypeMethodDescriptionprivate AttributedStringDefaultPrinter.addPadding(AttributedString str, int width) protected AttributedStringSystemHighlighter.doCommandHighlight(String buffer) protected AttributedStringSystemHighlighter.doFileArgsHighlight(LineReader reader, String buffer, List<String> words, SystemHighlighter.FileHighlightCommand fhc) protected AttributedStringSystemHighlighter.doFileOptsHighlight(LineReader reader, String buffer, List<String> words, SystemHighlighter.FileHighlightCommand fhc) private AttributedStringDefaultPrinter.highlight(Integer width, SyntaxHighlighter highlighter, String object, boolean doValueHighlight) private AttributedStringSystemHighlighter.highlight(LineReader reader, String buffer) private static AttributedStringJlineCommandRegistry.highlightComment(String comment) private AttributedStringprivate AttributedStringprotected AttributedStringSystemHighlighter.systemHighlight(LineReader reader, String buffer) private AttributedStringDefaultPrinter.truncateValue(Map<String, Object> options, AttributedString value) Methods in org.jline.console.impl with parameters of type AttributedStringModifier and TypeMethodDescriptionprivate AttributedStringDefaultPrinter.addPadding(AttributedString str, int width) private booleanDefaultPrinter.isHighlighted(AttributedString value) private voidDefaultPrinter.println(AttributedString line, int maxrows) private AttributedStringDefaultPrinter.truncateValue(Map<String, Object> options, AttributedString value) Method parameters in org.jline.console.impl with type arguments of type AttributedStringModifier and TypeMethodDescriptionvoidDefaultPrinter.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 TypeMethodDescriptionvoidLineReader.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) AttributedStringLineReaderImpl.MenuSupport.computed(package private) final AttributedStringLineReaderImpl.PostResult.postprotected AttributedStringLineReaderImpl.promptprotected AttributedStringLineReaderImpl.rightPromptFields in org.jline.reader.impl with type parameters of type AttributedStringMethods in org.jline.reader.impl that return AttributedStringModifier and TypeMethodDescriptionprivate AttributedStringLineReaderImpl.addRightPrompt(AttributedString prompt, AttributedString line) private AttributedStringLineReaderImpl.expandPromptPattern(String pattern, int padToWidth, String message, int line) private AttributedStringLineReaderImpl.MenuSupport.get()LineReaderImpl.getDisplayedBufferWithPrompts(List<AttributedString> secondaryPrompts) Compute the full string to be displayed with the left, right and secondary promptsprivate AttributedStringLineReaderImpl.getHighlightedBuffer(String buffer) DefaultHighlighter.highlight(LineReader reader, String buffer) private AttributedStringLineReaderImpl.insertSecondaryPrompts(AttributedString str, List<AttributedString> prompts) private AttributedStringLineReaderImpl.insertSecondaryPrompts(AttributedString strAtt, List<AttributedString> prompts, boolean computePrompts) Methods in org.jline.reader.impl with parameters of type AttributedStringModifier and TypeMethodDescriptionprivate AttributedStringLineReaderImpl.addRightPrompt(AttributedString prompt, AttributedString line) private AttributedStringLineReaderImpl.insertSecondaryPrompts(AttributedString str, List<AttributedString> prompts) private AttributedStringLineReaderImpl.insertSecondaryPrompts(AttributedString strAtt, List<AttributedString> prompts, boolean computePrompts) voidLineReaderImpl.printAbove(AttributedString str) Method parameters in org.jline.reader.impl with type arguments of type AttributedStringModifier and TypeMethodDescriptionprivate voidLineReaderImpl.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 AttributedStringLineReaderImpl.insertSecondaryPrompts(AttributedString str, List<AttributedString> prompts) private AttributedStringLineReaderImpl.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 AttributedStringStatus.borderStringstatic final AttributedStringAttributedString.EMPTYstatic final AttributedStringAttributedString.NEWLINEfinal AttributedStringDiffHelper.Diff.textThe text associated with this diff operation.Fields in org.jline.utils with type parameters of type AttributedStringModifier and TypeFieldDescriptionprotected List<AttributedString> Status.linesToRestoreprotected List<AttributedString> Display.oldLinesprotected List<AttributedString> Status.oldLinesMethods in org.jline.utils that return AttributedStringModifier and TypeMethodDescriptionstatic AttributedStringAttributedStringBuilder.append(CharSequence... strings) AttributedCharSequence.columnSubSequence(int start, int stop) static AttributedStringstatic AttributedStringstatic AttributedStringstatic AttributedStringstatic AttributedStringstatic AttributedStringAttributedString.join(AttributedString delimiter, Iterable<AttributedString> elements) static AttributedStringAttributedString.join(AttributedString delimiter, AttributedString... elements) AttributedString.styleMatches(Pattern pattern, AttributedStyle style) abstract AttributedStringAttributedCharSequence.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 AttributedStringAttributedString.join(AttributedString delimiter, Iterable<AttributedString> elements) static AttributedStringAttributedString.join(AttributedString delimiter, AttributedString... elements) (package private) voidDisplay.rawPrint(AttributedString str) Method parameters in org.jline.utils with type arguments of type AttributedStringModifier and TypeMethodDescriptionstatic AttributedStringAttributedString.join(AttributedString delimiter, Iterable<AttributedString> elements) private static int[]Display.longestCommon(List<AttributedString> l1, List<AttributedString> l2) protected voidDisplay.moveVisualCursorTo(int targetPos, List<AttributedString> newLines) voidDisplay.update(List<AttributedString> newLines, int targetCursorPos) Update the display according to the new lines and flushes the output.voidDisplay.update(List<AttributedString> newLines, int targetCursorPos, boolean flush) Update the display according to the new lines.voidStatus.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 TypeMethodDescriptionvoidWidgets.addDescription(List<AttributedString> desc) Add description text to the terminal status barprivate voidTailTipWidgets.doDescription(List<AttributedString> desc)