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

The editor cannot handle combining (and some other) unicode characters #3435

Closed
ghost opened this issue Jun 30, 2020 · 7 comments
Closed

The editor cannot handle combining (and some other) unicode characters #3435

ghost opened this issue Jun 30, 2020 · 7 comments
Labels
bug It's a bug stale An issue that hasn't been active for a while...

Comments

@ghost
Copy link

ghost commented Jun 30, 2020

The editor seems to loose track of the column when combining Unicode characters (e.g. x followed by U+0303: “x̃”) are used. It counts the combining character as its own. Editing a line with a combining character then becomes a challenge, as the cursor does not point to the editing position. The same with double-width characters, such as many mathematical symbols (e.g. “⟹”).

@ghost ghost added the bug It's a bug label Jun 30, 2020
@laurent22
Copy link
Owner

Did you try with Code Mirror? (in Setting => Note)

@ghost
Copy link
Author

ghost commented Jul 1, 2020

Did you try with Code Mirror? (in Setting => Note)

It does not seem to have this problem, but the syntax highlighting (with latex-math, #3054) is broken even more so than with the basic editor. Basically the whole document is set in italics! Also it highlights [Reference to an article] as if it were a markdown link—although the citation doesn't have the following link component. (It's actually quite nice effect, but I think should be considered a bug.)

@laurent22
Copy link
Owner

Could you post an example of Markdown note that looks broken in Code Mirror? Eventually we'll want to switch to that one permanently so it would be good to know about these issues.

@ghost
Copy link
Author

ghost commented Jul 1, 2020

Could you post an example of Markdown note that looks broken in Code Mirror? Eventually we'll want to switch to that one permanently so it would be good to know about these issues.

Done in #3440

@stale
Copy link

stale bot commented Jul 31, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Jul 31, 2020
@mitrakov
Copy link

mitrakov commented Aug 3, 2020

Dear @laurent22, I've downloaded 1.0.233, and found out the issue is NOT resolved.
I applied a workaround with "PT Mono" as a non-default font (suggested by @seslav in this thread) but for new users it would seem as a bug.

I am very appreciate your help to fix it in future releases. Thanks!

@stale
Copy link

stale bot commented Aug 11, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug stale An issue that hasn't been active for a while...
Projects
None yet
Development

No branches or pull requests

2 participants