Menu

#2113 SciTE Sc416+ on Windows does not apply anymore XML lexer on files > 1000000 bytes

Bug
closed-fixed
5
2019-07-05
2019-06-19
No

SciTE Sc415 on Windows can apply XML lexer on files > 1000000 bytes
But
SciTE Sc416 + Sc417 does not apply anymore XML lexer on files > 1000000 bytes

Discussion

  • Neil Hodgson

    Neil Hodgson - 2019-06-20

    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.

     
  • Zufu Liu

    Zufu Liu - 2019-06-20

    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).

     
  • Neil Hodgson

    Neil Hodgson - 2019-06-22

    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?

     
  • Neil Hodgson

    Neil Hodgson - 2019-06-24
    • labels: --> scite, size
    • status: open --> open-fixed
    • assigned_to: Neil Hodgson
     
  • Neil Hodgson

    Neil Hodgson - 2019-06-24

    Default value increased to 10 MB with [aff0a7].

     

    Related

    Commit: [aff0a7]

  • Neil Hodgson

    Neil Hodgson - 2019-07-05
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB