The funny thing is that as far as I know, there is no way for CodeView to detect that someone is in the middle of a "composing string" and then they pause.
To map tag pairs, CodeView grabs the entire source of the CV as text and then parses it to create a list of tag beginning and end (matching) starting positions and ends so it knows where to highlight.
But when in the middle of composing a character, a placeholder for the "composing string" is not added because the total number of char16 (QChars) are not known fully until the actual character to be input has been fully formed.
Qt and the IME really should not be injecting parts of a incomplete character into the document until the actual fully formed character is ready.
So there really is nothing we can do about Problem A.
Last edited by KevinH; 10-28-2024 at 12:05 PM.
|