@L--U--P--U--S it pretty much points to the same thing, the slowdowns happen 
when you turn on auto margin things.  

Line number margins are set by Geany to fit the line numbers in a Scintilla 
callback IIRC, so its after Scintilla has loaded and done its thing, which may 
have included laying out at least some of the file, so that layout has to be 
done again after the margin is set since that changes the available page width, 
and that re-layout is the extra time you see.  Not sure how we can fix that 
since it is different for each file because it depends on the number of lines 
in each file and so can't be set until the file is loaded.

The marker margins is the one automated by the patch identified by @andy5995 
and it probably also causes a Scintilla re-layout when its set to anything 
other than Scintillas default value (16 I think).  Hopefully @b4n can identify 
a way of setting it before load since its the same for all files.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2649#issuecomment-762496925

Reply via email to