mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Use ANSI style
This commit is contained in:
+8
-12
@@ -2426,11 +2426,11 @@ gui_mch_destroy_sign(void *sign)
|
||||
#ifdef FEAT_BEVAL
|
||||
|
||||
BalloonEval *
|
||||
gui_mch_create_beval_area(target, mesg, mesgCB, clientData)
|
||||
void *target;
|
||||
char_u *mesg;
|
||||
void (*mesgCB)(BalloonEval *, int);
|
||||
void *clientData;
|
||||
gui_mch_create_beval_area(
|
||||
void *target,
|
||||
char_u *mesg,
|
||||
void (*mesgCB)(BalloonEval *, int),
|
||||
void *clientData)
|
||||
{
|
||||
BalloonEval *beval;
|
||||
|
||||
@@ -2446,8 +2446,7 @@ gui_mch_create_beval_area(target, mesg, mesgCB, clientData)
|
||||
}
|
||||
|
||||
void
|
||||
gui_mch_enable_beval_area(beval)
|
||||
BalloonEval *beval;
|
||||
gui_mch_enable_beval_area(BalloonEval *beval)
|
||||
{
|
||||
// Set the balloon delay when enabling balloon eval.
|
||||
float delay = p_bdlay/1000.0f - MMBalloonEvalInternalDelay;
|
||||
@@ -2458,8 +2457,7 @@ gui_mch_enable_beval_area(beval)
|
||||
}
|
||||
|
||||
void
|
||||
gui_mch_disable_beval_area(beval)
|
||||
BalloonEval *beval;
|
||||
gui_mch_disable_beval_area(BalloonEval *beval)
|
||||
{
|
||||
// NOTE: An empty tool tip indicates that the tool tip window should hide.
|
||||
[[MMBackend sharedInstance] queueMessage:SetTooltipMsgID properties:
|
||||
@@ -2470,9 +2468,7 @@ gui_mch_disable_beval_area(beval)
|
||||
* Show a balloon with "mesg".
|
||||
*/
|
||||
void
|
||||
gui_mch_post_balloon(beval, mesg)
|
||||
BalloonEval *beval;
|
||||
char_u *mesg;
|
||||
gui_mch_post_balloon(BalloonEval *beval, char_u *mesg)
|
||||
{
|
||||
NSString *toolTip = [NSString stringWithVimString:mesg];
|
||||
[[MMBackend sharedInstance] setLastToolTip:toolTip];
|
||||
|
||||
Reference in New Issue
Block a user