hanmyohtwe / waitzar

Automatically exported from code.google.com/p/waitzar
Other
0 stars 0 forks source link

Smart Backspace improvement. #182

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, any rules with VK_BACK will lead to very weird Smart Backspace 
behavior. A better approach is:
  1) If any rules with VK_BACK match, apply them. 
  2) If the final result is the same as popping the stack (for S.B.), then discard the rules and apply S.B.
  3) If the result is different, apply the rules (and possibly write a line in the Key Magic log file, since this might represent an error).

Doesn't affect existing keyboards, but new user keyboards might find this 
behavior odd.

Original issue reported on code.google.com by seth.h...@gmail.com on 9 Jan 2011 at 1:30