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

[Bug]: Editor broken #149

Closed
3 tasks done
andrea-citterio opened this issue Jul 20, 2022 · 7 comments
Closed
3 tasks done

[Bug]: Editor broken #149

andrea-citterio opened this issue Jul 20, 2022 · 7 comments
Labels

Comments

@andrea-citterio
Copy link

Describe the bug

image

The position marker does not match the visible line and that makes it incredibly hard to edit a snippet. E.g. : in the photo the marker points to the first char of the line and not to the character visually pointed (between 6 and 0)

To reproduce

Edit a snippet and go to the end of the line: it will appear way beyond the last characteer

Version

2.9.0

OS

Ubuntu

Validations

@antonreshetov
Copy link
Member

I'm not quite sure what you mean. Nevertheless, if it really is a bug, it should be addressed directly to the Ace, because massCode uses it without any intervention.

@github-actions
Copy link

Hello @andrea-citterio. Please describe in detail the sequence of actions that leads to the bug (skip it if it's already there). Add screenshots of errors from the console. If possible add a video. Issues marked with need reproduction will be closed if they have no activity within 3 days.

@andrea-citterio
Copy link
Author

Hi Anton, I fixed the problem, your suggestion was very helpful. Here's the problem I had in ace: ajaxorg/ace#3036. My solution was different though: I just went to Preferences and deleted all the three fonts set by Default in "Font Family" (I don't remember the names).

@antonreshetov
Copy link
Member

@andrea-citterio The problem seems to be that this font family "SF Mono, Consolas, Menlo" is set by default and seems to be missing on Ubuntu. Can you tell me which monospace font is the default in Ubuntu or in all Linux distributions?

@andrea-citterio
Copy link
Author

https://design.ubuntu.com/font/ This should be the default font family of ubuntu. I can't tell for all the other Linux distros. Here's a photo with the default font in the ace editor so that you can check for yourself.
image

image

@antonreshetov
Copy link
Member

I think I will add the next family "SF Mono, Consolas, Menlo, Ubuntu Mono, monospace", the last one will be a fallback if some one is missing. I think this will solve the problem in the future.

@antonreshetov
Copy link
Member

Closed because it was fixed in 3d9efcd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants