-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
ace-editor: Strange behaviour when typing char 'l' char 'space', #5666
Comments
Seems like the monospace font on your system has some unwanted ligatures, could you try adding the following css to check this? .ace_editor {
font-variant-ligatures: none;
font-feature-settings: "liga" 0;
} |
I append it to the ace.css file. ==> Same behavior! I can simply reproduce on https://ace.c9.io/build/kitchen-sink.html |
Have you been able to reproduce with any non-Fedora, @kkarsten62? |
Thanks for your helping hand. Additionally: On Fedora with Firefox/Librewolf: When setting the option Settings | Fonts | Advanced... | This can easily reproduce. It indicates for me: So question for me are: |
by default ace uses the following css |
I checked the given fonts with the following settings:
So |
Describe the bug
When typing char
l
charspace
charl
then editor is confused. Not possible then to type correctly more text into that line.This happens only on lowercase char
l
and uppercase charL
and it happens whensetShowInvisibles
is set totrue
.Here are my settings:
Expected Behavior
Normal behavior on all char sequences.
Current Behavior
There is no crash. Only editor is confused.
Reproduction Steps
Example:
Start empty editor:
Typing lowercase
l
==> okTyping a
space
==> okTyping a next
l
==> not ok, editor line is confused. Input marker is behind EOL sign. Not possible to type correcty more text into that line.Workaround is to type two spaces
Same behavior with uppercase
L
When typing a char which is not
l
orL
then also okThis can easily reproduce here:
https://ace.c9.io/build/kitchen-sink.html
Possible Solution
No response
Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
V1.36.4 / Firefox and Librewolf / Fedora 40 Workstation / German
The text was updated successfully, but these errors were encountered: