Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Triple-colon ligature in ss07 has odd cursor placement in specific scenarios

Aperta
#216 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
vscode
Ambito
design

Direzione di ricerca

Inizia riproducendo la triple-colon ss07 ligature in VS Code v1.100 o v1.101 con una sottolineatura ondulata rossa alla sua destra, quindi confronta il comportamento del cursore con ss07 disabilitato, v1.000 e Fira Code. Il lavoro è completato quando il movimento del cursore e il posizionamento visivo rimangono coerenti attraverso la legatura, anche quando sono presenti sottolineature ondulate.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

In vscode, the interaction between the triple-colon ligature from ss07 (:::) and red squigglies seems to cause issues with cursor placement. Under certain circumstances, the triple-colon ligature renders correctly, but the cursor treats it as two 1.5-wide colon characters and a single 0-width colon.

I've observed this issue in v1.100 and v1.101, but not in v1.000.

In this screenshot, the cursor is logically placed between the 1st and 2nd colon from the left, but visually appears in the middle of the 2nd colon:

329493627-04b163af-7411-4df0-9cef-1e8a3ad1a0a5

Moving the cursor right by 1 character places it at the end of the :::, and moving it right again doesn't visually move the cursor.

After moving it right once:

image

And again (no visual change):

image

It's also worth noting that this only seems to happen when red squigglies are involved on the right side of the triple-colon ligature:

image

This is with ss07 disabled:

image

This is from v1.000, which doesn't appear to have the ligature:

329494799-dcef3275-d021-462a-8184-03bcf93fad8f

Also, this seems to only happen with Monaspace's triple-colon ligature. Here's an example of how it looks with Fira Code and its ligatures enabled:

329495443-6578aaf9-1d8a-484f-8470-42c74dd309f5

(I had originally posted about this in the Nerd Fonts repo related to a different issue I had come across, but this appears to be Monaspace.)

Lingua principale
Shell
Stelle
19.7k
Fork
325
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di githubnext/monaspace

Tutte le issue di githubnext/monaspace

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.