<p>Improved it further to simply use Scintilla's built-in position cache which is actually faster, and makes the code simple.  Submitted upstream: <a href="https://sourceforge.net/p/scintilla/bugs/2094/" rel="nofollow">https://sourceforge.net/p/scintilla/bugs/2094/</a>.</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/pull/2097#issuecomment-480261365">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ9RGf6jXYPajTAQ6nPMdqHVDKBKLks5vd0S7gaJpZM4ba-qN">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ8MUINdzQxTSxF4MkKGWxGw4e9wTks5vd0S7gaJpZM4ba-qN.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@b4n in #2097: Improved it further to simply use Scintilla's built-in position cache which is actually faster, and makes the code simple.  Submitted upstream: https://sourceforge.net/p/scintilla/bugs/2094/."}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/2097#issuecomment-480261365"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2097#issuecomment-480261365",
"url": "https://github.com/geany/geany/pull/2097#issuecomment-480261365",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>