h-east [Tue, 21 Feb 2023 13:33:17 +0000 (13:33 +0000)]
patch 9.0.1335: no test for bad use of spaces in help files
Problem: No test for bad use of spaces in help files.
Solution: Add checks for use of spaces in help files. Ignore intentional
spaces. (Hirohito Higashi, closes #11952)
zeertzjq [Mon, 20 Feb 2023 15:25:13 +0000 (15:25 +0000)]
patch 9.0.1332: crash when using buffer-local user command in cmdline window
Problem: Crash when using buffer-local user command in cmdline window.
(Karl Yngve LervÄg)
Solution: Use the right buffer to find the user command. (closes #12030,
closes #12029)
Bram Moolenaar [Sun, 19 Feb 2023 18:36:41 +0000 (18:36 +0000)]
patch 9.0.1327: cursor in wrong position below line with virtual text below
Problem: Cursor in wrong position below line with virtual text below ending
in multi-byte character.
Solution: When checking for last character take care of multi-byte
character.
Bram Moolenaar [Sun, 19 Feb 2023 14:34:37 +0000 (14:34 +0000)]
patch 9.0.1326: relative line number not updated with virtual text above
Problem: Relative line number not updated with virtual text above.
Solution: Adjust the row for the line number for virtual text above.
(closes #12004)
Luuk van Baal [Sat, 18 Feb 2023 20:15:44 +0000 (20:15 +0000)]
patch 9.0.1324: "gj" and "gk" do not move correctly over a closed fold
Problem: "gj" and "gk" do not move correctly over a closed fold.
Solution: Use the same code as used for "j"/"k" to go to the next/previous
line. (Luuk van Baal, closes #12007)
Bram Moolenaar [Sat, 18 Feb 2023 18:38:37 +0000 (18:38 +0000)]
patch 9.0.1322: crash when indexing "any" which is an object
Problem: Crash when indexing "any" which is an object.
Solution: Check the index is a number. Do not check the member type of an
object. (closes #12019)
Bram Moolenaar [Sat, 18 Feb 2023 14:42:44 +0000 (14:42 +0000)]
patch 9.0.1320: checking the type of a null object causes a crash
Problem: Checking the type of a null object causes a crash.
Solution: Don't try to get the class of a null object. (closes #12005)
Handle error from calling a user function better.
patch 9.0.1316: MS-Windows: vimfiles dir created with admin group
Problem: MS-Windows: vimfiles dir created with admin group.
Solution: Use ShellExecAsUser to create the vimfiles directory. (Christopher
Plewright, Ken Takata, closes #12000, closes #11888)
cero1988 [Thu, 16 Feb 2023 15:03:12 +0000 (15:03 +0000)]
patch 9.0.1314: :messages behavior depends on 'fileformat' of current buffer
Problem: :messages behavior depends on 'fileformat' of current buffer.
Solution: Pass the buffer pointer to where it is used. (Mirko Ceroni,
closes #11995)
Luuk van Baal [Wed, 15 Feb 2023 16:45:27 +0000 (16:45 +0000)]
patch 9.0.1312: Cursor position wrong when splitting window in insert mode
Problem: Cursor position wrong when splitting window in insert mode.
Solution: Pass the actual mode to win_fix_cursor(). (Luuk van Baal,
closes #11999,
Bram Moolenaar [Sun, 12 Feb 2023 14:42:15 +0000 (14:42 +0000)]
patch 9.0.1304: "$" for 'list' option displayed in wrong position
Problem: "$" for 'list' option displayed in wrong position when there are
text properties.
Solution: Adjust logic for order of displayed items. (closes #11959)
K.Takata [Fri, 10 Feb 2023 21:38:44 +0000 (21:38 +0000)]
patch 9.0.1298: inserting register on the cmdline does not trigger incsearch
Problem: Inserting a register on the command line does not trigger
incsearch or update hlsearch.
Solution: Have cmdline_insert_reg() return CMDLINE_CHANGED when appropriate
and handle it correctly. (Ken Takata, closes #11960)
Bram Moolenaar [Fri, 10 Feb 2023 15:52:25 +0000 (15:52 +0000)]
patch 9.0.1296: calling an object method with arguments does not work
Problem: Calling an object method with arguments does not work. (Ernie
Rael)
Solution: Take the argument count into account when looking up the object.
(closes #11911)
Bram Moolenaar [Wed, 8 Feb 2023 20:55:27 +0000 (20:55 +0000)]
patch 9.0.1292: :defer may call the wrong method for an object
Problem: :defer may call the wrong method for an object. (Ernie Rael)
Solution: When en object is from a class that extends or implements, figure
out the method to call at runtime. (closes #11910)
patch 9.0.1283: the code for setting options is too complicated
Problem: The code for setting options is too complicated.
Solution: Refactor the do_set() function. (Yegappan Lakshmanan, Lewis
Russell, closes #11945)
patch 9.0.1275: the code for setting options is too complicated
Problem: The code for setting options is too complicated.
Solution: Refactor the do_set() function. (Yegappan Lakshmanan, Lewis
Russell, closes #11932)
Mark Skelton [Tue, 31 Jan 2023 18:57:17 +0000 (18:57 +0000)]
patch 9.0.1268: .clangd and .stylelintrc files don't get a filetype
Problem: .clangd and .stylelintrc files don't get a filetype.
Solution: Use yaml for .clangd and json for .stylelintrc files. (Mark
Skelton, closes #11916)
patch 9.0.1267: the did_set_string_option function is too long
Problem: The did_set_string_option function is too long.
Solution: Further cleanup of handling string options. (Yegappan Lakshmanan,
Lewis Russell, closes #11920)
patch 9.0.1262: the did_set_string_option function is too long
Problem: The did_set_string_option function is too long.
Solution: Split off functionality to individual functions. (Yegappan
Lakshmanan, Lewis Russell, closes #11904)
patch 9.0.1252: MS-Windows: scrollback cropped off on Vim exit
Problem: MS-Windows: scrollback cropped off on Vim exit.
Solution: Don't call SetConsoleScreenBufferInfoEx when using the alternate
screen buffer. (Christopher Plewright, closes #11882)
Bram Moolenaar [Wed, 25 Jan 2023 17:34:41 +0000 (17:34 +0000)]
patch 9.0.1244: cursor displayed in wrong position when leaving Insert mode
Problem: Cursor briefly displayed in a wrong position when pressing Esc in
Insert mode after autoindent was used.
Solution: Do not adjust the cursor position for assumed deleted white space
if text is following. (closes #11877)
Bram Moolenaar [Tue, 24 Jan 2023 15:07:04 +0000 (15:07 +0000)]
patch 9.0.1240: cannot access a private object member in a lambda
Problem: Cannot access a private object member in a lambda defined inside
the class.
Solution: Go up the context stack to find the class. (closes #11866)
zeertzjq [Tue, 24 Jan 2023 12:34:03 +0000 (12:34 +0000)]
patch 9.0.1238: :runtime completion can be further improved
Problem: :runtime completion can be further improved.
Solution: Also complete the {where} argument values and adjust the
completion for that. (closes #11874)