mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.1026: GTK on-the-spot input has problems
Problem: GTK on-the-spot input has problems. (Gerd Wachsmuth) Solution: Support over-the-spot. (Yukihiro Nakadaira, Ketn Takata, closes #1215)
This commit is contained in:
@@ -2984,7 +2984,7 @@ u_sync(
|
||||
if (curbuf->b_u_synced || (!force && no_u_sync > 0))
|
||||
return;
|
||||
#if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
|
||||
if (im_is_preediting())
|
||||
if (p_imst == IM_ON_THE_SPOT && im_is_preediting())
|
||||
return; /* XIM is busy, don't break an undo sequence */
|
||||
#endif
|
||||
if (get_undolevel() < 0)
|
||||
|
Reference in New Issue
Block a user