# texthelp -- Shared Text-Editing Helpers

Shared text-editing infrastructure used by the TextInput, Spinner,
ComboBox, and AnsiTerm widgets.  Centralizes cursor blinking, multi-click
detection, word boundary logic, cross-widget selection clearing, and the
single-line editing engine (key dispatch, mouse hit, drag-select,
undo buffer).

## Documentation

Full reference is in `texthelp.dhs` (this directory), compiled into the
DVX System Reference.  Open via the Help Viewer app, or read
`docs/dvx_system_reference.html` after `make`.

Topics covered: cursor-blink update, word boundary functions, single-line
text edit mouse/key/paint entry points, undo snapshot API, and the
cross-widget selection clearing protocol.

## Source Files

- `textHelp.h`   -- public API
- `textHelp.c`   -- implementation

## Build

`make -C src/libs/kpunch/texthelp` (invoked by the top-level `make`).
