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

\ behavior #18

Open
beniza opened this issue Sep 11, 2017 · 0 comments
Open

\ behavior #18

beniza opened this issue Sep 11, 2017 · 0 comments

Comments

@beniza
Copy link
Owner

beniza commented Sep 11, 2017

What is the expected behavior

The reverse solidus (commonly known as backlash) \

The \ key plays a major role in this layout. It is used as a modifier character. It means that when a user presses this key, it will modify the character before or the the character after. Below are the rules.

  • Atomic chillu (Unicode 5.1 or later) to sequence chillu (Unicode 5.0 or older versions)
    • After send ന്‍ # ന + virama + Zero Width Joiner
    • After send ണ്‍ # ണ + virama + Zero Width Joiner
    • After send ര്‍ # ര + virama + Zero Width Joiner
    • After send ല്‍ # ല + virama + Zero Width Joiner
    • After send ള്‍ # ള + virama + Zero Width Joiner
    • After ൿsend ക്‍ # ക + virama + Zero Width Joiner
  • And vice versa too
    • After ന്‍send
    • After ണ്‍send
    • After ര്‍send
    • After ല്‍send
    • After ള്‍send
    • After ക്‍send ൿ
  • After റ്റ് send and after send റ്റ്
  • Archaic forms
    • After send
    • After send
  • Letters to signs
    • After മ്send
    • After send
    • After send ി
    • After send
    • After send
    • After send
    • After send
    • After send
    • After send
    • After send
    • After send
    • After send
    • After send
    • After send
    • After send
    • After send
  • Date sign
    • After send
    • After ന്‍send
  • Fractions
    • After 10send
    • After 100send
    • After 1000send
    • After 1/4send
    • After 1/2send
    • After 3/4send
    • After 3/4send
    • After 1/16send
    • After 1/8send
    • After 3/16send
    • After 1/160send
    • After 1/40send
    • After 3/80send
    • After 1/20send
    • After 1/10send
    • After 3/20send
    • After 1/5send
  • Dashes
    • After ---send # m-dash
    • After --send # n-dash
    • After -send # minus sign
  • Nasalization (Anusvara variants)
    • After send
    • After send
  • Full stops (Devanagari Danda)
    • After . send
    • After send
  • In every other places send \

What is the actual behavior?

Do you have a suggestion to make?

  • We should change the atomic chillu <> sequence chillu switching to \. Since there is no visual difference between the two, if a user accidentally press a \ to switch from one form to another, he might not notice the change.
  • Since this key has so many functions, it must be tested thoroughly before merging to the master.
  • After each loop through the characters, should we send the '' character at the end? This will enable the user to type \ wherever he wishes.

InKey Rule?

\	> map 【ൻ ന്‍】【ൺ ണ്‍】【ർ ര്‍】【ൽ ല്‍】【ൾ ള്‍】【ൿ ക്‍】【റ്റ് ഺ】 //  switch between Atomic and Sequence Chillu Characters
	| map 【ീ ൟ】【ൗ ൌ】 // Malayalam Archaic Characters
	| map 【ന്‍ ൻ】【ണ്‍ ൺ】【ര്‍ ർ】【ല്‍ ൽ】【ള്‍ ൾ】【ക്‍ ൿ】【ഺ റ്റ്】
	| map 【മ് ം】【ആ ാ】【ഇ ി】【ഈ ീ】【ഉ ു】【ഊ ൂ】【ഋ ൃ】【ൠ ൄ】【ഌ ൢ】【ൡ ൣ】【എ െ】【ഏ േ】【ഐ ൈ】【ഒ ൊ】【ഓ ോ】【ഔ ൗ】 // directly key vowel signs 
	| map 【ൻ ൹】【10 ൰】【100 ൱】【1000 ൲】【1/4 ൳】【1/2 ൴】【3/4 ൵】【3/4 ൵】【1/16 ൶】【1/8 ൷】【3/16 ൸】【1/160 ൘】【1/40 ൙】【3/80 ൚】【1/20 ൛】【1/10 ൜】【3/20 ൝】【1/5 ൞】
 	| map 【--- —】【-- –】【- −】  // Dashes 
	| map 【ം ഀ】【ഀ ഁ】 // Combining anusvara and candrabindu
	| map 【് ഻】【഻ ഼】 // Variant shape viramas
	| map 【. ।】【। ॥】 // Devanagari Danda
	| 【\】
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant