mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.0-067
This commit is contained in:
@@ -8597,6 +8597,11 @@ ins_left()
|
|||||||
tpos = curwin->w_cursor;
|
tpos = curwin->w_cursor;
|
||||||
if (oneleft() == OK)
|
if (oneleft() == OK)
|
||||||
{
|
{
|
||||||
|
#if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
|
||||||
|
/* Only call start_arrow() when not busy with preediting, it will
|
||||||
|
* break undo. K_LEFT is inserted in im_correct_cursor(). */
|
||||||
|
if (!im_is_preediting())
|
||||||
|
#endif
|
||||||
start_arrow(&tpos);
|
start_arrow(&tpos);
|
||||||
#ifdef FEAT_RIGHTLEFT
|
#ifdef FEAT_RIGHTLEFT
|
||||||
/* If exit reversed string, position is fixed */
|
/* If exit reversed string, position is fixed */
|
||||||
|
@@ -3514,6 +3514,11 @@ im_delete_preedit(void)
|
|||||||
add_to_input_buf(delkey, (int)sizeof(delkey));
|
add_to_input_buf(delkey, (int)sizeof(delkey));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Move the cursor left by "num_move_back" characters.
|
||||||
|
* Note that ins_left() checks im_is_preediting() to avoid breaking undo for
|
||||||
|
* these K_LEFT keys.
|
||||||
|
*/
|
||||||
static void
|
static void
|
||||||
im_correct_cursor(int num_move_back)
|
im_correct_cursor(int num_move_back)
|
||||||
{
|
{
|
||||||
@@ -3741,7 +3746,6 @@ im_preedit_changed_cb(GtkIMContext *context, gpointer data)
|
|||||||
}
|
}
|
||||||
else if (cursor_index == 0 && preedit_string[0] == '\0')
|
else if (cursor_index == 0 && preedit_string[0] == '\0')
|
||||||
{
|
{
|
||||||
if (preedit_start_col == MAXCOL)
|
|
||||||
xim_has_preediting = FALSE;
|
xim_has_preediting = FALSE;
|
||||||
|
|
||||||
/* If at the start position (after typing backspace)
|
/* If at the start position (after typing backspace)
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
67,
|
||||||
/**/
|
/**/
|
||||||
66,
|
66,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user