ace.js: search highlighting makes the editor unresponsive on large folded document
- 主要语言
- JavaScript
- 星标
- 27.1k
- 派生
- 5.3k
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Describe the bug
Search highlighting can make the editor very unresponsive when searching a large, heavily folded document.
### Expected Behavior
Editor should remain responsive independent of folded sections
### Current Behavior
Editor becomes unresponsive
### Reproduction Steps
1. Open: https://sekedus.github.io/ace/kitchen-sink.html
2. Paste the contents of test.xodr.xml
3. Fold a lot of high level `` elements (like 15-20)
4. Search for "Road" and scroll, the editor will be very unresponsive
[test.xodr.xml](https://github.com/user-attachments/files/30163372/test.xodr.xml)
### Possible Solution
_No response_
### Additional Information/Context
_No response_
### Ace Version / Browser / OS / Keyboard layout
v1.44.0 / Safari / Mac OS 26 / DE
贡献指南
评估
这个 Issue 还没有评估数据。