mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
lastFlushDate not set on input begin otherwise some error message were never displayed
git-svn-id: http://macvim.googlecode.com/svn/trunk@279 96c4425d-ca35-0410-94e5-3396d5c13a8f
This commit is contained in:
+4
-2
@@ -19,7 +19,6 @@
|
||||
static float MMFlushTimeoutInterval = 0.1f;
|
||||
|
||||
static unsigned MMServerMax = 1000;
|
||||
//static NSTimeInterval MMEvaluateExpressionTimeout = 3;
|
||||
|
||||
// NOTE: The default font is bundled with the application.
|
||||
static NSString *MMDefaultFontName = @"DejaVu Sans Mono";
|
||||
@@ -1838,8 +1837,11 @@ enum {
|
||||
- (void)processInputBegin
|
||||
{
|
||||
inProcessInput = YES;
|
||||
|
||||
// Reset last flush date otherwise timed error message from e.g.
|
||||
// ':set tenc=latin1' are never displayed.
|
||||
[lastFlushDate release];
|
||||
lastFlushDate = [[NSDate date] retain];
|
||||
lastFlushDate = nil;
|
||||
}
|
||||
|
||||
- (void)processInputEnd
|
||||
|
||||
Reference in New Issue
Block a user