Luuk van Baal
13ece2ae1d
patch 9.0.0647: the 'splitscroll' option is not a good name
...
Problem: The 'splitscroll' option is not a good name.
Solution: Rename 'splitscroll' to 'splitkeep' and make it a string option,
also supporting "topline". (Luuk van Baal, closes #11258 )
2022-10-03 15:28:08 +01:00
Bram Moolenaar
6b2d4ff714
patch 9.0.0646: with 'smoothscroll' CTRL-E is wrong when 'foldmethod' set
...
Problem: with 'smoothscroll' set CTRL-E does not work properly when
'foldmethod' is set to "indent". (Yee Cheng Chin)
Solution: Merge the code for scroling with folds and 'smoothscroll'.
(closes #11262 )
2022-10-03 14:06:02 +01:00
Bram Moolenaar
8df9748edb
patch 9.0.0645: CTRL-Y does not stop at line 1
...
Problem: CTRL-Y does not stop at line 1. (John Marriott)
Solution: Stop at line 1 when 'smoothscroll' is not set. (closes #11261 )
2022-10-03 12:11:13 +01:00
Bram Moolenaar
b1fd26d208
patch 9.0.0644: 'smoothscroll' is not copied to a new window on :split
...
Problem: 'smoothscroll' is not copied to a new window on :split.
Solution: Copy the option value. Add a test.
2022-10-03 11:23:02 +01:00
Bram Moolenaar
f6196f4244
patch 9.0.0640: cannot scroll by screen line if a line wraps
...
Problem: Cannot scroll by screen line if a line wraps.
Solution: Add the 'smoothscroll' option. Only works for CTRL-E and CTRL-Y
so far.
2022-10-02 21:29:55 +01:00
Bram Moolenaar
393f8d61f5
patch 9.0.0638: popup menu highlight wrong on top of preview popup
...
Problem: Popup menu highlight wrong on top of preview popup. (Yegappan
Lakshmanan)
Solution: Also check for the popup menu in screen_line().
2022-10-02 14:28:30 +01:00
Bram Moolenaar
eda29c971c
patch 9.0.0637: syntax of commands in Vim9 script depends on +eval feature
...
Problem: Syntax of commands in Vim9 script depends on +eval feature.
Solution: Use same syntax with and without the +eval feature.
2022-10-02 12:59:00 +01:00
Bram Moolenaar
87b4e5c5db
patch 9.0.0632: calling a function from an "expr" option has overhead
...
Problem: Calling a function from an "expr" option has too much overhead.
Solution: Add call_simple_func() and use it for 'foldexpr'
2022-10-01 15:32:46 +01:00
Bram Moolenaar
145d1fd910
patch 9.0.0631: too many delete() calls in tests
...
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
2022-09-30 21:57:11 +01:00
Bram Moolenaar
cfb4d4f312
patch 9.0.0630: in Vim9 script a numbered function cannot be called
...
Problem: In Vim9 script a numbered function cannot be called.
Solution: Do not require "g:" before a numbered function name.
(closes #11254 )
2022-09-30 19:19:04 +01:00
Bram Moolenaar
a5d1a67bee
patch 9.0.0629: get an error for using const only when executing
...
Problem: Get an error for using const only when executing.
Solution: Check for const at compile time for filter(), map(), remove(),
reverse(), sort() and uniq().
2022-09-30 17:57:47 +01:00
Bram Moolenaar
6586a01514
patch 9.0.0627: "const" and "final" both make the type a constant
...
Problem: "const" and "final" both make the type a constant. (Daniel
Steinberg)
Solution: Only have "const" make the type a constant.
2022-09-30 11:04:50 +01:00
Bram Moolenaar
b152b6a40f
patch 9.0.0626: too many delete() calls in tests
...
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
2022-09-29 21:37:33 +01:00
Bram Moolenaar
7dd5a78b88
patch 9.0.0625: too many delete() calls in tests
...
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
2022-09-29 21:01:57 +01:00
Bram Moolenaar
fa1039760e
patch 9.0.0623: error for modifying a const is not detected at compile time
...
Problem: Error for modifying a const is not detected at compile time.
Solution: Add TTFLAG_CONST and check for it in add() and extend().
2022-09-29 19:14:42 +01:00
Bram Moolenaar
9f573a8df0
patch 9.0.0622: matchaddpos() can get slow when adding many matches
...
Problem: matchaddpos() can get slow when adding many matches.
Solution: Update the next available match ID when manually picking an ID and
remove check if the available ID can be used. (idea by Rick Howe)
2022-09-29 13:50:08 +01:00
Dominique Pelle
fc06cda837
patch 9.0.0621: filetype test leaves file behind
...
Problem: Filetype test leaves file behind.
Solution: Add deferred delete flag to writefile(). (Dominique Pellé,
closes #11249 )
2022-09-29 13:07:18 +01:00
Bram Moolenaar
50faf02f43
patch 9.0.0620: matchaddpos() can only add up to 8 matches
...
Problem: matchaddpos() can only add up to 8 matches.
Solution: Allocate the array of positions. (closes #11248 )
2022-09-29 12:50:17 +01:00
Bram Moolenaar
572a4433c8
patch 9.0.0619: too many delete() calls in tests
...
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
2022-09-28 21:07:03 +01:00
Bram Moolenaar
371951d0c3
patch 9.0.0616: spell test fails because error message changed
...
Problem: Spell test fails because error message changed.
Solution: Adjust expected error message.
2022-09-28 14:08:23 +01:00
Bram Moolenaar
52df40eb04
patch 9.0.0615: using reduce() on a list from range() is a bit slow
...
Problem: Using reduce() on a list from range() is a bit slow.
Solution: Avoid materializing the list.
2022-09-28 13:22:59 +01:00
Bram Moolenaar
ef976323e7
patch 9.0.0614: SpellFileMissing autocmd may delete buffer
...
Problem: SpellFileMissing autocmd may delete buffer.
Solution: Disallow deleting the current buffer to avoid using freed memory.
2022-09-28 11:48:30 +01:00
Dominique Pelle
caa1d19da1
patch 9.0.0613: running source tests leaves file behind
...
Problem: Running source tests leaves file behind.
Solution: Add the "D" flag to writefile(). (Dominique Pellé, closes #11243 )
Also do this for other writefile() calls and drop delete().
2022-09-28 10:45:15 +01:00
Bram Moolenaar
47da934844
patch 9.0.0612: blockedit test passes with wrong result
...
Problem: Blockedit test passes with wrong result.
Solution: Add a "vim9script" line to make indenting work.
2022-09-27 22:18:13 +01:00
Bram Moolenaar
70e672580b
patch 9.0.0611: tests delete files with a separate delete() call
...
Problem: Tests delete files with a separate delete() call.
Solution: Use deferred delete.
2022-09-27 19:34:35 +01:00
Bram Moolenaar
859ea4bc76
patch 9.0.0610: global interrupt test fails when run under valgrind
...
Problem: Global interrupt test fails when run under valgrind.
Solution: Use TermWait().
2022-09-27 18:05:38 +01:00
Bram Moolenaar
66000ff9af
patch 9.0.0609: blockedit test fails because of wrong indent
...
Problem: Blockedit test fails because of wrong indent.
Solution: Adjust the expected text temporarily
2022-09-27 17:47:12 +01:00
Bram Moolenaar
26f09ea54b
patch 9.0.0608: with spelling, deleting a full stop does not update next line
...
Problem: With spell checking, deleting a full stop at the end of a line
does not update SpellCap at the start of the next line.
Solution: Update the next line when characters have been deleted. Also when
using undo.
2022-09-27 16:29:38 +01:00
Bram Moolenaar
f802767df7
patch 9.0.0607: verbose echo message test fails on Mac OS
...
Problem: Verbose echo message test fails on Mac OS.
Solution: Skip the test on Mac OS.
2022-09-27 15:55:43 +01:00
Luuk van Baal
439a2ba174
patch 9.0.0605: dump file missing
...
Problem: Dump file missing.
Solution: Add the missing dump file. (issue #11234 )
2022-09-27 15:06:46 +01:00
ObserverOfTime
49c311c9b1
patch 9.0.0604: luacheckrc file is not recognized
...
Problem: Luacheckrc file is not recognized.
Solution: Use lua filetype for luacheckrc. (closes #11236 )
2022-09-27 13:07:05 +01:00
Luuk van Baal
7c1cbb6cd4
patch 9.0.0603: with 'nosplitscroll' folds are not handled correctly
...
Problem: With 'nosplitscroll' folds are not handled correctly.
Solution: Take care of closed folds when moving the cursor. (Luuk van Baal,
closes #11234 )
2022-09-27 12:31:15 +01:00
rhysd
7fc6c0e4da
patch 9.0.0602: new TypeScript extensions are not recognized
...
Problem: New TypeScript extensions are not recognized.
Solution: Recognize .mts and .cts files. (closes #11237 )
2022-09-27 11:57:13 +01:00
ObserverOfTime
d324742292
patch 9.0.0600: GYP files are not recognized
...
Problem: GYP files are not recognized.
Solution: Recognize GYP files. (closes #11242 )
2022-09-27 11:35:09 +01:00
ObserverOfTime
cde0319385
patch 9.0.0599: latexmkrc files are not recognized
...
Problem: Latexmkrc files are not recognized.
Solution: Use Perl filetype for latexmkrc files. (closes #11241 )
2022-09-27 11:27:23 +01:00
Bram Moolenaar
8279af514c
patch 9.0.0598: using negative array index with negative width window
...
Problem: Using negative array index with negative width window.
Solution: Make sure the window width does not become negative.
2022-09-26 23:08:22 +01:00
Bram Moolenaar
1190139ed0
patch 9.0.0595: extra newline in messages after a verbose shell message
...
Problem: Extra newline in messages after a verbose shell message.
Solution: Output the newline with msg_putchar_attr(). (closes #11233 )
Make it possible to filter a screendump before comparing it.
2022-09-26 19:50:44 +01:00
Bram Moolenaar
838b746cce
patch 9.0.0592: display not cleared when scrolling back in messages
...
Problem: Display not cleared when scrolling back in messages, a background
color is set and t_ut is empty.
Solution: Clear to the end of the display if needed. (closes #8973 )
2022-09-26 15:19:56 +01:00
Bram Moolenaar
4569020538
patch 9.0.0591: message window popup shows on only one tab page
...
Problem: Message window popup shows on only one tab page. (Naruhiko
Nishino)
Solution: Show the message window popup on all tab pages. (closes #11231 )
2022-09-26 12:57:11 +01:00
Bram Moolenaar
ee09fcc9b6
patch 9.0.0590: after exiting Insert mode spelling not checked in next line
...
Problem: After exiting Insert mode spelling is not checked in the next
line.
Solution: When spelling is enabled redraw the next line after exiting Insert
mode in case the spell highlight needs updating.
2022-09-25 20:58:30 +01:00
Bram Moolenaar
124af71a28
patch 9.0.0586: missing change in test
...
Problem: Missing change in test.
Solution: Add the test change.
2022-09-25 18:44:03 +01:00
Bram Moolenaar
6a879878f4
patch 9.0.0585: when long message test fails the error message is not visible
...
Problem: When long message test fails the error message is not visible.
Solution: Dump more lines.
2022-09-25 18:41:14 +01:00
Bram Moolenaar
dc21552c9a
patch 9.0.0584: cscope test with wrong executable name fails
...
Problem: Cscope test with wrong executable name fails.
Solution: Use /bin/sh to execute the command. (Yegappan Lakshmanan)
2022-09-25 17:03:26 +01:00
Bram Moolenaar
b9725bc7f6
patch 9.0.0583: only recognizing .m3u8 files is inconsistent
...
Problem: Only recognizing .m3u8 files is inconsistent.
Solution: Also matc .m3u files. (issue #11204 )
2022-09-25 12:35:49 +01:00
Bram Moolenaar
ec1238b406
patch 9.0.0582: channel cwd test fails on Cirrus CI
...
Problem: Channel cwd test fails on Cirrus CI.
Solution: Also remove /private from the expected directory.
2022-09-25 11:21:04 +01:00
Bram Moolenaar
0ff01835a4
patch 9.0.0579: using freed memory when 'tagfunc' wipes out buffer
...
Problem: Using freed memory when 'tagfunc' wipes out buffer that holds
'complete'.
Solution: Make a copy of the option. Make sure cursor position is valid.
2022-09-24 19:20:30 +01:00
Bram Moolenaar
865bf2ed30
patch 9.0.0578: one timer test fails on Mac M1
...
Problem: One timer test fails on Mac M1.
Solution: Skip the test on Mac M1.
2022-09-24 17:44:22 +01:00
Bram Moolenaar
96b9bf8f74
patch 9.0.0577: buffer underflow with unexpected :finally
...
Problem: Buffer underflow with unexpected :finally.
Solution: Check CSF_TRY can be found.
2022-09-24 17:24:12 +01:00
Bram Moolenaar
140f6d0eda
patch 9.0.0574: timer garbage collect test hangs on Mac M1
...
Problem: Timer garbage collect test hangs on Mac M1.
Solution: Properly check for Mac M1 and skip the test.
2022-09-24 14:49:07 +01:00
zeertzjq
75f4bafabd
patch 9.0.0572: insert complete tests leave a mapping behind
...
Problem: Insert complete tests leave a mapping behind.
Solution: Use a buffer-local mapping. (closes #11211 )
2022-09-24 14:08:23 +01:00