mirror of
https://github.com/textmate/textmate.git
synced 2026-01-20 20:27:59 -05:00
Post AXValueChanged when changing selected tab
If this is on, then VoiceOver reads the name of the new tab being switched to, enabling easier navigation between open tabs.
This commit is contained in:
committed by
Allan Odgaard
parent
65ae6a22b4
commit
95ce9d5197
@@ -721,6 +721,7 @@ static id SafeObjectAtIndex (NSArray* array, NSUInteger index)
|
||||
if(selectedTab == anIndex)
|
||||
return;
|
||||
selectedTab = anIndex;
|
||||
NSAccessibilityPostNotification(self, NSAccessibilityValueChangedNotification);
|
||||
self.layoutNeedsUpdate = YES;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user