comparison src/if_lua.c @ 14395:c15bef307de6 v8.1.0212

patch 8.1.0212: preferred cursor column not set in interfaces commit https://github.com/vim/vim/commit/53901442f37a59e5495165f91db5574c0b43ab04 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 25 22:02:36 2018 +0200 patch 8.1.0212: preferred cursor column not set in interfaces Problem: Preferred cursor column not set in interfaces. Solution: Set w_set_curswant when setting the cursor. (David Hotham, closes #3060)
author Christian Brabandt <cb@256bit.org>
date Wed, 25 Jul 2018 22:15:05 +0200
parents d59bf91128ea
children 42eaac6eb4e4
comparison
equal deleted inserted replaced
14394:1386ba8142b4 14395:c15bef307de6
1375 { 1375 {
1376 #ifdef HAVE_SANDBOX 1376 #ifdef HAVE_SANDBOX
1377 luaV_checksandbox(L); 1377 luaV_checksandbox(L);
1378 #endif 1378 #endif
1379 w->w_cursor.col = v - 1; 1379 w->w_cursor.col = v - 1;
1380 w->w_set_curswant = TRUE;
1380 update_screen(VALID); 1381 update_screen(VALID);
1381 } 1382 }
1382 else if (strncmp(s, "width", 5) == 0) 1383 else if (strncmp(s, "width", 5) == 0)
1383 { 1384 {
1384 win_T *win = curwin; 1385 win_T *win = curwin;