Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for 'ballooneval' breaking 'updatetime'

Balloon eval would cause CursorHold to be triggered immediately after a
scrolling event without taking 'updatetime' into consideration.

This fixes Issue 432.
  • Loading branch information...
commit 965313f743b63cc1287c23f7473902a7721e4b0d 1 parent 2934356
@b4winckler authored
Showing with 2 additions and 5 deletions.
  1. +2 −5 src/MacVim/MMBackend.m
View
7 src/MacVim/MMBackend.m
@@ -3026,13 +3026,10 @@ - (void)bevalCallback:(id)sender
(*balloonEval->msgCB)(balloonEval, 0);
- [[MMBackend sharedInstance] queueMessage:SetTooltipMsgID properties:
+ [self queueMessage:SetTooltipMsgID properties:
[NSDictionary dictionaryWithObject:(lastToolTip ? lastToolTip : @"")
forKey:@"toolTip"]];
-
- // NOTE: We have to explicitly stop the run loop since timer events do
- // not cause CFRunLoopRunInMode() to exit.
- CFRunLoopStop(CFRunLoopGetCurrent());
+ [self flushQueue:YES];
}
}
#endif
Please sign in to comment.
Something went wrong with that request. Please try again.