aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-13Insert space before prefix translations.Arun Isaac
* thogai.el (thogai-insert-translation): Insert space before prefix translations if it is the first part of the translation.
2022-06-13Reset attach and glue state when inserting literals.Arun Isaac
* thogai.el (thogai-insert-literal): Reset thogai-attach-next and thogai-glue. (thogai-insert-translation): Depend on thogai-insert-literal to reset thogai-attach-next and thogai-glue.
2022-06-13Respect capitalization in prefix strings.Arun Isaac
* thogai.el (thogai-insert-translation): Insert prefix strings using thogai-insert-literal.
2022-06-12When undoing, delete space only if there is a space.Arun Isaac
Attached and glued strokes don't emit spaces. So, we cannot mindlessly delete the last character without checking if it is a space. * thogai.el (thogai-insert-stroke): When undoing, delete space only if there actually is a space.
2022-06-12Respect capitalization in glue strings.Arun Isaac
* thogai.el (thogai-insert-translation): Insert glue strings using thogai-insert-literal.
2022-06-12Abstract out insertion of literal translations.Arun Isaac
* thogai.el (thogai-insert-translation): Abstract out literal translation insertion logic into ... (thogai-insert-literal): ... new function.
2022-06-12Implement glue operator.Arun Isaac
* thogai.el (thogai-glue): New variable. (thogai-insert-translation): Implement glue operator.
2022-06-12Abstract out insertion of space into a separate function.Arun Isaac
* thogai.el (thogai-insert-translation): Abstract out space insertion logic into ... (thogai-insert-space): ... new function.
2022-06-12README: Add README.Arun Isaac
* README.org: New file.
2022-06-12Initial commitArun Isaac