mirror of
https://github.com/textmate/textmate.git
synced 2026-01-22 05:07:54 -05:00
Bind Opt+F1 to show bundle item popup.
This commit is contained in:
committed by
Allan Odgaard
parent
752430f339
commit
6763406fe5
@@ -30,6 +30,7 @@
|
||||
"@\UF728" = "deleteToEndOfLine:";
|
||||
"~\UF705" = "showContextMenu:";
|
||||
|
||||
"~\UF704" = "showBundlesMenu:";
|
||||
"^s" = "incrementalSearch:";
|
||||
|
||||
"^w" = "selectWord:";
|
||||
|
||||
@@ -1507,6 +1507,12 @@ static void update_menu_key_equivalents (NSMenu* menu, action_to_key_t const& ac
|
||||
[self setShowLiveSearch:YES];
|
||||
}
|
||||
|
||||
- (IBAction)showBundlesMenu:(id)sender
|
||||
{
|
||||
OakDocumentView* documentView = (OakDocumentView*)[[self enclosingScrollView] superview];
|
||||
[documentView performSelector:@selector(showBundleItemSelector:) withObject:nil];
|
||||
}
|
||||
|
||||
- (IBAction)findNext:(id)sender
|
||||
{
|
||||
if(liveSearchViewController)
|
||||
|
||||
Reference in New Issue
Block a user