Jskad/source/org/thdl/util
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
..
.cvsignore Now ignoring Emacs backup files *~ 2002-09-28 14:36:27 +00:00
AllTests.java Added an unchecked exception that I find useful for marking code that the developer thinks will not cause an exception. 2002-09-28 14:38:59 +00:00
package.html Added Javadoc files overview.html and several package.html files. 2002-10-06 18:23:27 +00:00
RTFPane.java These classes contain the code that brings up the "About" and "Help" 2002-10-13 20:40:24 +00:00
SimpleFrame.java These classes contain the code that brings up the "About" and "Help" 2002-10-13 20:40:24 +00:00
SimpleSpinner.java This is a class that uses reflection to manifest as 2002-10-25 19:36:40 +00:00
StatusBar.java Added a class representing a GUI element, a status bar. 2002-10-13 19:19:47 +00:00
TeeStream.java Added Javadoc files overview.html and several package.html files. 2002-10-06 18:23:27 +00:00
ThdlAbstractAction.java Added Javadoc files overview.html and several package.html files. 2002-10-06 18:23:27 +00:00
ThdlActionListener.java Added Javadoc files overview.html and several package.html files. 2002-10-06 18:23:27 +00:00
ThdlDebug.java Factored TibetanDocument into two classes, one that is a 2002-11-02 03:38:59 +00:00
ThdlLazyException.java Added an unchecked exception that I find useful for marking code that the developer thinks will not cause an exception. 2002-09-28 14:38:59 +00:00
ThdlLazyExceptionTest.java Removed/commented out/tagged some unused local variables. 2002-11-02 16:01:40 +00:00
ThdlOptions.java Fixed Javadoc comment. 2002-10-14 05:23:58 +00:00
Trie.java Fixes bug 624133, "Input freezes after impossible character". Try 'shsM' in 2002-11-02 18:44:24 +00:00
TrieTest.java Removed/commented out/tagged some unused local variables. 2002-11-02 16:01:40 +00:00