mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 14:26:58 -04:00
7080490c68
- Merged scalePreColonHandler and scaleAfterColonHandler into single scaleHandler - Merged modePreColonHandler and modeAfterColonHandler into single modeHandler - Cached all regex patterns as constants above their respective handler functions - Eliminated regex compilation overhead on every keystroke/navigation event - Improved code maintainability by reducing duplication between similar handlers - Preserved exact same functionality while improving performance Each handler now follows a consistent pattern of checking after-colon context first (more specific) then pre-colon context, with all regex patterns pre-compiled for better performance during intensive autocomplete sessions.
Packages
Each folder represents one of the @strudel/* packages published to npm.
To understand how those pieces connect, refer to the Technical Manual or the individual READMEs.