mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
Renamed newVimWindow: action to newWindow:
git-svn-id: http://macvim.googlecode.com/svn/trunk@240 96c4425d-ca35-0410-94e5-3396d5c13a8f
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@
|
||||
<string></string>
|
||||
<key>miniaturizeAll:</key>
|
||||
<string></string>
|
||||
<key>newVimWindow:</key>
|
||||
<key>newWindow:</key>
|
||||
<string></string>
|
||||
<key>orderFrontCharacterPalette:</key>
|
||||
<string></string>
|
||||
|
||||
Generated
+1
-1
@@ -13,7 +13,7 @@
|
||||
SUPERCLASS = NSObject;
|
||||
},
|
||||
{
|
||||
ACTIONS = {newVimWindow = id; };
|
||||
ACTIONS = {newWindow = id; selectNextWindow = id; selectPreviousWindow = id; };
|
||||
CLASS = MMAppController;
|
||||
LANGUAGE = ObjC;
|
||||
SUPERCLASS = NSObject;
|
||||
|
||||
BIN
Binary file not shown.
+1
-1
@@ -22,7 +22,7 @@
|
||||
|
||||
- (void)removeVimController:(id)controller;
|
||||
- (void)windowControllerWillOpen:(MMWindowController *)windowController;
|
||||
- (IBAction)newVimWindow:(id)sender;
|
||||
- (IBAction)newWindow:(id)sender;
|
||||
- (IBAction)selectNextWindow:(id)sender;
|
||||
- (IBAction)selectPreviousWindow:(id)sender;
|
||||
|
||||
|
||||
+3
-3
@@ -124,7 +124,7 @@ static NSTimeInterval MMTerminateTimeout = 3;
|
||||
{
|
||||
//NSLog(@"%s NSapp=%@ theApp=%@", _cmd, NSApp, sender);
|
||||
|
||||
[self newVimWindow:self];
|
||||
[self newWindow:self];
|
||||
return YES;
|
||||
}
|
||||
|
||||
@@ -347,7 +347,7 @@ static NSTimeInterval MMTerminateTimeout = 3;
|
||||
}
|
||||
}
|
||||
|
||||
- (IBAction)newVimWindow:(id)sender
|
||||
- (IBAction)newWindow:(id)sender
|
||||
{
|
||||
NSMutableArray *args = [NSMutableArray arrayWithObject:@"-g"];
|
||||
NSString *path = [[NSBundle mainBundle]
|
||||
@@ -477,7 +477,7 @@ static NSTimeInterval MMTerminateTimeout = 3;
|
||||
if (openSelectionString) [openSelectionString release];
|
||||
openSelectionString = [[pboard stringForType:NSStringPboardType] copy];
|
||||
|
||||
[self newVimWindow:self];
|
||||
[self newWindow:self];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ aunmenu File.-SEP4-
|
||||
aunmenu File.Exit
|
||||
aunmenu File.Save-Exit
|
||||
|
||||
an <silent> 10.290 File.New\ Window :action newVimWindow:<CR>
|
||||
an <silent> 10.290 File.New\ Window :action newWindow:<CR>
|
||||
an 10.295 File.New\ Tab :tabnew<CR>
|
||||
an 10.328 File.-SEP0- <Nop>
|
||||
an <silent> 10.330 File.Close\ Window<Tab>:qa :confirm qa<CR>
|
||||
|
||||
Reference in New Issue
Block a user