![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| Text | __call__ (self, Union[str, Text] text) |
| None | highlight (self, Text text) |
Abstract base class for highlighters.
Highlight a str or Text instance.
Args:
text (Union[str, ~Text]): Text to highlight.
Raises:
TypeError: If not called with text or str.
Returns:
Text: A test instance with highlighting applied.
| None pip._vendor.rich.highlighter.Highlighter.highlight | ( | self, | |
| Text | text | ||
| ) |
Apply highlighting in place to text.
Args:
text (~Text): A text object highlight.
Reimplemented in pip._vendor.rich.highlighter.NullHighlighter, pip._vendor.rich.highlighter.RegexHighlighter, and pip._vendor.rich.highlighter.JSONHighlighter.