Bram Moolenaar [Thu, 20 Oct 2022 19:15:47 +0000 (20:15 +0100)]
patch 9.0.0807: with 'smoothscroll' typing "0" may not go to the first column
Problem: With 'smoothscroll' typing "0" may not go to the first column.
Solution: Recompute w_cline_height when needed. Do not scroll up when it
would move the cursor.
zeertzjq [Thu, 20 Oct 2022 16:59:38 +0000 (17:59 +0100)]
patch 9.0.0806: 'langmap' works differently when there are modifiers
Problem: 'langmap' works differently when there are modifiers.
Solution: Only apply 'langmap' to a character where modifiers have no
effect. (closes #11395, closes #11404)
Bram Moolenaar [Wed, 19 Oct 2022 19:07:09 +0000 (20:07 +0100)]
patch 9.0.0801: the modifyOtherKeys flag is set when it should not
Problem: The modifyOtherKeys flag is set when it should not.
Solution: Do not handle special key codes with a modifer value above 16 as a
modifyOtherKeys value. (issue #11403)
patch 9.0.0793: MS-Windows: mouse scroll events only work with the dll
Problem: MS-Windows: mouse scroll events only work with the dll.
Solution: Accept CSI codes for MS-Windows without the GUI. (Christopher
Plewright, closes #11401)
Trygve Aaberge [Tue, 18 Oct 2022 18:22:25 +0000 (19:22 +0100)]
patch 9.0.0791: at the hit-Enter prompt the End and Home keys may not work
Problem: At the hit-Enter prompt the End and Home keys may not work.
Solution: Use the special "@" code for End and Home, like it was done for
the cursor keys in patch 8.2.2246. (Trygve Aaberge, closes #11396)
Bram Moolenaar [Tue, 18 Oct 2022 14:10:11 +0000 (15:10 +0100)]
patch 9.0.0788: ModeChanged autocmd not executed when Visual ends with CTRL-C
Problem: ModeChanged autocmd not executed when Visual mode is ended with
CTRL-C.
Solution: Do not trigger the autocmd when got_int is set. (closes #11394)
patch 9.0.0787: mouse scrolling in terminal misbehaves without dll
Problem: MS-Windows: mouse scrolling in terminal misbehaves without dll.
Solution: Add #ifdef as a temporary solution. (Christopher Plewright,
closes #11392)
Bram Moolenaar [Mon, 17 Oct 2022 17:55:03 +0000 (18:55 +0100)]
patch 9.0.0784: text prop "above" not right with 'number' and "n" in 'cpo'
Problem: Text prop "above" not displayed correctly with 'number' and "n" in
'cpo'.
Solution: Draw the line number column until the line text is reached.
Bram Moolenaar [Mon, 17 Oct 2022 17:00:23 +0000 (18:00 +0100)]
patch 9.0.0783: ":!" doesn't do anything but does update the previous command
Problem: ":!" doesn't do anything but does update the previous command.
Solution: Do not have ":!" change the previous command. (Martin Tournoij,
closes #11372)
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)