Mercurial > vim
view src/proto/if_python3.pro @ 15977:7fbdceabad64 v8.1.0994
patch 8.1.0994: relative cursor position is not calculated correctly
commit https://github.com/vim/vim/commit/8fcb60f961bdd134599fb016c6537fd496e800f5
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 4 13:18:30 2019 +0100
patch 8.1.0994: relative cursor position is not calculated correctly
Problem: Relative cursor position is not calculated correctly.
Solution: Always set topline, also when window is one line only.
(Robert Webb) Add more info to getwininfo() for testing.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 04 Mar 2019 13:30:08 +0100 |
parents | 21b0a39d13ed |
children | c517845bd10e |
line wrap: on
line source
/* if_python3.c */ int python3_enabled(int verbose); void python3_end(void); int python3_loaded(void); void ex_py3(exarg_T *eap); void ex_py3file(exarg_T *eap); void ex_py3do(exarg_T *eap); void python3_buffer_free(buf_T *buf); void python3_window_free(win_T *win); void python3_tabpage_free(tabpage_T *tab); void do_py3eval(char_u *str, typval_T *rettv); int set_ref_in_python3(int copyID); /* vim: set ft=c : */