MCPcopy
hub / github.com/Textualize/rich / NullHighlighter

Class NullHighlighter

rich/highlighter.py:50–58  ·  view source on GitHub ↗

A highlighter object that doesn't highlight. May be used to disable highlighting entirely.

Source from the content-addressed store, hash-verified

48
49
50class NullHighlighter(Highlighter):
51 """A highlighter object that doesn't highlight.
52
53 May be used to disable highlighting entirely.
54
55 """
56
57 def highlight(self, text: Text) -> None:
58 """Nothing to do"""
59
60
61class RegexHighlighter(Highlighter):

Callers 5

test_wrong_typeFunction · 0.90
test_text_columnFunction · 0.90
console.pyFile · 0.85
__init__Method · 0.85
from_dataMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_wrong_typeFunction · 0.72
test_text_columnFunction · 0.72