CodeEditApp / CodeEditApp/CodeEditSourceEditor

🐞 Bracket pair highlight breaks editor while working on Javascript

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

Mô tả

### Description

The "Bracket Pair Highlight" feature breaks the editor when working on Javascript code.

All options (Bordered, Flash, Underline) result in the same issue.

Tested both within a .js file and within a tag in an .html file. The behaviour didn't happen outside of the <script> tags within the HTML file as I suspect it's a bug in the syntax highlighting code.

### To Reproduce

1. Go to CodeEdit menu > Settings > Text Editing
2. Enable "Bracket Pair Highlight" (Same behaviour across all options)
3. Create a new javascript (.js) file - OR - an HTML file (.html) with a <script> section.
4. Go back to the editor and try typing in a function call e.g.: function('')
5. After typing the opening bracket, keyboard input will stop responding in the editor.

### Expected Behavior

For the editor to continue working.

### Version Information

CodeEdit: 0.3.4-alpha (45)
macOS: Sequoia 15.5 (24F74)
Xcode: 16.3.0.0.1.1742442376

### Additional Context

Tested both with a .js file and within a <script> tag in an .html file.

### Screenshots

_No response_

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.