Skip to content

[Bug]: Editor broken #149

Closed
Closed

Description

@andrea-citterio

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

Activity

  1. antonreshetov commented on Jul 20, 2022

    @antonreshetov
    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.

  2. github-actions commented on Jul 20, 2022

    @github-actions

    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.

  3. andrea-citterio commented on Jul 20, 2022

    @andrea-citterio
    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).

  4. antonreshetov commented on Jul 21, 2022

    @antonreshetov
    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?

  5. andrea-citterio commented on Jul 21, 2022

    @andrea-citterio
    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

  6. antonreshetov commented on Jul 21, 2022

    @antonreshetov
    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.

  7. antonreshetov commented on Jul 21, 2022

    @antonreshetov
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions