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

Editor I-Bar Cursor after Emoji Spaces Into Text #862

Closed
CheetahChrome opened this issue Oct 6, 2021 · 2 comments
Closed

Editor I-Bar Cursor after Emoji Spaces Into Text #862

CheetahChrome opened this issue Oct 6, 2021 · 2 comments

Comments

@CheetahChrome
Copy link

ℹUsage of emoji causes I-Bar to land in the middle of the letter instead of before.

IBar

> **ℹ Missing Reference Dlls**

V2.0.18

@RickStrahl
Copy link
Owner

Unfortunately that's to be expected as the editor only works with fixed width fonts. An Emojii is essentially a non-fixed glyph and it throws off the width calculation.

As with your last report - this falls back on ACE Editor, but this is basically a fundamental limitation of the text editor engine.

The good news is that a lot of emojii appear to follow fixed widths so most face emojiis a bunch of the box emojiis do render correctly. The i above unfortunately is very short and does not work correctly.

@RickStrahl
Copy link
Owner

If you want to follow this issue in the ACE repository here's a link:

ajaxorg/ace#4142

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

2 participants