Outlines fails for C++ source code >8000 lines

Describe the Bug

The outline for C++ source code become chaotic starting from line 8000 (my case). See the attached figures, the cc_has_lt symbol is indeed from the line 88 at the file beginning, but it mismatched to line 8001+ and the rest of symbols didn’t match correctly start from that.

Steps to Reproduce

May occur for large modern C++ source code > 8000 lines

Expected Behavior

The symbols in the outline should match the code.

Screenshots / Screen Recordings

ss_2025-06-26-10-38-25.png

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.6
VSCode Version: 1.96.2
Commit: 5b19bac7a947f54e4caa3eb7e4c5fbf832389850
Date: 2025-06-25T02:13:33.781Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.11.2-arch1-1

Does this stop you from using Cursor

No - Cursor works, but with this issue