MCPcopy
hub / github.com/Textualize/textual / _extract_content

Function _extract_content

tests/test_styles_cache.py:12–15  ·  view source on GitHub ↗

Extract the text content from lines.

(lines: list[Strip])

Source from the content-addressed store, hash-verified

10
11
12def _extract_content(lines: list[Strip]) -> list[str]:
13 """Extract the text content from lines."""
14 content = ["".join(segment.text for segment in line) for line in lines]
15 return content
16
17
18def test_set_dirty():

Callers 6

test_borderFunction · 0.85
test_paddingFunction · 0.85
test_padding_borderFunction · 0.85
test_outlineFunction · 0.85
test_cropFunction · 0.85
test_dirty_cacheFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…