In #9064 (Mac OS X 10.6.8) the selection highlight color gets more transparent (?) sometimes. After focussing TextMate 2 the color is correct, when changing to another Tab, the color changes. If you go back to your original tab it shows the same lighter color there to. When you focus another application and go back to TextMate it shows the original (more opaque) color again.
I think TM sometimes forgets to cancel the dimming when it comes back to the foreground or simply applies it erroneously. Or it is a different bug.
I have created a variation of the twilight theme with a stronger selection color (basically a lighter grey). Quite often though it doesn't show, but rather the dark original color is shown. I fix it by going back to the bundle editor and just viewing my theme there and closing the bundle editor again corrects the display in the regular window.
Not sure if Textmate dims my custom theme and it just looks like the original theme, or the custom theme does not get even applied even though it is chosen in the view menu (But then viewing my altered theme in the bundle editor wouldn't make a difference I guess).
On Feb 21, 2012, at 01:38, Allan Odgaard wrote:
> On 20/02/2012, at 22.56, J.Jeising wrote:
>> In #9064 (Mac OS X 10.6.8) the selection highlight color gets more transparent (?) sometimes […]
> Yes, it dims the selection when focus is not in the text view. This was the same for previous builds and TextMate 1.x.
> I think TM sometimes forgets to cancel the dimming when it comes back to the foreground or simply applies it erroneously.
I've noticed this as well, and TM2 is definitely behaving differently from TM1. In TM1 I could do a search in one tab, switch to a second tab, then switch back and the search term would still be brightly highlighted. In TM2 I do the same thing, but the search term is dimmed when I get back to the first tab. I only get the bright highlight again if I give focus to another app, then focus TM2 again.
> Let me know if it happens in r9090 (current nightly build) — I didn’t > find any bugs but I changed the code involved.
There is one instance where I see erroneous highlighting still being applied in r9090...if I highlight some text, switch to another tab (in TM) and switch back, the highlight is still dimmed. If I switch to another application, the highlight comes back like it should.
Allan Odgaard wrote: > On 27/02/2012, at 07.54, Thomas Krajacic wrote: >> To reproduce: >> Switching back to Textmate from another application restores the correct highlighting, but when switching document tabs, they remain dimmed.
> Thanks — r9092 (available as test build ATM) should fix this.