Traits§
Functions§
- highlight_
line - Creates a
Line
from the givenline
argument and addshighlight_style
toSpans
that match the pattern. - highlight_
text - Creates
Text
from the givenline
argument and addshighlight_style
toSpans
that match the pattern. When the ‘\n’ character is encountered, a newLine
begins.