From 1f5a3b0b2d81351819ebb189a1ae4379e8762e75 Mon Sep 17 00:00:00 2001
From: Neil SC_DOCUMENTOPTION_STYLES_NONE (0x1) stops allocation of memory to style characters
which saves significant memory, often 40% with the whole document treated as being style 0.
Lexers may still produce visual styling by using indicators.
- SC_DOCUMENTOPTION_TEXT_LARGE (0x100) accomodates documents larger than 2 GigaBytes
+ SC_DOCUMENTOPTION_TEXT_LARGE (0x100) accomodates documents larger than 2 GigaBytes
in 64-bit executables.
NULL so no lexer is run.
- The SC_DOCUMENTOPTION_TEXT_LARGE option is experimental and has not been
- thoroughly tested. Lexers may fail or hang when lexing past 2GB or 4GB.
- Applications using this option should be tested to ensure the option works in their circumstances and each lexer
- included should also be tested with documents larger than 4GB.
- For many applications lexing documents larger than 4GB will be too sluggish so SC_DOCUMENTOPTION_STYLES_NONE
- and the null lexer NULL can be used. Another approach is to turn on idle styling with
+
For many applications lexing documents larger than 4GB will be too sluggish so
+ SC_DOCUMENTOPTION_STYLES_NONE
+ and the null lexer "null" can be used. Another approach is to turn on idle styling with
SCI_SETIDLESTYLING.