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
Bram Moolenaar
3d1cde8a2f
Update runtime files.
2020-08-15 18:55:18 +02:00
Bram Moolenaar
e7b1ea0276
Update runtime files.
2020-08-07 19:54:59 +02:00
Bram Moolenaar
65e0d77a66
Update runtime files
2020-06-14 17:29:55 +02:00
Bram Moolenaar
0c0eddd3dd
patch 8.2.0970: terminal properties are not available in Vim script
...
Problem: Terminal properties are not available in Vim script.
Solution: Add the terminalprops() function.
2020-06-13 15:47:25 +02:00
Bram Moolenaar
077a1e670a
patch 8.2.0935: flattening a list with existing code is slow
...
Problem: Flattening a list with existing code is slow.
Solution: Add flatten(). (Mopp, closes #3676 )
2020-06-08 20:50:43 +02:00
Bram Moolenaar
bb861e293e
patch 8.2.0924: cannot save and restore a register properly
...
Problem: Cannot save and restore a register properly.
Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
Massimino, closes #3370 )
2020-06-07 18:16:36 +02:00
Bram Moolenaar
ebacddbc16
patch 8.2.0897: list of functions in patched version is outdated
...
Problem: List of functions in patched version is outdated.
Solution: Update the function lists only.
2020-06-04 15:22:21 +02:00
Bram Moolenaar
6c9ba04280
patch 8.2.0875: getting attributes for directory entries is slow
...
Problem: Getting attributes for directory entries is slow.
Solution: Add readdirex(). (Ken Takata, closes #5619 )
2020-06-01 16:09:41 +02:00
Bram Moolenaar
cfb4b47de0
patch 8.2.0861: cannot easily get all the current marks
...
Problem: Cannot easily get all the current marks.
Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032 )
2020-05-31 15:41:57 +02:00
Bram Moolenaar
ff78155aa1
Update runtime files
2020-03-19 20:37:11 +01:00
Bram Moolenaar
0eabd4dc8f
patch 8.2.0385: menu functionality insufficiently tested
...
Problem: Menu functionality insufficiently tested.
Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760 )
2020-03-15 16:13:53 +01:00
Bram Moolenaar
4f5776c17c
patch 8.2.0250: test_clear_search_pat() is unused
...
Problem: test_clear_search_pat() is unused.
Solution: Remove the function. (Yegappan Lakshmanan, closes #5624 )
2020-02-12 22:15:19 +01:00
Bram Moolenaar
07ada5ff2f
patch 8.2.0212: missing search/substitute pattern hardly tested
...
Problem: Missing search/substitute pattern hardly tested.
Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
closes #5579 )
2020-02-05 20:38:22 +01:00
Bram Moolenaar
6f345a1458
patch 8.2.0017: OS/2 and MS-DOS are still mentioned
...
Problem: OS/2 and MS-DOS are still mentioned, even though support was
removed long ago.
Solution: Update documentation. (Yegappan Lakshmanan, closes #5368 )
2019-12-17 21:27:18 +01:00
Bram Moolenaar
98056533b9
Vim 8.2 release
2019-12-12 14:18:35 +01:00
Bram Moolenaar
0c0734d527
Update runtime files
2019-11-26 21:44:46 +01:00
Bram Moolenaar
10455d43fe
patch 8.1.2326: cannot parse a date/time string
...
Problem: Cannot parse a date/time string.
Solution: Add strptime(). (Stephen Wall, closes #)
2019-11-21 15:36:18 +01:00
Bram Moolenaar
09c6f265b2
Update runtime files.
2019-11-17 15:55:14 +01:00
Bram Moolenaar
5be4ceecea
Update runtime files.
2019-09-27 19:34:08 +02:00
Bram Moolenaar
396e829fa3
Update runtime files
2019-07-13 23:04:31 +02:00
Bram Moolenaar
809ce4d317
patch 8.1.1682: placing a larger number of signs is slow
...
Problem: Placing a larger number of signs is slow.
Solution: Add functions for dealing with a list of signs. (Yegappan
Lakshmanan, closes #4636 )
2019-07-13 21:21:40 +02:00
Bram Moolenaar
b3d17a20d2
patch 8.1.1645: cannot use a popup window for a balloon
...
Problem: Cannot use a popup window for a balloon.
Solution: Add popup_beval(). Add the "mousemoved" property. Add the
screenpos() function.
2019-07-07 18:28:14 +02:00
Bram Moolenaar
931a277145
patch 8.1.1628: popup window functions not in list of functions
...
Problem: Popup window functions not in list of functions.
Solution: Add popup window functins to the list of functions. Reorganise
the popup window help.
2019-07-04 16:54:54 +02:00
Bram Moolenaar
80dad48c50
patch 8.1.1510: a plugin cannot easily expand a command like done internally
...
Problem: A plugin cannot easily expand a command like done internally.
Solution: Add the expandcmd() function. (Yegappan Lakshmanan, closes #4514 )
2019-06-09 17:22:31 +02:00
Bram Moolenaar
7dd64a3e57
Update runtime files.
2019-05-31 21:41:05 +02:00
Bram Moolenaar
68e6560b84
Update runtime files.
2019-05-26 21:33:31 +02:00
Bram Moolenaar
a334772967
patch 8.1.1321: no docs or tests for listener functions
...
Problem: No docs or tests for listener functions.
Solution: Add help and tests for listener_add() and listener_remove().
Invoke the callbacks before redrawing.
2019-05-11 21:14:24 +02:00