antirez / antirez/kilo

Multi-line comment highlighting breaks after row deletion

Đang mở
#114 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
9.1k
Fork
995
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.