<p>Sorry I should have said the Scintilla <em>interface</em> uses counters the size of a pointer.  This is static at compile time and matches the Sci::Position thats used in most of the Scintilla code.  On almost every system nowadays thats 64 bits.</p>
<p>The option you mention is dynamic, at runtime, and sets the size of the integers used to store values in the line data, so it can be a mismatch between Sci::Position (matches the static API) and the stored value.</p>
<p>Its a <em>bad thing</em> if Scintilla then silently truncates numbers from the API or other calculated Sci::Position to 32 bits internally without giving an error. <g-emoji class="g-emoji" alias="frowning_face" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2639.png">☹️</g-emoji></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/2076#issuecomment-482805438">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJy5_iVPHxunJ_vwZXVF_Blo7lGMOks5vgc9FgaJpZM4afzv9">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJxKD4GDOAwp7CzhvNkCeG5fAWNezks5vgc9FgaJpZM4afzv9.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":"@elextr in #2076: Sorry I should have said the Scintilla _interface_ uses counters the size of a pointer.  This is static at compile time and matches the Sci::Position thats used in most of the Scintilla code.  On almost every system nowadays thats 64 bits.\r\n\r\nThe option you mention is dynamic, at runtime, and sets the size of the integers used to store values in the line data, so it can be a mismatch between Sci::Position (matches the static API) and the stored value.\r\n\r\nIts a *bad thing* if Scintilla then silently truncates numbers from the API or other calculated Sci::Position to 32 bits internally without giving an error. :frowning_face: \r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/2076#issuecomment-482805438"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2076#issuecomment-482805438",
"url": "https://github.com/geany/geany/issues/2076#issuecomment-482805438",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>