Bram Moolenaar
944697ae19
Update runtime files
2022-02-20 19:48:20 +00:00
Bram Moolenaar
92f645bef7
Update runtime files. ( closes #9741 )
2022-02-11 13:29:40 +00:00
Yegappan Lakshmanan
9e0208f51c
patch 8.2.4276: separate test function for the GUI scrollbar
...
Problem: Separate test function for the GUI scrollbar.
Solution: Use test_gui_event(). (Yegappan Lakshmanan, closes #9674 )
2022-01-31 17:40:55 +00:00
ichizok
672776dbe8
patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
...
Problem: Generating nv_cmdidxs.h requires building Vim twice.
Solution: Move the table into a separate file and use a separate executable
to extract the command characters. (Ozaki Kiichi, closes #9669 )
2022-01-31 12:27:18 +00:00
Yegappan Lakshmanan
06011e1a55
patch 8.2.4259: number of test functions for GUI events is growing
...
Problem: Number of test functions for GUI events is growing.
Solution: Use one function with a dictionary. (Yegappan Lakshmanan,
closes #9660 )
2022-01-30 12:37:29 +00:00
Bram Moolenaar
f10911e5db
Update runtime files
2022-01-29 22:20:48 +00:00
Yegappan Lakshmanan
4dc0dd8699
patch 8.2.4252: generating the normal command table at runtime is inefficient
...
Problem: Generating the normal command table at runtime is inefficient.
Solution: Generate the table with a Vim script and put it in a header file.
(Yegappan Lakshmanan, closes #9648 )
2022-01-29 13:06:40 +00:00
Yegappan Lakshmanan
b0ad2d92fd
patch 8.2.4228: no tests for clicking in the GUI tabline
...
Problem: No tests for clicking in the GUI tabline.
Solution: Add test functions to generate the events. Add tests using the
functions. (Yegappan Lakshmanan, closes #9638 )
2022-01-27 13:16:59 +00:00
Daniel Steinberg
ee63031b57
patch 8.2.4052: not easy to resize a window from a plugin
...
Problem: Not easy to resize a window from a plugin.
Solution: Add win_move_separator() and win_move_statusline() functions.
(Daniel Steinberg, closes #9486 )
2022-01-10 13:36:34 +00:00
Bram Moolenaar
2f0936cb9a
Update runtime files
2022-01-08 21:51:59 +00:00
Bram Moolenaar
04fb916684
Update runtime files
2021-12-30 20:24:12 +00:00
Yegappan Lakshmanan
d1a8d658e1
patch 8.2.3578: manipulating highlighting is complicated
...
Problem: Manipulating highlighting is complicated.
Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
closes #9039 )
2021-11-03 21:56:45 +00:00
Bram Moolenaar
34cc7d8c03
Update runtime files
2021-09-21 20:09:51 +02:00
Yegappan Lakshmanan
5dfe467432
patch 8.2.3438: cannot manipulate blobs
...
Problem: Cannot manipulate blobs.
Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan,
closes #8868 )
2021-09-14 17:54:30 +02:00
Yegappan Lakshmanan
ccfb7c6758
patch 8.2.3356: adding many text properties requires a lot of function calls
...
Problem: Adding many text properties requires a lot of function calls.
Solution: Add the prop_add_list() function. (Yegappan Lakshmanan,
closes #8751 )
2021-08-16 21:39:09 +02:00
Bram Moolenaar
6aa57295cf
Update runtime files
2021-08-14 21:25:52 +02:00
Bram Moolenaar
267359902c
patch 8.2.3314: behavior of exists() in a :def function is unpredictable
...
Problem: Behavior of exists() in a :def function is unpredictable.
Solution: Add exists_compiled().
2021-08-08 14:43:22 +02:00
Bram Moolenaar
53f7fccc94
Update runtime files
2021-07-28 20:10:16 +02:00
h-east
29b857150c
patch 8.2.3226: new digraph functions use old naming scheme
...
Problem: New digraph functions use old naming scheme.
Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8580 )
2021-07-26 21:54:04 +02:00
mityu
6106504e9e
patch 8.2.3184: cannot add a digraph with a leading space
...
Problem: Cannot add a digraph with a leading space. It is not easy to list
existing digraphs.
Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
getdigraphlist(). (closes #8580 )
2021-07-19 20:07:21 +02:00
Yegappan Lakshmanan
18d46587b9
patch 8.2.3040: GUI: dropping files not tested
...
Problem: GUI: dropping files not tested.
Solution: Add test_gui_drop_files() and tests. (Yegappan Lakshmanan,
closes #8434 )
2021-06-23 20:46:52 +02:00
Yegappan Lakshmanan
f1e7449d56
patch 8.2.3028: GUI mouse events not tested
...
Problem: GUI mouse events not tested.
Solution: Add test_gui_mouse_event(). Add mouse tests. Also add a few
viminfo tests. (Yegappan Lakshmanan, closes #8407 )
2021-06-21 18:44:26 +02:00
Bram Moolenaar
2346a63784
Update runtime files
2021-06-13 19:02:49 +02:00
Bram Moolenaar
f7a023e580
patch 8.2.2958: function list test fails
...
Problem: Function list test fails.
Solution: Add newly added function to the list. Fix typo.
2021-06-07 18:50:01 +02:00
Bram Moolenaar
11e3c5ba82
Update runtime files
2021-04-21 18:09:37 +02:00
Bram Moolenaar
0df6030145
patch 8.2.2697: function list test fails
...
Problem: Function list test fails.
Solution: Add missing function. (Yegappan Lakshmanan)
2021-04-03 15:15:47 +02:00
Bram Moolenaar
dad4473f02
Update runtime files.
2021-03-31 20:07:33 +02:00
Bram Moolenaar
70ce8a1561
patch 8.2.2606: strchars() defaults to counting composing characters
...
Problem: strchars() defaults to counting composing characters.
Solution: Add strcharlen() which ignores composing characters.
2021-03-14 19:02:09 +01:00
Bram Moolenaar
942db23c9c
Update runtime files
2021-02-13 18:14:48 +01:00
Bram Moolenaar
038e09ee76
patch 8.2.2468: not easy to get the full command name from a shortened one
...
Problem: Not easy to get the full command name from a shortened one.
Solution: Add fullcommand(). (Martin Tournoij, closes #7777 )
2021-02-06 12:38:51 +01:00
Bram Moolenaar
3b69006973
patch 8.2.2449: Vim9: flatten() always changes the list type
...
Problem: Vim9: flatten() always changes the list type.
Solution: Disallow using flatten() and add flattennew().
2021-02-01 20:14:51 +01:00
Bram Moolenaar
98a29d00a4
Update runtime files.
2021-01-18 19:55:44 +01:00
Bram Moolenaar
6601b62943
patch 8.2.2344: using inclusive index for slice is not always desired
...
Problem: Using inclusive index for slice is not always desired.
Solution: Add the slice() method, which has an exclusive index. (closes
#7408 )
2021-01-13 21:47:15 +01:00
Bram Moolenaar
c423ad77ed
patch 8.2.2343: Vim9: return type of readfile() is any
...
Problem: Vim9: return type of readfile() is any.
Solution: Add readblob() so that readfile() can be expected to always
return a list of strings. (closes #7671 )
2021-01-13 20:38:03 +01:00
Bram Moolenaar
a47e05f04a
patch 8.2.2339: cannot get the type of a value as a string
...
Problem: Cannot get the type of a value as a string.
Solution: Add typename().
2021-01-12 21:49:00 +01:00
Bram Moolenaar
b0e6b51364
patch 8.2.2336: Vim9: not possible to extend dictionary with different type
...
Problem: Vim9: it is not possible to extend a dictionary with different
item types.
Solution: Add extendnew(). (closes #7666 )
2021-01-12 20:23:40 +01:00
Bram Moolenaar
82be4849ee
Update runtime files.
2021-01-11 19:40:15 +01:00
Bram Moolenaar
6f02b00bb0
patch 8.2.2324: not easy to get mark en cursor posotion by character count
...
Problem: Not easy to get mark en cursor posotion by character count.
Solution: Add functions that use character index. (Yegappan Lakshmanan,
closes #7648 )
2021-01-10 20:22:54 +01:00
Bram Moolenaar
17793ef23a
patch 8.2.2233: cannot convert a byte index into a character index
...
Problem: Cannot convert a byte index into a character index.
Solution: Add charidx(). (Yegappan Lakshmanan, closes #7561 )
2020-12-28 12:56:58 +01:00
Bram Moolenaar
4072ba571b
Update runtime files.
2020-12-23 13:56:35 +01:00
Bram Moolenaar
4466ad6baa
Update runtime files
2020-11-21 13:16:30 +01:00
Bram Moolenaar
ea696852e7
patch 8.2.1969: Vim9: map() may change the list or dict item type
...
Problem: Vim9: map() may change the list or dict item type.
Solution: Add mapnew().
2020-11-09 18:31:39 +01:00
Bram Moolenaar
4f73b8e9cc
patch 8.2.1726: fuzzy matching only works on strings
...
Problem: Fuzzy matching only works on strings.
Solution: Support passing a dict. Add matchfuzzypos() to also get the match
positions. (Yegappan Lakshmanan, closes #6947 )
2020-09-22 20:33:50 +02:00
Bram Moolenaar
635414dd2f
patch 8.2.1665: cannot do fuzzy string matching
...
Problem: Cannot do fuzzy string matching.
Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932 )
2020-09-11 22:25:15 +02:00
Bram Moolenaar
1c6737b20a
Update runtime files.
2020-09-07 22:18:52 +02:00
Bram Moolenaar
077cc7aa0e
patch 8.2.1588: cannot read back the prompt of a prompt buffer
...
Problem: Cannot read back the prompt of a prompt buffer.
Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851 )
2020-09-04 16:35:35 +02:00
Bram Moolenaar
207f009326
Update runtime files.
2020-08-30 17:20:20 +02:00
Bram Moolenaar
0b39c3fd4c
patch 8.2.1544: cannot translate messages in a Vim script
...
Problem: Cannot translate messages in a Vim script.
Solution: Add gettext(). Try it out for a few messages in the options
window.
2020-08-30 15:52:10 +02:00
Bram Moolenaar
4e4473c927
patch 8.2.1536: cannot get the class of a character; emoji widths are wrong
...
Problem: Cannot get the class of a character; emoji widths are wrong in
some environments.
Solution: Add charclass(). Update some emoji widths. Add script to check
emoji widths.
2020-08-28 22:24:57 +02:00
Bram Moolenaar
08aac3c619
patch 8.2.1535: it is not possible to specify cell widths of characters
...
Problem: It is not possible to specify cell widths of characters.
Solution: Add setcellwidths().
2020-08-28 21:04:24 +02:00