<p></p>
<p>Ok, I can get the slowdown if I make a project with <em>line wrap on all files</em>.</p>
<p>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.</p>
<p>Maybe add <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="439121235" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/2140" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/2140/hovercard" href="https://github.com/geany/geany/pull/2140">#2140</a> back in for you folks who load the whole world in one go with wrap on <g-emoji class="g-emoji" alias="grin" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f601.png">😁</g-emoji></p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/b4n/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/b4n">@b4n</a> 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?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2649#issuecomment-761684715">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZMWMTY3SJM72APFJ3S2IC2HANCNFSM4TOTNBYA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJZUOE74TWHO2NVPSJTS2IC2HA5CNFSM4TOTNBYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFVTGF2Y.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2649#issuecomment-761684715",
"url": "https://github.com/geany/geany/issues/2649#issuecomment-761684715",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>