One character cursor offset in commit comment editbox
Created originally on Bitbucket by GiuseppePiscopo (Giuseppe Piscopo)
Hello. Thanks as usual for the great SW. This is a funny visual issue that I think I've been noticing since the beginning of using THg. I'll try to explain it with the to attached pictures. Version is 2.1.4
When I start writing the commit comment in its editbox, the blinking cursor black bar is of course right next to the letter I just typed (see picture 'Before'). But there are case when, after I write some letter, the cursor gets displaced by 1 letter to the right, with respect to the actual caret position (see picture 'After').
In the two attached pictures, until I press 'f', everything is ok. But as soon as I press the 'i', the cursor sits 1 more position to the right. If I type a further letter, say 'c', that is printed not at the cursor position but next to the 'i' (see picture 'After 2'). Which is all a little confusing if you are editing in the middle of some text.
It looks to me that apparently this case has to do with font ligatures. When I print 'i' after the 'f', they "get together" and it seems like they take the space of a single letter, leaving a blank between the 'i' and the blinking bar.
Thanks for your attention.
Attachments: TortoiseHg_Workbench_BeforeTortoiseHg_Workbench_AfterTortoiseHg_Workbench_After_2