SciTE 4.1.6 added more support for very large files, including files larger than 2 GB (when compiled as 64-bit). Very large files can have performance and memory use problems and one of the ways to work around slow performance is to turn styling off at some point. That point can be chosen by the user but providing a default is helpful to those that don't know about the setting and would otherwise be trapped by an unresponsive editor.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1MB is two small, what actually cause unresponsive is file contains some very long lines and word wrapping is enabled (which is disabled by default in SciTE).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
file.size.no.styleshttps://www.scintilla.org/SciTEDoc.html
https://sourceforge.net/p/scintilla/scite/ci/8794b82aebf7d6cdffdd4aa7dc0243b27e94bd5d/
SciTE 4.1.6 added more support for very large files, including files larger than 2 GB (when compiled as 64-bit). Very large files can have performance and memory use problems and one of the ways to work around slow performance is to turn styling off at some point. That point can be chosen by the user but providing a default is helpful to those that don't know about the setting and would otherwise be trapped by an unresponsive editor.
1MB is two small, what actually cause unresponsive is file contains some very long lines and word wrapping is enabled (which is disabled by default in SciTE).
File size is known before loading. More complex tests like long lines require reading the file.
If 1MB is too small then what is the best threshold for this value for the slowest viable system?
Default value increased to 10 MB with [aff0a7].
Related
Commit: [aff0a7]