Jskad/source/org/thdl
dchandler de6ae79959 Fixes bug 624133, "Input freezes after impossible character". Try 'shsM' in
ACIP or 'ShSm' in Extended Wylie to see the new behavior.

We use a trie to store valid input sequences.  In the future, we could use
the same trie as a replacement for the more inefficient HashSets we use to
store characters, vowels, and punctuation.  For example, we'd use
'validInputSequences.put("K", new Pair("consonant", "k"))' when reading
in the ACIP keyboard's description of the first consonant of the Tibetan
alphabet in 'TibetanKeyboard.java'.

Note that the current trie implementation is only useful for 7- or 8-bit
transcription systems, and works best for tries with low average depth, which
describes a transcription system's trie very well.  If you used arbitrary
Unicode in your keyboard, you'd need a different trie implementation.

Improved the optional keyboard input mode status messages.
2002-11-02 18:44:24 +00:00
..
media Removed/commented out/tagged some unused local variables. 2002-11-02 16:01:40 +00:00
quilldriver Removed/commented out/tagged some unused local variables. 2002-11-02 16:01:40 +00:00
savant Removed/commented out/tagged some unused local variables. 2002-11-02 16:01:40 +00:00
tib Fixes bug 624133, "Input freezes after impossible character". Try 'shsM' in 2002-11-02 18:44:24 +00:00
util Fixes bug 624133, "Input freezes after impossible character". Try 'shsM' in 2002-11-02 18:44:24 +00:00