Home Dashboard Directory Help
Search

Visual Studio editor considers ligatures to be a single character by Dean Harding


Status: 

Closed
 as By Design Help for as By Design


0
0
Sign in
to vote
Type: Bug
ID: 179190
Opened: 8/10/2006 6:48:51 PM
Access Restriction: Public
Primary Feedback Item: 179193
1
Workaround(s)
view
0
User(s) can reproduce this bug

Description

If I switch my Visual Studio font to something that contains ligatures (for example, "Calibri" has a ligature for "fi") then Visual Studio will consider that ligature a single character. It should either not use ligatures at all for such combinations, or at least handle the "backspace" and cursor-ing properly.

Note the steps and "expected"/"actual" behaviour I describe below is only one symptom. There are other, for example, if you put your cursor to the left of the "fi" ligature, and press the right-arrow, it'll move the cursor to the right of the "i", not in between the "f" and the "i" as you would expect. Also, you cannot select just the "f" or just the "i", you can only select both.

Of course, this doesn't just affect the "fi" ligature, but any ligatures in the font. It's just that I hit the "fi" one quite a bit (I seem to have lots of variables with the word "file" in them...

I've attached a screenshot of the bug. The "fi" immediately to the left of the cursor is a ligature, and if I were to hit "backspace" at this point, it would delete the whole "fi" ligature, rather than just the "i".
Details
Sign in to post a comment.
Sign in to post a workaround.
Posted by Dean Harding on 8/10/2006 at 6:54 PM
A workaround is to not use a font which include ligatures.