comparison src/evalfunc.c @ 20635:3e36a51ff152 v8.2.0871

patch 8.2.0871: cannot use getmarklist() as a method Commit: https://github.com/vim/vim/commit/f17e7ea67a798d0aa45ce24ea80c9e21d5164326 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 1 14:14:44 2020 +0200 patch 8.2.0871: cannot use getmarklist() as a method Problem: Cannot use getmarklist() as a method. Solution: Make getmarklist() work as a method. Add one to the column number to match getpos(). (Yegappan Lakshmanan, closes #6176)
author Bram Moolenaar <Bram@vim.org>
date Mon, 01 Jun 2020 14:15:05 +0200
parents 7b8ac5e49451
children c2beb6baa42c
comparison
equal deleted inserted replaced
20634:524fb8e122ba 20635:3e36a51ff152
577 {"getftype", 1, 1, FEARG_1, ret_string, f_getftype}, 577 {"getftype", 1, 1, FEARG_1, ret_string, f_getftype},
578 {"getimstatus", 0, 0, 0, ret_number, f_getimstatus}, 578 {"getimstatus", 0, 0, 0, ret_number, f_getimstatus},
579 {"getjumplist", 0, 2, FEARG_1, ret_list_any, f_getjumplist}, 579 {"getjumplist", 0, 2, FEARG_1, ret_list_any, f_getjumplist},
580 {"getline", 1, 2, FEARG_1, ret_f_getline, f_getline}, 580 {"getline", 1, 2, FEARG_1, ret_f_getline, f_getline},
581 {"getloclist", 1, 2, 0, ret_list_dict_any, f_getloclist}, 581 {"getloclist", 1, 2, 0, ret_list_dict_any, f_getloclist},
582 {"getmarklist", 0, 1, 0, ret_list_dict_any, f_getmarklist}, 582 {"getmarklist", 0, 1, FEARG_1, ret_list_dict_any, f_getmarklist},
583 {"getmatches", 0, 1, 0, ret_list_dict_any, f_getmatches}, 583 {"getmatches", 0, 1, 0, ret_list_dict_any, f_getmatches},
584 {"getmousepos", 0, 0, 0, ret_dict_number, f_getmousepos}, 584 {"getmousepos", 0, 0, 0, ret_dict_number, f_getmousepos},
585 {"getpid", 0, 0, 0, ret_number, f_getpid}, 585 {"getpid", 0, 0, 0, ret_number, f_getpid},
586 {"getpos", 1, 1, FEARG_1, ret_list_number, f_getpos}, 586 {"getpos", 1, 1, FEARG_1, ret_list_number, f_getpos},
587 {"getqflist", 0, 1, 0, ret_list_dict_any, f_getqflist}, 587 {"getqflist", 0, 1, 0, ret_list_dict_any, f_getqflist},