patch 9.0.0753: some Ex commands are not in the help index
Problem: Some Ex commands are not in the help index.
Solution: Add the missing commands. Add a script to check all Ex commands
are in the help index. (Yee Cheng Chin, closes #11371)
Bram Moolenaar [Thu, 13 Oct 2022 20:54:28 +0000 (21:54 +0100)]
patch 9.0.0746: breakindent test cases are commented out
Problem: Breakindent test cases are commented out.
Solution: Adjust expected result to slightly different behavior. Correct
computations for cursor position.
Bram Moolenaar [Thu, 13 Oct 2022 19:23:28 +0000 (20:23 +0100)]
patch 9.0.0745: wrong cursor position when using "gj" and "gk" in a long line
Problem: Wrong cursor position when using "gj" and "gk" in a long line.
Solution: Adjust computations for the cursor position and skipcol. Re-enable
tests that pass now, disable failing breakindent test.
Bram Moolenaar [Thu, 13 Oct 2022 16:47:42 +0000 (17:47 +0100)]
patch 9.0.0744: in script in autoload dir exported variable is not found
Problem: In script in autoload dir exported variable is not found. (Doug
Kearns)
Solution: Find the variable with the "script#" prefix. (closes #11361)
patch 9.0.0739: mouse column not correctly used for popup_setpos
Problem: Mouse column not correctly used for popup_setpos.
Solution: Adjust off-by-one error and handle Visual line selection properly.
(Yee Cheng Chin, closes #11356)
Bram Moolenaar [Thu, 13 Oct 2022 11:30:08 +0000 (12:30 +0100)]
patch 9.0.0737: Lisp word only recognized when a space follows
Problem: Lisp word only recognized when a space follows.
Solution: Also match a word at the end of a line. Rename the test. Use a
compiled function to avoid backslashes.
patch 9.0.0736: quickfix listing does not handle very long messages
Problem: Quickfix listing does not handle very long messages.
Solution: Use a growarray instead of a fixed size buffer. (Yegappan
Lakshmanan, closes #11357)
Bram Moolenaar [Wed, 12 Oct 2022 18:53:38 +0000 (19:53 +0100)]
patch 9.0.0734: cursor position invalid when scrolling with 'smoothscroll'
Problem: Cursor position invalid when scrolling with 'smoothscroll' set.
(Ernie Rael)
Solution: Add w_valid_skipcol and clear flags when it changes. Adjust
w_skipcol after moving the cursor.
Bram Moolenaar [Tue, 11 Oct 2022 20:41:25 +0000 (21:41 +0100)]
patch 9.0.0726: looping over list of lists works in script, not in function
Problem: Looping over list of lists and changing the list contents works in
Vim9 script, not in a compiled function.
Solution: Mark the loop variable final instead of const. (closes #11347)
Bram Moolenaar [Tue, 11 Oct 2022 20:02:09 +0000 (21:02 +0100)]
patch 9.0.0725: virtual text "after" wraps to next line when 'wrap' is off
Problem: Virtual text "after" wraps to next line even when 'wrap' is off
and 'list' is set.
Solution: Do not use the minimum width when 'wrap' is off. (issue #11336)
Bram Moolenaar [Tue, 11 Oct 2022 19:04:09 +0000 (20:04 +0100)]
patch 9.0.0724: closure in compiled function gets same variable in block
Problem: Closure in compiled function gets same variable in block.
Solution: At the end of a block to not always reset the variable count.
(issue #11094)
Bram Moolenaar [Mon, 10 Oct 2022 20:10:03 +0000 (21:10 +0100)]
patch 9.0.0718: extra empty line between two virtual text "below"
Problem: Extra empty line between two virtual text "below" when 'wrap' and
'number' are set.
Solution: Reset "before" when there is no text in the screen line.
(closes #11334)
Bram Moolenaar [Mon, 10 Oct 2022 18:50:42 +0000 (19:50 +0100)]
patch 9.0.0716: with 'nowrap' virtual text "after" does not scroll left
Problem: With 'nowrap' virtual text "after" does not scroll left.
Solution: Skip part of the virtual text that is left of the window.
(closes #11320) Fix going beyond the last column of the window.
Bram Moolenaar [Mon, 10 Oct 2022 15:08:16 +0000 (16:08 +0100)]
patch 9.0.0715: wrong argument for append() gives two error messages
Problem: Wrong argument for append() gives two error messages.
Solution: When getting an error for a number argument don't try using it as
a string. (closes #11335)
Bram Moolenaar [Mon, 10 Oct 2022 14:40:04 +0000 (15:40 +0100)]
patch 9.0.0714: with 'nowrap' two virtual text below not displayed correctly
Problem: With 'nowrap' two virtual text below not displayed correctly.
Solution: Set text_prop_follows before continuing. Correct for number
column. (closes #11333)
Bram Moolenaar [Mon, 10 Oct 2022 11:42:57 +0000 (12:42 +0100)]
patch 9.0.0712: wrong column when calling setcursorcharpos() with zero lnum
Problem: Wrong column when calling setcursorcharpos() with zero lnum.
Solution: Set the line number before calling buf_charidx_to_byteidx().
(closes #11329)
patch 9.0.0710: quitting/unloading/hiding a terminal does not work properly
Problem: Quitting/unloading/hiding a terminal buffer does not always work
properly.
Solution: Avoid that ":q!" leaves an empty buffer behind. ":bunload!" also
kills the job and unloads the buffer. ":hide" does not unload the
buffer. (Yee Cheng Chin, closes #11323)
patch 9.0.0708: :confirm does not work properly for a terminal buffer
Problem: :confirm does not work properly for a terminal buffer.
Solution: Handle :confirm for a terminal buffer differently. (Yee Cheng
Chin, closes #11312)
Bram Moolenaar [Sun, 9 Oct 2022 16:19:27 +0000 (17:19 +0100)]
patch 9.0.0707: with 'smoothscroll' cursor position not adjusted in long line
Problem: With 'smoothscroll' and 'scrolloff' non-zero the cursor position
is not properly adjusted in a long line.
Solution: Move the cursor further up or down in the line.
Martin Tournoij [Sat, 8 Oct 2022 18:26:41 +0000 (19:26 +0100)]
patch 9.0.0700: there is no real need for a "big" build
Problem: There is no real need for a "big" build.
Solution: Move common features to "normal" build, less often used features
to the "huge" build. (Martin Tournoij, closes #11283)
Bram Moolenaar [Sat, 8 Oct 2022 15:41:32 +0000 (16:41 +0100)]
patch 9.0.0697: cursor in wrong position with Visual substitute
Problem: Cursor in wrong position with Visual substitute.
Solution: When restoring 'linebreak' mark the virtual column as invalid.
(closes #11309, closes #11311)
Bram Moolenaar [Fri, 7 Oct 2022 16:26:22 +0000 (17:26 +0100)]
patch 9.0.0687: "export def" does not work in a nested block
Problem: "export def" does not work in a nested block.
Solution: Do not handle "export" with a separate function but in the same
command stack. (closes #11304)
Anton Sharonov [Fri, 7 Oct 2022 15:28:48 +0000 (16:28 +0100)]
patch 9.0.0686: the right ALT key does not work on some MS-Windows keyboards
Problem: The right ALT key does not work on some MS-Windows keyboards.
Solution: Adjust the modifiers based on GetKeyState(). (Anoton Sharonov,
closes #11300)