Hello List,
When I¹m deleting single characters using the backspace or delete key textmate shows a very strange behaviour; instead of the character next to the cursor the second char before the cursor gets deleted. For Example: If I want to delete de character a¹ in the Word Textmate¹ I place the cursor after the a¹ character and press backspace. Now the character m¹ gets deleted! Using the delete key I have the same behaviour but to the other direction.
I have already completely removed textmate and reinstalled it but still the same effect. I use the most recent revision 1496 from 2008-11-27. I bought the licence of this product.
I looking forward to hear from you.
Best regards A. Felder
On 2009-Feb-4, at 4:41 AM, Adrian Felder wrote:
When Im deleting single characters using the backspace or delete key textmate shows a very strange behaviour; instead of the character next to the cursor the second char before the cursor gets deleted. For Example: If I want to delete de character a in the Word Textmate I place the cursor after the a character and press backspace. Now the character m gets deleted! Using the delete key I have the same behaviour but to the other direction.
Are you using a fixed-width or a variable-width font? I know variable- width fonts don't work very well and I wonder if that's causing the cursor to be displayed in a different position from where it actually is.
I just found out what the cause for this behaviour was: As soon as I unchecked the Anti alias option in the Fonts & Colors Tab of the preferences the problem was gone. After this I remembered that I disabled the antialiasing for fonts in the systemsettings of my imac. Obviously one has to pay attention that this setting is either switched on or off for both textmate and system.
Thanks for your sugestions anyway!
Adrian
On 6 Feb 2009, at 16:25, Adrian Felder wrote:
[...] After this I remembered that I disabled the antialiasing for fonts in the systemsettings of my imac. Obviously one has to pay attention that this setting is either switched on or off for both textmate and system.
Yeah, it’s really weird, the problem seems to be that TextMate does kerning calculations w/o any screen info, so it will not know that anti alias is disabled when actual rendering happens (by the global system setting), but anti-alias will affect kerning — don’t really think it is solvable w/o ditching ATSUI.