Default menu "MacVim Help" item opens help window maximized

This commit is contained in:
Bjorn Winckler
2008-06-04 19:08:52 +02:00
parent 11ec93a03a
commit c0159b8fdf
5 changed files with 10 additions and 3 deletions
+2
View File
@@ -60,6 +60,8 @@
<string></string>
<key>selectPreviousWindow:</key>
<string></string>
<key>showVimHelp:</key>
<string></string>
<key>terminate:</key>
<string></string>
<key>undo:</key>
+4
View File
@@ -25,6 +25,10 @@
<string>id</string>
<key>showHelp</key>
<string>id</string>
<key>showVimHelp</key>
<string>id</string>
<key>zoomAll</key>
<string>id</string>
</dict>
<key>CLASS</key>
<string>MMAppController</string>
Binary file not shown.
+1 -1
View File
@@ -38,7 +38,7 @@
- (IBAction)fontSizeDown:(id)sender;
- (IBAction)orderFrontPreferencePanel:(id)sender;
- (IBAction)openWebsite:(id)sender;
- (IBAction)showHelp:(id)sender;
- (IBAction)showVimHelp:(id)sender;
- (IBAction)zoomAll:(id)sender;
@end
+3 -2
View File
@@ -736,10 +736,11 @@ static int executeInLoginShell(NSString *path, NSArray *args);
[NSURL URLWithString:MMWebsiteString]];
}
- (IBAction)showHelp:(id)sender
- (IBAction)showVimHelp:(id)sender
{
// Open a new window with the help window maximized.
[self launchVimProcessWithArguments:[NSArray arrayWithObjects:
@"-c", @":h gui_mac", nil]];
@"-c", @":h gui_mac", @"-c", @":res", nil]];
}
- (IBAction)zoomAll:(id)sender