Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

underlining current character depending on the writing mode (for Tibetan) #412

Open
eroux opened this issue Aug 24, 2015 · 0 comments
Open

Comments

@eroux
Copy link
Contributor

eroux commented Aug 24, 2015

Sambhota input methods are among the most widely used ones by Tibetans. I integrated a first version, but to be complete, a new feature is necessary:

Tibetan script is an horizontal sequel of units (like ཀ་ཁ་ག་ང་, etc.) but these units can have multiple sub-units stacked vertically (ex of one unit with multiple vertical sub units : ཕྱྭ, complete example : བརྒྱད). In translitterated sanskrit, virtually any numbers of sub-units can be stacked (up to 10).

The Sambhota input method uses the "f" key to start stacking. Example : བརྒྱད is written with bfrgyfd: the first "f" inciates that the following characters should be stacked vertically instead of horizontally, and second "f" indicates to come back to horizontal mode.

The Sambhota plugins for MS Word indicate the user the mode (vertical or horizontal) he's in by highlighting the current unit if the user is in vertical mode. Would it be possible to have jquery behave like this too? The highlighting could be a different color, underlining, etc. And it could be triggered or shut down by a second argument returned by the patterns.

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant