notaapp / talk

Issues and discussions for the notes app, Nota.
https://nota.md
60 stars 1 forks source link

Using Devanagari script messes up cursor positioning #419

Open darsnack opened 7 months ago

darsnack commented 7 months ago

I recently started typing Devanagari script in Nota. This is a common script from Indian languages such as Hindi. It seems that Nota's cursor has trouble deciding the correct position for typical Hindi characters.

Below is a demonstration of moving the cursor to the right by click the right arrow key one step at a time. In Nota, you can see the cursor frequently ends up in the middle of characters. Compare this to TextEdit where the cursor moves predictably (and in a way that's intuitive to someone who writes Hindi).

https://github.com/notaapp/talk/assets/4811350/017e4f7e-a580-4ffe-8236-e9c3a278db71

https://github.com/notaapp/talk/assets/4811350/5f7287d7-00ab-4924-9947-acc4138df7e3

astoilkov commented 7 months ago

Hey. We're aware of this issue. It's a limitation in our editor implementation. We've researched different ways how we can fix it. The fix will require reimplementing a big part of the editor and would take a few months so we've been delaying it for some time.

Sorry for the inconvenience.