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

Strange with russian letters in editor in Windows #155

Closed
2 of 8 tasks
nrukin opened this issue Jan 10, 2018 · 5 comments
Closed
2 of 8 tasks

Strange with russian letters in editor in Windows #155

nrukin opened this issue Jan 10, 2018 · 5 comments

Comments

@nrukin
Copy link

nrukin commented Jan 10, 2018

Operating system

  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Application

  • Desktop
  • Mobile
  • Terminal

If it is a bug if possible please provide a screenshot showing the problem

If there is an error, please copy and paste the full error message


Hello,
i've found strange behavior with russian letters in editor - real cursor position and displayed cursor position are different. Longer the string - bigger the differ

in attached gif i've writed some letters, then put cursor in the middle of the string and pressed backspace.

joplin_rus

Thanks!

@laurent22
Copy link
Owner

Does it do this in this demo too? https://ace.c9.io/build/kitchen-sink.html

@nrukin
Copy link
Author

nrukin commented Jan 10, 2018

yes

@laurent22
Copy link
Owner

I have filed a report on the text editor component and will see if they have any solution to propose. Otherwise, I will see if it works with a different font.

ajaxorg/ace#3506

@nrukin
Copy link
Author

nrukin commented Jan 11, 2018

Thanks!
i've tested it on three different computers (win10, win8), but problem occurred only at one of them

i've found some issues with ace and other apps using ace: seems to be it should use only monospace font

swagger-api/swagger-editor#703
ajaxorg/ace#1078
jpillora/docker-dnsmasq#4
https://stackoverflow.com/questions/15183031/ace-editor-cursor-behaves-incorrectly

@laurent22
Copy link
Owner

Ok that should be fixed in the release after the next one (so after 0.10.47). It was due to the editor not using monospace font.

@lock lock bot locked and limited conversation to collaborators Oct 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants