-
-
Notifications
You must be signed in to change notification settings - Fork 23.8k
Open
Description
Tested versions
4.5.1 and current master
System information
Linux
Issue description
When opening a very large, one line JSON file (197KB), the godot editor just freezes (also across restarts).
When profiling it hangs in the following stacktrace:
It uses >90% of time in this function:
I therefor assume it's necessary to add some functionality, that disables the syntax highlighter for files with more than 20k characters or something like that.
Steps to reproduce
- Create a big json file, one line.
- open it in godot text editor
Minimal reproduction project (MRP)
Metadata
Metadata
Assignees
Type
Projects
Status
For team assessment