#70 (comment)
I am thinking about some corner cases here. For example the cangjie5 table contains:
djlv 棲 1000
djmbc 𩑷 1000
djmc 檳 1000
djmc 𣠦 1000
I.e. there is the code djmbc for 𩑷 but there is no character which has exactly the shorter code` djmb.
As long as the “Auto wildcard” option is used, this is no problem, one can type just “djmb” and as a wildcard is silently added what is actually looked up is “djmb*” which matches “djmbc” so there is no error.
But when the “Auto wildcard” option is switched off, it becomes impossible to type 𩑷 because typing djmb already produces an error and beeps and adding the final c does not help to recover from the error.
I consider this a bug which I should fix.
Currently switching off the “Auto wildcard” option in cangjie5 has the effect that some characters cannot be typed anymore.
I probably should try to make it possible to recover from such errors, i.e. typing djmb would still beep and display the last character in the preedit in a different colour, but adding the b would not beep and the preedit would be all the same color again.