<p>It's quite odd that computing the caret position and the glyph position don't agree, but it might indeed be a bug in the fond itself ("monospace" generally is an alias for the default monospaced font), or how one of the component use it.</p>
<p>If you'd like and have time for it, it could be nice to try and debug this further.  For that you should try and find out which font "monospace" resolves to (<code>fc-match monospace</code> should tell you), and report your results to <a href="https://sourceforge.net/p/scintilla/bugs/" rel="nofollow">Scintilla</a>, possibly after trying out whether <a href="https://www.scintilla.org/SciTE.html" rel="nofollow">SciTE</a> exhibits the problem (highly likely if Geany does).  Maybe more details are needed that I don't know, and maybe it's specific to your distro in which case more research might be required.</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/2217?email_source=notifications&email_token=AAIOWJ4PN2FM3JTSLSYNDB3QABR37A5CNFSM4IDSNQR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2IMAUA#issuecomment-512802896">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZZISVOMKVBGGERSITQABR37ANCNFSM4IDSNQRQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJYX372OLIH6BHOI2Y3QABR37A5CNFSM4IDSNQR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2IMAUA.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/2217?email_source=notifications\u0026email_token=AAIOWJ4PN2FM3JTSLSYNDB3QABR37A5CNFSM4IDSNQR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2IMAUA#issuecomment-512802896",
"url": "https://github.com/geany/geany/issues/2217?email_source=notifications\u0026email_token=AAIOWJ4PN2FM3JTSLSYNDB3QABR37A5CNFSM4IDSNQR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2IMAUA#issuecomment-512802896",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>