0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.866

Problem:    Crash when changing the 'tags' option from a remote command.
            (Benjamin Fritz)
Solution:   Instead of executing messages immediately, use a queue, like for
            netbeans. (James Kolb)
This commit is contained in:
Bram Moolenaar
2015-09-15 14:12:05 +02:00
parent ed84b76021
commit 93c88e0f6a
12 changed files with 185 additions and 58 deletions

View File

@@ -6328,3 +6328,23 @@ has_non_ascii(s)
return FALSE;
}
#endif
#if defined(MESSAGE_QUEUE) || defined(PROTO)
/*
* Process messages that have been queued for netbeans or clientserver.
* These functions can call arbitrary vimscript and should only be called when
* it is safe to do so.
*/
void
parse_queued_messages()
{
# ifdef FEAT_NETBEANS_INTG
/* Process the queued netbeans messages. */
netbeans_parse_messages();
# endif
# ifdef FEAT_CLIENTSERVER
/* Process the queued clientserver messages. */
server_parse_messages();
# endif
}
#endif