On Fri, Jun 26, 2015 at 1:21 PM, Jiří Techet techet@gmail.com wrote:
- Immediately after SCI_SETTEXT when loading (or reloading) file.
This may or may not be needed depending on Geany’s features. One
reason for doing this is if you want to perform a global fold operation since folding depends on fold information and thus on styling.
This one is more likely useful, since lots of features need to know the styles of things outside the visible area, for example to avoid considering characters in comments and strings when counting braces for scopes.
Yes, this one should probably stay.
OK, just checked and things like "fold all" don't work without it so it definitely needs to stay.
But I would delay it's call until the document is actually shown to improve Geany start time with many tabs open.
Should have checked before I wrote anything - this is already the case now so no change needed in this respect.
Cheers,
Jiri