<blockquote>
<p>there are still combinations of two code points that map to only one glyph (eg c̦</p>
</blockquote>
<p>?!? what the ....<br>
Wikipedia (emphases mine):</p>
<blockquote>
<p>Unicode is a computing industry standard for the <em>consistent</em> encoding, representation, and handling of text expressed in most of the world's writing systems.<br>
In text processing, Unicode takes the role of providing a <em>unique</em> code point—a number, not a glyph—for each <em>character</em></p>
</blockquote>
<p>Whether or not it is trully consistent depends on their interpretation of "character", because this section  <a href="https://en.wikipedia.org/wiki/Unicode#Ready-made_versus_composite_characters" rel="nofollow">https://en.wikipedia.org/wiki/Unicode#Ready-made_versus_composite_characters</a> talks about  "main characters" and "diacritical marks" combining to make what they call in earlier sections "abstract characters".</p>
<p>I personally believe it's a bad approach: not only because it makes it harder for computing industry, but it is in principle inconsistent with treatment of most, if not all characters. (ex: A made of 3 bars, B of 1 bar and 2 semi-circles or partial circles...), thus<br>
<code>(almost) any visible character can be regarded as a combination of some small, primitive "marks" (and historically probably evolved that way).</code></p>
<p>Not a perfect standard at all.</p>
<hr>
<p>But my practical take-away is , still, that a character (and I mean a visible character, including example of c̦ ) on the screen is represented by 1 or, for "complex" characters, more bytes.<br>
And the caret tries to step in between those bytes; sometimes ending up in "illegal positions" and not showing up.</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/1952#issuecomment-421758259">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ7gJ2oWSZJOj7aYA6AQR2w7ztNp9ks5ubkXFgaJpZM4Wp66o">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ6Hd6GibN7G00LBtOb-ZRWFT_ZMEks5ubkXFgaJpZM4Wp66o.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://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@VictorelPetrovich in #1952: \u003ethere are still combinations of two code points that map to only one glyph (eg c̦ \r\n\r\n?!? what the ....\r\nWikipedia (emphases mine):\r\n\u003e Unicode is a computing industry standard for the *consistent* encoding, representation, and handling of text expressed in most of the world's writing systems.\r\nIn text processing, Unicode takes the role of providing a *unique* code point—a number, not a glyph—for each *character*\r\n\r\nWhether or not it is trully consistent depends on their interpretation of \"character\", because this section  https://en.wikipedia.org/wiki/Unicode#Ready-made_versus_composite_characters talks about  \"main characters\" and \"diacritical marks\" combining to make what they call in earlier sections \"abstract characters\".\r\n\r\nI personally believe it's a bad approach: not only because it makes it harder for computing industry, but it is in principle inconsistent with treatment of most, if not all characters. (ex: A made of 3 bars, B of 1 bar and 2 semi-circles or partial circles...), thus\r\n`(almost) any visible character can be regarded as a combination of some small, primitive \"marks\" (and historically probably evolved that way).`\r\n\r\nNot a perfect standard at all.  \r\n\r\n---\r\nBut my practical take-away is , still, that a character (and I mean a visible character, including example of c̦ ) on the screen is represented by 1 or, for \"complex\" characters, more bytes. \r\nAnd the caret tries to step in between those bytes; sometimes ending up in \"illegal positions\" and not showing up.\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1952#issuecomment-421758259"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/1952#issuecomment-421758259",
"url": "https://github.com/geany/geany/issues/1952#issuecomment-421758259",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [geany/geany] Smaller horizontal auto-scroll jump when typing (#1952)",
"sections": [
{
"text": "",
"activityTitle": "**VictorelPetrovich**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@VictorelPetrovich",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1952,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1952\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany/issues/1952#issuecomment-421758259"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 380087976\n}"
}
],
"themeColor": "26292E"
}
]</script>