Bram Moolenaar
24f21fdfca
patch 8.2.2667: prop_find() cannot find item matching both id and type
...
Problem: prop_find() cannot find item matching both id and type.
Solution: Add the "both" argument. (Naohiro Ono, closes #8019 )
2021-03-27 22:07:29 +01:00
Bram Moolenaar
74e54fcb44
patch 8.2.2658: :for cannot loop over a string
...
Problem: :for cannot loop over a string.
Solution: Accept a string argument and iterate over its characters.
2021-03-26 20:41:29 +01:00
Bram Moolenaar
4c86830fc5
patch 8.2.2638: cannot write a message to the terminal from the GUI
...
Problem: Cannot write a message to the terminal from the GUI.
Solution: Add :echoconsole and use it in the test runner. (issue #7975 )
2021-03-22 16:19:45 +01:00
Bram Moolenaar
f90c855c71
patch 8.2.2634: 'tagfunc' does not indicate using a pattern
...
Problem: 'tagfunc' does not indicate using a pattern.
Solution: Add the "r" flag. (Andy Massimino, closes #7982 )
2021-03-21 14:49:57 +01:00
Bram Moolenaar
3e1916947d
patch 8.2.2616: Vim9: if 'cpo' is change in Vim9 script it may be restored
...
Problem: Vim9: if 'cpo' is change in Vim9 script it may be restored.
Solution: Apply the changes to 'cpo' to the restored value.
2021-03-17 17:46:00 +01:00
Bram Moolenaar
18b7d86d7f
patch 8.2.2612: col('.') may get outdated column value
...
Problem: col('.') may get outdated column value.
Solution: Add a note to the help how to make this work and add a test for
it. (closes #7971 )
2021-03-17 13:28:05 +01:00
Bram Moolenaar
02b4d9b18a
patch 8.2.2607: strcharpart() cannot include composing characters
...
Problem: strcharpart() cannot include composing characters.
Solution: Add the {skipcc} argument.
2021-03-14 19:46:45 +01: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
0289a093a4
patch 8.2.2605: Vim9: string index and slice does not include composing chars
...
Problem: Vim9: string index and slice does not include composing chars.
Solution: Include composing characters. (issue #6563 )
2021-03-14 18:40:19 +01:00
Bram Moolenaar
c8cdf0f80b
Update runtime files.
2021-03-13 13:28:13 +01:00
Bram Moolenaar
008bff967f
patch 8.2.2569: 'fillchars' "stl" and "stlnc" items must be single byte
...
Problem: 'fillchars' "stl" and "stlnc" items must be single byte.
Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan
Lakshmanan, closes #7927 )
2021-03-04 21:55:58 +01:00
Bram Moolenaar
9faec4e3d4
Update runtime files.
2021-02-27 16:38:07 +01:00
Bram Moolenaar
10b9421f3b
patch 8.2.2531: Vim9: the :k command is obscure
...
Problem: Vim9: the :k command is obscure.
Solution: Disallow using :k, can use :mark instead. (closes #7874 )
2021-02-19 21:42:57 +01:00
Bram Moolenaar
d3f8a9ee65
patch 8.2.2529: Vim9: Not possible to use legacy and Vim9 script in one file
...
Problem: Vim9: Not possible to use legacy and Vim9 script in one file.
Solution: Vim9: allow for "if false" before :vim9script. (closes #7851 )
2021-02-17 21:57:03 +01:00
Bram Moolenaar
3aca5a6fbc
patch 8.2.2524: cannot change the characters displayed in the foldcolumn
...
Problem: Cannot change the characters displayed in the foldcolumn.
Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron,
closes #7860 )
2021-02-17 13:14:07 +01:00
Bram Moolenaar
eed9d46293
patch 8.2.2518: 'listchars' should be window-local
...
Problem: 'listchars' should be window-local.
Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
closes #5206 , closes #7850 )
2021-02-15 20:38:25 +01:00
Bram Moolenaar
39f3b14110
patch 8.2.2511: Vim9: cannot use Vim9 script syntax in some places
...
Problem: Vim9: cannot use Vim9 script syntax in some places.
Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
mean ":vim9cmd" instead of ":vim9script".
2021-02-14 12:57:36 +01:00
Bram Moolenaar
a98f8a2305
patch 8.2.2508: cannot change the character displayed in non existing lines
...
Problem: Cannot change the character displayed in non existing lines.
Solution: Add the "eob" item to 'fillchars'. (closes #7832 , closes #3820 )
2021-02-13 18:24:23 +01:00
Bram Moolenaar
942db23c9c
Update runtime files
2021-02-13 18:14:48 +01:00
Bram Moolenaar
4223d43c0f
patch 8.2.2490: 'wrap' option is always reset when starting diff mode
...
Problem: 'wrap' option is always reset when starting diff mode.
Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797 )
2021-02-10 13:18:17 +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
2e5910bfbb
patch 8.2.2455: Vim9: key type for literal dict and indexing is inconsistent
...
Problem: Vim9: key type that can be used for literal dict and indexing is
inconsistent.
Solution: Allow using number and bool as key for a literal dict. (#7771 )
2021-02-03 17:41:24 +01:00
Bram Moolenaar
91478ae49a
patch 8.2.2454: leading space can not be made visible
...
Problem: Leading space can not be made visible.
Solution: Add "lead:" to 'listchars'. (closes #7772 )
2021-02-03 15:58:13 +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
853886722c
patch 8.2.2440: documentation based on patches is outdated
...
Problem: Documentation based on patches is outdated.
Solution: Add changes to documentation in a patch.
2021-01-31 17:03:52 +01:00
Bram Moolenaar
3445320839
patch 8.2.2435: setline() gives an error for some types
...
Problem: setline() gives an error for some types.
Solution: Allow any type, convert each item to a string.
2021-01-31 13:08:38 +01:00
Bram Moolenaar
21829c5f2c
patch 8.2.2415: no way to check for the cmdwin feature
...
Problem: No way to check for the cmdwin feature, cmdline_hist is now always
enabled.
Solution: Add has('cmdwin') support. Skip arglist test on Windows
temporarily.
2021-01-26 22:42:21 +01:00
Bram Moolenaar
e0e3917554
Update runtime files.
2021-01-25 21:14:57 +01:00
Bram Moolenaar
b204990346
patch 8.2.2400: Vim9: compiled functions are not profiled
...
Problem: Vim9: compiled functions are not profiled.
Solution: Add initial changes to profile compiled functions. Fix that a
script-local function was hard to debug.
2021-01-24 12:53:53 +01:00
Bram Moolenaar
57d5a01cb4
patch 8.2.2388: no easy way to get the maximum or mininum number value
...
Problem: No easy way to get the maximum or mininum number value.
Solution: Add v:numbermax and v:numbermin.
2021-01-21 21:42:31 +01:00
Bram Moolenaar
98a29d00a4
Update runtime files.
2021-01-18 19:55:44 +01:00
Bram Moolenaar
e2edc2ed4a
patch 8.2.2366: when using ":sleep" the cursor is always displayed
...
Problem: When using ":sleep" the cursor is always displayed.
Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
closes #7688 )
2021-01-16 20:21:23 +01:00
Bram Moolenaar
681fc3fa78
patch 8.2.2345: no focus events in a terminal
...
Problem: No focus events in a terminal.
Solution: Add the t_fd and t_fe termcap entries and implement detecting
focus events. (Hayaki Saito, Magnus Groß, closes #7673 ,
closes #609 , closes #5526 )
2021-01-14 17:35:21 +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
014f698cb6
patch 8.2.2296: cannot use CTRL-N and CTRL-P in a popup menu
...
Problem: Cannot use CTRL-N and CTRL-P in a popup menu.
Solution: Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614 )
2021-01-04 13:18:30 +01:00
Bram Moolenaar
6797782127
patch 8.2.2291: Vim9: cannot use "null" for v:null
...
Problem: Vim9: cannot use "null" for v:null.
Solution: Support "null" like "true" and "false". (closes #7495 )
2021-01-03 21:53:53 +01:00
Bram Moolenaar
9d19e4f4ba
patch 8.2.2280: fuzzy matching doesn't give access to the scores
...
Problem: Fuzzy matching doesn't give access to the scores.
Solution: Return the scores with a third list. (Yegappan Lakshmanan,
closes #7596 )
2021-01-02 18:31:32 +01:00
Bram Moolenaar
7e6a515ed1
Update runtime files.
2021-01-02 16:39:53 +01:00
Bram Moolenaar
4d8c96d466
patch 8.2.2246: cursor keys not recognized at the hit-Enter prompt
...
Problem: Cursor keys not recognized at the hit-Enter prompt after executing
an external command.
Solution: Change the codes for the extra cursor keys. (closes #7562 )
Tune the delays to avoid test flakyness.
2020-12-29 20:53:33 +01:00
Bram Moolenaar
dcc58e031d
patch 8.2.2239: Vim9: concatenating lines with backslash is inconvenient
...
Problem: Vim9: concatenating lines with backslash is inconvenient.
Solution: Support concatenating lines starting with '|', useful for
:autocmd, :command, etc. (closes #6702 )
2020-12-28 20:53:21 +01:00
Bram Moolenaar
746670604a
patch 8.2.2236: 'scroll' option can change when setting the statusline
...
Problem: 'scroll' option can change when setting the statusline or tabline
but the option context is not updated.
Solution: Update the script context when the scroll option is changed as a
side effect. (Christian Brabandt, closes #7533 )
2020-12-28 15:41:41 +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
cdc40c43f1
patch 8.2.2223: Vim9: Reloading marks a :def function as deleted
...
Problem: Vim9: Reloading marks a :def function as deleted.
Solution: Clear the function contents but keep the index.
2020-12-26 17:43:08 +01:00
Bram Moolenaar
2b32700dab
patch 8.2.2222: Vim9: cannot keep script variables when reloading
...
Problem: Vim9: cannot keep script variables when reloading.
Solution: Add the "noclear" argument to :vim9script.
2020-12-26 15:39:31 +01:00
Bram Moolenaar
65c4415276
patch 8.2.2204: Vim9: using -> both for method and lambda is confusing
...
Problem: Vim9: using -> both for method and lambda is confusing.
Solution: Use => for lambda in :def function.
2020-12-24 15:14:01 +01:00