6 ms·
See: https://raw.githubusercontent.com/DaveJarvis/KeenWrite/main/docs/images/architecture/architecture.png https://raw.githubusercontent.com/DaveJarvis/KeenWri
by thangalin 4y ago
See:
https://raw.githubusercontent.com/DaveJarvis/KeenWrite/main/docs/images/architecture/architecture.png https://raw.githubusercontent.com/DaveJarvis/KeenWrite/main/...
Architecturally, variable processing knows nothing about text editing, it's just another step along the chain of document transformations.
> Why not?
It introduces more problems (edge cases) than it solves: empty documents, detection of partially matching variables, variable name at the end of the document, unmatched sigils, sigil insertion detection, sigil deletion, dynamic sigil changes, clipboard paste parsing and sigil detection, additional keyboard hooks, unit testing for off-by-one errors, supporting multiple sigil types within the same document, performance testing, and more. It's not trivial.