mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 09:25:33 +00:00
Relates to #5853. Two things happened here: 1. Construction of Mocks made an assumption that the selection should always be deleted (outputTarget.ts:363). However, for NewContext and PostKeystroke processes, we don't want to change anything. 2. Even if nothing is changed, the transcription would emit what is in theory a no-op ruleTransform (insert="", deleteLeft=0, deleteRight=0). But apps would treat this as deleting the selection. This fix goes a little broader than I would have preferred, but adds a readonly mode to the transcription and mock model, so that we can control explicitly when changes are applied to the text store. |
||
|---|---|---|
| .. | ||
| src | ||
| tests/cases | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| test.sh | ||
Keyman: Keyboard Processor Module
The Original Code is (C) 2017-2020 SIL International
The Keyboard Processor module is an internal component of KeymanWeb, seen within this repo at /web/.
Minimum Compilation Requirements
- A local installation of Node.js v8.9+.
-
Builds will call
npm installto automatically install further necessary build dependencies. -
Linux users can run the following to update to LTS version of nodejs
-
sudo apt-get install python-software-properties
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install nodejs
The build script may be found at src/build.sh.