TextFamily projects selections through mapped text viewsTextFamily projects selections through mapped text views
Each projection adds a useful view while source ranges remain traceable.

A projection gives the current text one useful structure. `textlines` finds physical lines; `textwrap` pairs visible markers; `texttable` finds rows and cells; `textgrammar` names PEG productions. The source stays unchanged. A query selects spans from that view, and the selection can be emitted as text, ranges, or a mapped packet depending on what the next step needs.

The `>` operator makes a change of perspective explicit. First select a wrapper interior, then compose those pieces into the current view, then ask for indentation or tokens inside the result. Composition can preserve discontinuous, repeated, reordered spans; generated separators are marked as generated instead of being falsely attributed to the file.

All positions use UTF-16 offsets in the current view. The source map relates each source-backed interval to its origin, so a later result can still point back through a composed selection. A plain string is convenient when only characters matter; JSON packets carry the mapping and selection across process boundaries.

textwrap source.txt /input:file /q:'wrap[name=round]:inner > lines:at(0)' /output:ranges