MCPcopy Create free account
hub / github.com/chasingboy/Xtools / region_to_text

Function region_to_text

xtools.py:560–566  ·  view source on GitHub ↗
(view,regions)

Source from the content-addressed store, hash-verified

558
559
560def region_to_text(view,regions):
561 text = []
562 for region in regions:
563 text.append(view.substr(region))
564
565 text = sorted(list(set(text)))
566 return '\n'.join(text)
567
568
569def get_console_text(view):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected