[Github-comments] [geany/geany] Slow startup (#2649)

elextr notifications at xxxxx
Sat Jan 16 21:50:27 UTC 2021


Ok, I can get the slowdown if I make a project with _line wrap on all files_.

That definitely suggests that its a display issue triggered by the margin width thing. Possibly hard to fix if keeping the auto margin width, since the file needs to be loaded, which does one layout pass, to get line height, to calculate the margin setting, which triggers another layout pass.

Maybe add #2140 back in for you folks who load the whole world in one go with wrap on :grin: 

@b4n since all Scintilla widgets have the same font and so line height and so margin width, can that be calculated with the first file loaded and set on the widget before loading for the other files so they only layout once?

-- 
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-761684715
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210116/1efa1399/attachment.htm>


More information about the Github-comments mailing list