antirez / antirez/kilo

Multi-line comment highlighting breaks after row deletion

Offen
#114 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C
Sterne
9.1k
Forks
995
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### How to reproduce

Open a `.c` file with 4 lines:

```
int a;
int b;
int c;
int d;
```

1. Move cursor to start of line 2 (`int b;`), press Backspace — merges it into line 1
2. Move cursor to end of line 2 (`int c;`), type `/*`
3. Line 3 (`int d;`) should turn comment-colored but stays normal

For a control test, open the same file fresh (skip step 1), type `/*` at the end of any line — the line below immediately turns comment-colored.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.