Open window no longer has rows&columns as paramters.

git-svn-id: http://macvim.googlecode.com/svn/trunk@48 96c4425d-ca35-0410-94e5-3396d5c13a8f
This commit is contained in:
Bjorn Winckler
2007-08-01 07:40:30 +00:00
parent f21b4dcc33
commit e8a4e1095f
3 changed files with 4 additions and 11 deletions
+1 -1
View File
@@ -46,7 +46,7 @@
- (void)setDefaultColorsBackground:(int)bg foreground:(int)fg;
- (BOOL)checkin;
- (BOOL)openVimWindowWithRows:(int)rows columns:(int)cols;
- (BOOL)openVimWindow;
- (void)clearAll;
- (void)clearBlockFromRow:(int)row1 column:(int)col1
toRow:(int)row2 column:(int)col2;
+2 -8
View File
@@ -199,7 +199,7 @@ static int eventButtonNumberToVimMouseButton(int buttonNumber);
#endif
}
- (BOOL)openVimWindowWithRows:(int)rows columns:(int)cols
- (BOOL)openVimWindow
{
#if !MM_USE_DO
if (!sendPort) {
@@ -228,13 +228,7 @@ static int eventButtonNumberToVimMouseButton(int buttonNumber);
}
#endif // !MM_USE_DO
NSMutableData *data = [NSMutableData data];
[data appendBytes:&rows length:sizeof(int)];
[data appendBytes:&cols length:sizeof(int)];
[self queueMessage:OpenVimWindowMsgID data:data];
[self queueMessage:OpenVimWindowMsgID data:nil];
return YES;
}
+1 -2
View File
@@ -115,8 +115,7 @@ gui_mch_open(void)
{
//NSLog(@"gui_mch_open()");
return [[MMBackend sharedInstance]
openVimWindowWithRows:gui.num_rows columns:gui.num_cols];
return [[MMBackend sharedInstance] openVimWindow];
}