antirez / antirez/kilo

Multi-line comment highlighting breaks after row deletion

オープン
#114 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C
スター
9.1k
フォーク
995
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。