Bram Moolenaar
d58a3bf7da
Update runtime files.
2020-09-28 21:48:16 +02:00
Bram Moolenaar
30fd8204ce
patch 8.2.1744: Vim9: using ":const!" is weird
...
Problem: Vim9: using ":const!" is weird.
Solution: Use "var" - "final" - "const" like Dart. "let" still works for
now.
2020-09-26 15:09:30 +02:00
Bram Moolenaar
6a33ef0deb
patch 8.2.1741: pathshorten() only supports using one character
...
Problem: pathshorten() only supports using one character.
Solution: Add an argument to control the length. (closes #7006 )
2020-09-25 22:42:48 +02:00
Bram Moolenaar
99ca9c4868
patch 8.2.1727: a popup created with "cursorline" will ignore "firstline"
...
Problem: A popup created with "cursorline" will ignore "firstline".
Solution: When both "cursorline" and "firstline" are present put the cursor
on "firstline". (closes #7000 ) Add the "winid" argument to
getcurpos().
2020-09-22 21:55:41 +02: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
1d59aa1fdf
Update runtime files.
2020-09-19 18:50:13 +02:00
Bram Moolenaar
213da551de
patch 8.2.1703: ":highlight clear" does not restore default link
...
Problem: ":highlight clear" does not restore default link.
Solution: Remember the default link and restore it. (Antony Scriven,
closes #6970 , closes #4405 )
2020-09-17 19:59:26 +02:00
Bram Moolenaar
a187c43cfe
patch 8.2.1698: cannot lock a variable in legacy Vim script like in Vim9
...
Problem: Cannot lock a variable in legacy Vim script like in Vim9.
Solution: Make ":lockvar 0" work.
2020-09-16 21:08:28 +02:00
Bram Moolenaar
0b4c66c67a
patch 8.2.1685: Vim9: cannot declare a constant value
...
Problem: Vim9: cannot declare a constant value.
Solution: Introduce ":const!".
2020-09-14 21:39:44 +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
57ad94c5a9
patch 8.2.1635: no digraph for 0x2022 BULLET
...
Problem: No digraph for 0x2022 BULLET.
Solution: Use "oo". (Hans Ginzel, closes #6904 )
2020-09-08 19:06:30 +02:00
Bram Moolenaar
1c6737b20a
Update runtime files.
2020-09-07 22:18:52 +02:00
Bram Moolenaar
9bd5d879c2
patch 8.2.1631: test_fails() does not check the context of the line number
...
Problem: test_fails() does not check the context of the line number.
Solution: Use another argument to specify the context of the line number.
2020-09-06 21:47:48 +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
39f7aa3c31
patch 8.2.1556: cursorline highlighting always overrules sign highlighting
...
Problem: Cursorline highlighting always overrules sign highlighting.
Solution: Combine the highlighting, use the priority to decide how.
(closes #6812 )
2020-08-31 22:00:05 +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
6c53fca023
patch 8.2.1517: cannot easily get the character under the cursor
...
Problem: Cannot easily get the character under the cursor.
Solution: Add the {chars} argument to strpart().
2020-08-23 17:34:46 +02:00
Bram Moolenaar
1d634542cf
patch 8.2.1479: Vim9: error for list index uses wrong line number
...
Problem: Vim9: error for list index uses wrong line number.
Solution: Set source line number. (closes #6724 ) Add a way to assert the
line number of the error with assert_fails().
2020-08-18 13:41:50 +02:00
Bram Moolenaar
021bda5671
patch 8.2.1473: items in a list given to :const can still be modified
...
Problem: Items in a list given to :const can still be modified.
Solution: Work like ":lockvar! name" but don't lock referenced items.
Make locking a blob work.
2020-08-17 21:07:22 +02:00
Bram Moolenaar
3d1cde8a2f
Update runtime files.
2020-08-15 18:55:18 +02:00
Bram Moolenaar
e3c37d8ebf
patch 8.2.1461: Vim9: string indexes are counted in bytes
...
Problem: Vim9: string indexes are counted in bytes.
Solution: Use character indexes. (closes #6574 )
2020-08-15 18:39:05 +02:00
Bram Moolenaar
b96a32ef1a
patch 8.2.1439: tiny and small builds have no test coverage
...
Problem: Tiny and small builds have no test coverage.
Solution: Restore tests that do not depend on the +eval feature.
(Ken Takata, closes #6696 )
2020-08-13 18:59:55 +02:00
Bram Moolenaar
418f1df547
patch 8.2.1435: Vim9: always converting to string for ".." leads to mistakes
...
Problem: Vim9: always converting to string for ".." leads to mistakes.
Solution: Only automatically convert simple types.
2020-08-12 21:34:49 +02:00
Bram Moolenaar
f7c4d83609
patch 8.2.1420: test 49 is old style
...
Problem: Test 49 is old style.
Solution: Convert remaining parts to new style. Remove obsolete items.
(Yegappan Lakshmanan, closes #6683 )
2020-08-11 20:42:19 +02:00
Bram Moolenaar
94f4ffa770
patch 8.2.1413: previous tab page not usable from an Ex command
...
Problem: Previous tab page not usable from an Ex command.
Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan,
closes #6677 )
2020-08-10 19:21:15 +02:00
Bram Moolenaar
64d662d5fc
patch 8.2.1408: Vim9: type casting not supported
...
Problem: Vim9: type casting not supported.
Solution: Introduce type casting.
2020-08-09 19:02:50 +02:00
Bram Moolenaar
127542bceb
patch 8.2.1407: Vim9: type of list and dict only depends on first item
...
Problem: Vim9: type of list and dict only depends on first item.
Solution: Use all items to decide about the type.
2020-08-09 17:22:04 +02:00
Bram Moolenaar
62a232506d
patch 8.2.1401: cannot jump to the last used tabpage
...
Problem: Cannot jump to the last used tabpage.
Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661 ,
neovim #11626 )
2020-08-09 14:04:42 +02:00
Bram Moolenaar
e7b1ea0276
Update runtime files.
2020-08-07 19:54:59 +02:00
Bram Moolenaar
aa970abd0a
patch 8.2.1354: test 59 is old style
...
Problem: Test 59 is old style.
Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604 )
2020-08-02 16:10:39 +02:00
Bram Moolenaar
909443028b
patch 8.2.1347: cannot easily get the script ID
...
Problem: Cannot easily get the script ID.
Solution: Support expand('<SID>').
2020-08-01 20:45:11 +02:00
Bram Moolenaar
f5a48010ef
patch 8.2.1342: Vim9: accidentally using "t" gives a confusing error
...
Problem: Vim9: accidentally using "x" gives a confusing error.
Solution: Disallow using ":t" in Vim9 script. (issue #6399 )
2020-08-01 17:00:03 +02:00
Bram Moolenaar
ea2d8d2571
patch 8.2.1325: Vim9: using Vim9 script for autaload not tested
...
Problem: Vim9: using Vim9 script for autaload not tested.
Solution: Add a test. Update help.
2020-07-29 22:11:05 +02:00
Bram Moolenaar
ae616494d7
patch 8.2.1308: Vim9: accidentally using "x" causes Vim to exit
...
Problem: Vim9: accidentally using "x" causes Vim to exit.
Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399 )
2020-07-28 20:07:27 +02:00
Bram Moolenaar
2547aa930b
Update runtime files.
2020-07-26 17:00:44 +02:00
Bram Moolenaar
a5d0423fa1
patch 8.2.1297: when a test fails it's often not easy to see where
...
Problem: When a test fails it's often not easy to see what the call stack
is.
Solution: Add more entries from the call stack in the exception message.
2020-07-26 15:37:02 +02:00
Bram Moolenaar
d43906d2e5
patch 8.2.1255: cannot use a lambda with quickfix functions
...
Problem: Cannot use a lambda with quickfix functions.
Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499 )
2020-07-20 21:31:32 +02:00
Bram Moolenaar
6434fc574d
patch 8.2.1241: cannot use getbufinfo() as a method
...
Problem: Cannot use getbufinfo() as a method.
Solution: Support using getbufinfo() as a method. (closes #6458 )
2020-07-18 22:24:22 +02:00
Bram Moolenaar
447bfba24b
patch 8.2.1237: changing 'completepopup' after opening popup has no effect
...
Problem: Changing 'completepopup' after opening a popup has no effect. (Jay
Sitter)
Solution: Close the popup when the options are changed. (closes #6471 )
2020-07-18 16:07:16 +02:00
Bram Moolenaar
f5be8cdb77
patch 8.2.1227: Vim9: allowing both quoted and # comments is confusing
...
Problem: Vim9: allowing both quoted and # comments is confusing.
Solution: Only support # comments in Vim9 script.
2020-07-17 20:36:00 +02:00
Bram Moolenaar
e3f915d12c
patch 8.2.1215: Atari MiNT support is outdated
...
Problem: Atari MiNT support is outdated.
Solution: Nobody responded this code is still useful, so let's delete it.
2020-07-14 23:02:44 +02:00
Bram Moolenaar
9b7bf9e98f
patch 8.2.1183: assert_fails() checks the last error message
...
Problem: assert_fails() checks the last error message.
Solution: Check the first error, it is more relevant. Fix all the tests
that rely on the old behavior.
2020-07-11 22:14:59 +02:00
Bram Moolenaar
7ff78465f7
Update runtime files
2020-07-10 22:00:53 +02:00
Bram Moolenaar
08fc48492a
patch 8.2.1172: error messages when doing "make clean" in doc or tee
...
Problem: Error messages when doing "make clean" in the runtime/doc or
src/tee directories.
Solution: Use "rm -f".
2020-07-10 20:40:23 +02:00
Bram Moolenaar
ae97b94176
patch 8.2.1166: once mouse move events are enabled getchar() returns them
...
Problem: Once mouse move events are enabled getchar() returns them.
Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424 )
2020-07-09 19:16:35 +02:00
Bram Moolenaar
3f40ce78f5
patch 8.2.1128: the write message mentions characters, but it's bytes
...
Problem: The write message mentions characters, but it's actually bytes.
Solution: Change "C" to "B" and "characters" to "bytes".
2020-07-05 14:10:13 +02:00
Bram Moolenaar
ef8c617b9c
patch 8.2.1107: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI
...
Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI.
Solution: Adjust the #ifdefs. (closes #6367 )
2020-07-01 15:12:44 +02:00