]>
granicus.if.org Git - vim/log
Yegappan Lakshmanan [Fri, 27 May 2022 17:05:33 +0000 (18:05 +0100)]
patch 8.2.5030: autocmd_add() can only handle one event and pattern
Problem: autocmd_add() can only handle one event and pattern.
Solution: Support a list of events and patterns. (Yegappan Lakshmanan,
closes #10483)
zeertzjq [Fri, 27 May 2022 16:26:55 +0000 (17:26 +0100)]
patch 8.2.5029: "textlock" is always zero
Problem: "textlock" is always zero.
Solution: Remove "textlock" and rename "textwinlock" to "textlock".
(closes #10489)
Bram Moolenaar [Fri, 27 May 2022 14:35:28 +0000 (15:35 +0100)]
patch 8.2.5028: syntax regexp matching can be slow
Problem: Syntax regexp matching can be slow.
Solution: Adjust the counters for checking the timeout to check about once
per msec. (closes #10487, closes #2712)
Bram Moolenaar [Fri, 27 May 2022 12:52:08 +0000 (13:52 +0100)]
patch 8.2.5027: error for missing :endif when an exception was thrown
Problem: Error for missing :endif when an exception was thrown. (Dani
Dickstein)
Solution: Do not give an error when aborting. (closes #10490)
Bram Moolenaar [Thu, 26 May 2022 21:24:43 +0000 (22:24 +0100)]
patch 8.2.5026: Vim9: a few lines not covered by tests
Problem: Vim9: a few lines not covered by tests.
Solution: Delete dead code. Add a few test cases. make "12->func()" work.
Bram Moolenaar [Thu, 26 May 2022 18:54:05 +0000 (19:54 +0100)]
patch 8.2.5025: Vim9: a few lines not covered by tests
Problem: Vim9: a few lines not covered by tests.
Solution: Add a few tests.
Bram Moolenaar [Thu, 26 May 2022 15:32:44 +0000 (16:32 +0100)]
patch 8.2.5024: using freed memory with "]d"
Problem: Using freed memory with "]d".
Solution: Copy the pattern before searching.
Bram Moolenaar [Thu, 26 May 2022 14:56:23 +0000 (15:56 +0100)]
patch 8.2.5023: substitute overwrites allocated buffer
Problem: Substitute overwrites allocated buffer.
Solution: Disallow undo when in a substitute command.
LemonBoy [Thu, 26 May 2022 14:23:26 +0000 (15:23 +0100)]
patch 8.2.5022: 'completefunc'/'omnifunc' error does not end completion
Problem: 'completefunc'/'omnifunc' error does not end completion.
Solution: Check if there was an error or exception. (closes #10486,
closes #4218)
Bram Moolenaar [Thu, 26 May 2022 13:06:37 +0000 (14:06 +0100)]
patch 8.2.5021: build fails with normal features and +terminal
Problem: Build fails with normal features and +terminal. (Dominique Pellé)
Solution: Add #ifdefs. (closes #10484)
Milly [Thu, 26 May 2022 12:16:25 +0000 (13:16 +0100)]
patch 8.2.5020: using 'imstatusfunc' and 'imactivatefunc' breaks 'foldopen'
Problem: Using 'imstatusfunc' and 'imactivatefunc' breaks 'foldopen'.
Solution: Save and restore the KeyTyped flag. (closes #10479)
LemonBoy [Thu, 26 May 2022 11:10:37 +0000 (12:10 +0100)]
patch 8.2.5019: cannot get the first screen column of a character
Problem: Cannot get the first screen column of a character.
Solution: Let virtcol() optionally return a list. (closes #10482,
closes #7964)
Bram Moolenaar [Wed, 25 May 2022 18:15:10 +0000 (19:15 +0100)]
patch 8.2.5018: Vim9: some code is not covered by tests
Problem: Vim9: some code is not covered by tests.
Solution: Delete dead code.
mityu [Wed, 25 May 2022 16:29:46 +0000 (17:29 +0100)]
patch 8.2.5017: gcc 12.1 warns for uninitialized variable
Problem: Gcc 12.1 warns for uninitialized variable.
Solution: Initialize the variable. (closes #10476)
Bram Moolenaar [Wed, 25 May 2022 14:15:38 +0000 (15:15 +0100)]
patch 8.2.5016: access before start of text with a put command
Problem: Access before start of text with a put command.
Solution: Check the length is more than zero.
=?UTF-8?q?Dundar=20G=C3=B6c?= [Wed, 25 May 2022 11:42:08 +0000 (12:42 +0100)]
patch 8.2.5015: Hoon and Moonscript files are not recognized
Problem: Hoon and Moonscript files are not recognized.
Solution: Add filetype patterns. (Goc Dundar, closes #10478)
Paul Ollis [Tue, 24 May 2022 20:26:37 +0000 (21:26 +0100)]
patch 8.2.5014: byte offsets are wrong when using text properties
Problem: Byte offsets are wrong when using text properties.
Solution: Make sure text properties do not affect the byte counts.
(Paul Ollis, closes #10474)
Bram Moolenaar [Tue, 24 May 2022 12:57:54 +0000 (13:57 +0100)]
patch 8.2.5013: after text formatting cursor may be in an invalid position
Problem: After text formatting the cursor may be in an invalid position.
Solution: Correct the cursor position after formatting.
LemonBoy [Tue, 24 May 2022 10:49:31 +0000 (11:49 +0100)]
patch 8.2.5012: cannot select one character inside ()
Problem: Cannot select one character inside ().
Solution: Do not try to extend the area if it is empty. (closes #10472,
closes #6616)
Yegappan Lakshmanan [Tue, 24 May 2022 10:40:11 +0000 (11:40 +0100)]
patch 8.2.5011: Replacing an autocommand requires several lines
Problem: Replacing an autocommand requires several lines.
Solution: Add the "replace" flag to autocmd_add(). (Yegappan Lakshmanan,
closes #10473)
Bram Moolenaar [Mon, 23 May 2022 20:49:41 +0000 (21:49 +0100)]
patch 8.2.5010: the terminal debugger uses various global variables
Problem: The terminal debugger uses various global variables.
Solution: Add a dictionary to hold the terminal debugger preferences.
Brandon Simmons [Mon, 23 May 2022 14:33:08 +0000 (15:33 +0100)]
patch 8.2.5009: fold may not be closeable after appending
Problem: Fold may not be closeable after appending.
Solution: Set the fd_small flag to MAYBE. (Brandon Simmons, closes #10471)
Bram Moolenaar [Mon, 23 May 2022 12:10:48 +0000 (13:10 +0100)]
patch 8.2.5008: when 'formatoptions' contains "/" wrongly wrapping comment
Problem: When 'formatoptions' contains "/" wrongly wrapping a long trailing
comment.
Solution: Pass the OPENLINE_FORMAT flag.
Bram Moolenaar [Mon, 23 May 2022 11:01:50 +0000 (12:01 +0100)]
patch 8.2.5007: spell suggestion may use uninitialized memory
Problem: Spell suggestion may use uninitialized memory. (Zdenek Dohnal)
Solution: Avoid going over the end of the word.
Bram Moolenaar [Sun, 22 May 2022 21:07:52 +0000 (22:07 +0100)]
patch 8.2.5006: asan warns for undefined behavior
Problem: Asan warns for undefined behavior.
Solution: Cast the shifted value to unsigned.
Bram Moolenaar [Sun, 22 May 2022 20:53:26 +0000 (21:53 +0100)]
patch 8.2.5005: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable. (John Marriott)
Solution: Initialize the pointer to NULL.
Bram Moolenaar [Sun, 22 May 2022 19:16:32 +0000 (20:16 +0100)]
patch 8.2.5004: right shift on negative number does not work as documented
Problem: Right shift on negative number does not work as documented.
Solution: Use a uvarnumber_T type cast.
Yegappan Lakshmanan [Sun, 22 May 2022 18:13:49 +0000 (19:13 +0100)]
patch 8.2.5003: cannot do bitwise shifts
Problem: Cannot do bitwise shifts.
Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457)
LemonBoy [Sun, 22 May 2022 14:35:53 +0000 (15:35 +0100)]
patch 8.2.5002: deletebufline() may change Visual selection
Problem: deletebufline() may change Visual selection.
Solution: Disable Visual mode when using another buffer. (closes #10469)
Bram Moolenaar [Sun, 22 May 2022 14:28:31 +0000 (15:28 +0100)]
patch 8.2.5001: checking translations affects the search pattern history
Problem: Checking translations affects the search pattern history.
Solution: Use "keeppatterns". (Doug Kearns)
Bram Moolenaar [Sun, 22 May 2022 13:50:16 +0000 (14:50 +0100)]
patch 8.2.5000: no patch for documentation updates
Problem: No patch for documentation updates.
Solution: Update documentation files.
Bram Moolenaar [Sun, 22 May 2022 13:26:54 +0000 (14:26 +0100)]
patch 8.2.4999: filetype test table is not properly sorted
Problem: Filetype test table is not properly sorted.
Solution: Sort by filetype. (Doug Kearns)
Bram Moolenaar [Sun, 22 May 2022 12:45:52 +0000 (13:45 +0100)]
patch 8.2.4998: Vim9: crash when using multiple funcref()
Problem: Vim9: crash when using multiple funcref().
Solution: Check if varargs type is NULL. (closes #10467)
Bram Moolenaar [Sun, 22 May 2022 11:23:48 +0000 (12:23 +0100)]
patch 8.2.4997: Python: changing hidden buffer can cause display mess up
Problem: Python: changing hidden buffer can cause the display to be messed
up.
Solution: Do not mark changed lines when using another buffer. (Paul Ollis,
closes #10437, closes #7972)
Bram Moolenaar [Sun, 22 May 2022 10:59:25 +0000 (11:59 +0100)]
patch 8.2.4996: setbufline() may change Visual selection
Problem: setbufline() may change Visual selection. (Qiming Zhao)
Solution: Disable Visual mode when using another buffer. (closes #10466)
Bram Moolenaar [Sat, 21 May 2022 20:55:55 +0000 (21:55 +0100)]
patch 8.2.4995: still a compiler warning for possibly uninitialized variable
Problem: Still a compiler warning for possibly uninitialized variable.
(Tony Mechelynck)
Solution: Initialize variables.
Bram Moolenaar [Sat, 21 May 2022 20:30:50 +0000 (21:30 +0100)]
patch 8.2.4994: tests are using legacy functions
Problem: Tests are using legacy functions.
Solution: Convert a few tests to use :def functions.
Bram Moolenaar [Sat, 21 May 2022 19:17:31 +0000 (20:17 +0100)]
patch 8.2.4993: smart/C/lisp indenting is optional
Problem: smart/C/lisp indenting is optional, which makes the code more
complex, while it only reduces the executable size a bit.
Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
Bram Moolenaar [Sat, 21 May 2022 17:56:58 +0000 (18:56 +0100)]
patch 8.2.4992: compiler warning for possibly uninitialized variable
Problem: Compiler warning for possibly uninitialized variable. (Tony
Mechelynck)
Solution: Initialize variable in the caller instead of in the function.
zeertzjq [Sat, 21 May 2022 15:34:38 +0000 (16:34 +0100)]
patch 8.2.4991: no test for hwat patch 8.1.0535 fixes
Problem: No test for hwat patch 8.1.0535 fixes.
Solution: Add a test. (closes #10462)
Bram Moolenaar [Sat, 21 May 2022 15:28:42 +0000 (16:28 +0100)]
patch 8.2.4990: memory leak when :defcompile fails
Problem: Memory leak when :defcompile fails.
Solution: Free fname when returning early.
Bram Moolenaar [Sat, 21 May 2022 14:39:02 +0000 (15:39 +0100)]
patch 8.2.4989: cannot specify a function name for :defcompile
Problem: Cannot specify a function name for :defcompile.
Solution: Implement a function name argument for :defcompile.
Bram Moolenaar [Sat, 21 May 2022 12:08:16 +0000 (13:08 +0100)]
Update runtime files.
LemonBoy [Sat, 21 May 2022 10:20:42 +0000 (11:20 +0100)]
patch 8.2.4988: textprop in wrong position when replacing multi-byte chars
Problem: Textprop in wrong position when replacing multi-byte chars.
Solution: Adjust textprop position. (closes #10461)
Brandon Simmons [Fri, 20 May 2022 17:25:21 +0000 (18:25 +0100)]
patch 8.2.4987: after deletion a small fold may be closable
Problem: After deletion a small fold may be closable.
Solution: Check for a reverse range. (Brandon Simmons, closes #10457)
Philip H [Fri, 20 May 2022 16:19:06 +0000 (17:19 +0100)]
patch 8.2.4986: some github actions are outdated
Problem: Some github actions are outdated.
Solution: Update CodeQl to v2, update checkout to v3. (closes #10450)
Bram Moolenaar [Fri, 20 May 2022 13:10:50 +0000 (14:10 +0100)]
patch 8.2.4985: PVS warns for possible array underrun
Problem: PVS warns for possible array underrun.
Solution: Add a check for a positive value. (closes #10451)
zeertzjq [Fri, 20 May 2022 12:45:59 +0000 (13:45 +0100)]
patch 8.2.4984: dragging statusline fails for window with winbar
Problem: Dragging statusline fails for window with winbar.
Solution: Fix off-by-one error. (closes #10448)
Bram Moolenaar [Fri, 20 May 2022 09:39:18 +0000 (10:39 +0100)]
patch 8.2.4983: colors test fails in the GUI
Problem: Colors test fails in the GUI.
Solution: Reset g:terminal_ansi_colors.
LemonBoy [Fri, 20 May 2022 09:10:34 +0000 (10:10 +0100)]
patch 8.2.4982: colors in terminal window are not 100% correct
Problem: Colors in terminal window are not 100% correct.
Solution: Use g:terminal_ansi_colors as documented. (closes #10429,
closes #7227 closes #10347)
Yegappan Lakshmanan [Thu, 19 May 2022 09:31:47 +0000 (10:31 +0100)]
patch 8.2.4981: it is not possible to manipulate autocommands
Problem: It is not possible to manipulate autocommands.
Solution: Add functions to add, get and set autocommands. (Yegappan
Lakshmanan, closes #10291)
Bram Moolenaar [Wed, 18 May 2022 21:07:47 +0000 (22:07 +0100)]
patch 8.2.4980: when 'shortmess' contains 'A' loading session may still warn
Problem: When 'shortmess' contains 'A' loading a session may still warn for
an existing swap file. (Melker Ă–sterberg)
Solution: Keep the 'A' flag to 'shortmess' in the session file.
(closes #10443)
Bram Moolenaar [Wed, 18 May 2022 15:29:08 +0000 (16:29 +0100)]
patch 8.2.4979: accessing freed memory when line is flushed
Problem: Accessing freed memory when line is flushed.
Solution: Make a copy of the pattern to search for.
Christian Brabandt [Wed, 18 May 2022 14:04:02 +0000 (15:04 +0100)]
patch 8.2.4978: no error if engine selection atom is not at the start
Problem: No error if engine selection atom is not at the start.
Solution: Give an error. (Christian Brabandt, closes #10439)
Bram Moolenaar [Wed, 18 May 2022 12:11:57 +0000 (13:11 +0100)]
patch 8.2.4977: memory access error when substitute expression changes window
Problem: Memory access error when substitute expression changes window.
Solution: Disallow changing window in substitute expression.
Bram Moolenaar [Wed, 18 May 2022 10:00:48 +0000 (11:00 +0100)]
patch 8.2.4976: Coverity complains about not restoring a saved value
Problem: Coverity complains about not restoring a saved value.
Solution: Restore value before handling error.
Bram Moolenaar [Tue, 17 May 2022 19:11:02 +0000 (20:11 +0100)]
patch 8.2.4975: recursive command line loop may cause a crash
Problem: Recursive command line loop may cause a crash.
Solution: Limit recursion of getcmdline().
Bram Moolenaar [Tue, 17 May 2022 16:47:07 +0000 (17:47 +0100)]
patch 8.2.4974: ":so" command may read after end of buffer
Problem: ":so" command may read after end of buffer.
Solution: Compute length of text properly.
Bram Moolenaar [Tue, 17 May 2022 15:12:39 +0000 (16:12 +0100)]
patch 8.2.4973: Vim9: type error for list unpack mentions argument
Problem: Vim9: type error for list unpack mentions argument.
Solution: Mention variable. (close #10435)
Bram Moolenaar [Tue, 17 May 2022 14:03:33 +0000 (15:03 +0100)]
patch 8.2.4972: Vim9: compilation fails when using dict member when skipping
Problem: Vim9: compilation fails when using dict member when skipping.
Solution: Do not generate ISN_USEDICT when skipping. (closes #10433)
Bram Moolenaar [Tue, 17 May 2022 12:14:23 +0000 (13:14 +0100)]
patch 8.2.4971: Vim9: interpolated string seen as range
Problem: Vim9: interpolated string seen as range.
Solution: Recognize an interpolated string at the start of a command line.
(closes #10434)
Bram Moolenaar [Tue, 17 May 2022 11:45:15 +0000 (12:45 +0100)]
patch 8.2.4970: "eval 123" gives an error, "eval 'abc'" does not
Problem: "eval 123" gives an error, "eval 'abc'" does not.
Solution: Also give an error when evaluating only a string. (closes #10434)
Bram Moolenaar [Mon, 16 May 2022 18:40:59 +0000 (19:40 +0100)]
patch 8.2.4969: changing text in Visual mode may cause invalid memory access
Problem: Changing text in Visual mode may cause invalid memory access.
Solution: Check the Visual position after making a change.
Bram Moolenaar [Mon, 16 May 2022 17:06:15 +0000 (18:06 +0100)]
patch 8.2.4968: reading past end of the line when C-indenting
Problem: Reading past end of the line when C-indenting.
Solution: Check for NUL.
Bram Moolenaar [Mon, 16 May 2022 16:07:41 +0000 (17:07 +0100)]
patch 8.2.4967: MS-Windows GUI: mouse event test sometimes fails
Problem: MS-Windows GUI: mouse event test sometimes fails.
Solution: Ignore one move event only if there is an extra event.
Bram Moolenaar [Mon, 16 May 2022 15:41:35 +0000 (16:41 +0100)]
patch 8.2.4966: MS-Windows GUI: mouse event test gets extra event
Problem: MS-Windows GUI: mouse event test gets extra event.
Solution: Ignore one move event.
Bram Moolenaar [Mon, 16 May 2022 14:27:46 +0000 (15:27 +0100)]
patch 8.2.4965: GUI: testing mouse move event depends on screen cell size
Problem: GUI: testing mouse move event depends on screen cell size.
Solution: Multiply the row and column with the screen cell size.
Bram Moolenaar [Mon, 16 May 2022 12:34:44 +0000 (13:34 +0100)]
patch 8.2.4964: MS-Windows GUI: mouse event test is flaky
Problem: MS-Windows GUI: mouse event test is flaky.
Solution: Add a short delay after generating a mouse event.
Bram Moolenaar [Mon, 16 May 2022 11:37:36 +0000 (12:37 +0100)]
patch 8.2.4963: expanding path with "/**" may overrun end of buffer
Problem: Expanding path with "/**" may overrun end of buffer.
Solution: Use vim_snprintf().
shane.xb.qian [Mon, 16 May 2022 10:14:09 +0000 (11:14 +0100)]
patch 8.2.4962: files show up in git status
Problem: Files show up in git status.
Solution: Adjust the list of ignored files. Clean up more test files.
(Shane xb Qian, closes #9929)
Bram Moolenaar [Mon, 16 May 2022 09:04:51 +0000 (10:04 +0100)]
patch 8.2.4961: build error with a certain combination of features
Problem: Build error with a certain combination of features.
Solution: Adjust #if. (John Marriott)
Paul Ollis [Sun, 15 May 2022 21:24:55 +0000 (22:24 +0100)]
patch 8.2.4960: text properties that cross lines not updated for deleted line
Problem: Text properties that cross line boundary are not correctly updated
for a deleted line.
Solution: Correct computing location of text property entry. (Paul Ollis,
closes #10431, closes #10430)
Bram Moolenaar [Sun, 15 May 2022 13:50:12 +0000 (14:50 +0100)]
patch 8.2.4959: using NULL regexp program
Problem: Using NULL regexp program.
Solution: Check for regexp program becoming NULL in more places.
=?UTF-8?q?Dundar=20G=C3=B6c?= [Sun, 15 May 2022 12:59:11 +0000 (13:59 +0100)]
patch 8.2.4958: a couple conditions are always true
Problem: A couple conditions are always true.
Solution: Remove the conditions. (Goc Dundar, closes #10428)
LemonBoy [Sun, 15 May 2022 12:08:02 +0000 (13:08 +0100)]
patch 8.2.4957: text properties in a wrong position after a block change
Problem: Text properties in a wrong position after a block change.
Solution: Adjust the properties columns. (closes #10427)
Bram Moolenaar [Sat, 14 May 2022 20:29:44 +0000 (21:29 +0100)]
patch 8.2.4956: reading past end of line with "gf" in Visual block mode
Problem: Reading past end of line with "gf" in Visual block mode.
Solution: Do not include the NUL in the length.
LemonBoy [Sat, 14 May 2022 17:48:05 +0000 (18:48 +0100)]
patch 8.2.4955: text property in wrong position after auto-indent
Problem: Text property in wrong position after auto-indent.
Solution: Adjust text property columns. (closes #10422, closes #7719)
LemonBoy [Sat, 14 May 2022 17:10:15 +0000 (18:10 +0100)]
patch 8.2.4954: inserting line breaks text property spanning two lines
Problem: Inserting line breaks text property spanning more then one line.
Solution: Check TP_FLAG_CONT_PREV and TP_FLAG_CONT_NEXT. (closes #10423)
Bram Moolenaar [Sat, 14 May 2022 12:33:50 +0000 (13:33 +0100)]
Update runtime files, new color schemes
Bram Moolenaar [Sat, 14 May 2022 11:54:23 +0000 (12:54 +0100)]
patch 8.2.4953: with 'si' inserting '}' after completion goes wrong
Problem: With 'smartindent' inserting '}' after completion goes wrong.
Solution: Check the cursor is in indent. (closes #10420)
Bram Moolenaar [Sat, 14 May 2022 11:34:43 +0000 (12:34 +0100)]
patch 8.2.4952: GUI test will fail if color scheme changes
Problem: GUI test will fail if color scheme changes.
Solution: Reduce the test for now.
Bram Moolenaar [Sat, 14 May 2022 10:52:23 +0000 (11:52 +0100)]
patch 8.2.4951: smart indenting done when not enabled
Problem: Smart indenting done when not enabled.
Solution: Check option values before setting can_si. (closes #10420)
LemonBoy [Fri, 13 May 2022 20:56:28 +0000 (21:56 +0100)]
patch 8.2.4950: text properties position wrong after shifting text
Problem: Text properties position wrong after shifting text.
Solution: Adjust the text properties when shifting a block of text.
(closes #10418)
Bram Moolenaar [Fri, 13 May 2022 15:23:37 +0000 (16:23 +0100)]
patch 8.2.4949: Vim9: some code not covered by tests
Problem: Vim9: some code not covered by tests.
Solution: Add a few more test cases. Fix double error message.
Bram Moolenaar [Fri, 13 May 2022 12:50:36 +0000 (13:50 +0100)]
patch 8.2.4948: cannot use Perl heredoc in nested :def function
Problem: Cannot use Perl heredoc in nested :def function. (Virginia
Senioria)
Solution: Only concatenate heredoc lines when not in a nested function.
(closes #10415)
LemonBoy [Fri, 13 May 2022 11:41:50 +0000 (12:41 +0100)]
patch 8.2.4947: text properties not adjusted when accepting spell suggestion
Problem: Text properties not adjusted when accepting spell suggestion.
Solution: Adjust text properties when text changes. (closes #10414)
Bram Moolenaar [Thu, 12 May 2022 21:03:01 +0000 (22:03 +0100)]
patch 8.2.4946: Vim9: some code not covered by tests
Problem: Vim9: some code not covered by tests.
Solution: Add a few more test cases. Remove dead code.
Bram Moolenaar [Thu, 12 May 2022 19:35:35 +0000 (20:35 +0100)]
patch 8.2.4945: inconsistent use of white space
Problem: Inconsistent use of white space.
Solution: Use Tabs and Spaces consistently.
Bram Moolenaar [Thu, 12 May 2022 19:34:15 +0000 (20:34 +0100)]
Update runtime files and translations
LemonBoy [Thu, 12 May 2022 17:45:18 +0000 (18:45 +0100)]
patch 8.2.4944: text properties are wrong after "cc"
Problem: Text properties are wrong after "cc". (Axel Forsman)
Solution: Pass the deleted byte count to inserted_bytes(). (closes #10412,
closes #7737, closes #5763)
Sean Dewar [Thu, 12 May 2022 16:44:29 +0000 (17:44 +0100)]
patch 8.2.4943: changing 'switchbuf' may have no effect
Problem: Changing 'switchbuf' may have no effect.
Solution: Handle 'switchbuf' in didset_string_options(). (Sean Dewar,
closes #10406)
Bram Moolenaar [Thu, 12 May 2022 16:24:49 +0000 (17:24 +0100)]
patch 8.2.4942: error when setting 'filetype' in help file again
Problem: Error when setting 'filetype' in help file again.
Solution: Deal with text property type already existing. (closes #10409)
LemonBoy [Thu, 12 May 2022 14:39:31 +0000 (15:39 +0100)]
patch 8.2.4941: '[ and '] marks may be wrong after undo
Problem: '[ and '] marks may be wrong after undo.
Solution: Adjust the '[ and '] marks if needed. (closes #10407, closes #1281)
Bram Moolenaar [Thu, 12 May 2022 10:05:40 +0000 (11:05 +0100)]
patch 8.2.4940: some code is never used
Problem: Some code is never used.
Solution: Remove dead code. Add a few more test cases.
zeertzjq [Wed, 11 May 2022 13:15:37 +0000 (14:15 +0100)]
patch 8.2.4939: matchfuzzypos() with "matchseq" does not have all positions
Problem: matchfuzzypos() with "matchseq" does not have all positions.
Solution: Also add a position for white space. (closes #10404)
Bram Moolenaar [Wed, 11 May 2022 10:42:28 +0000 (11:42 +0100)]
patch 8.2.4938: crash when matching buffer with invalid pattern
Problem: Crash when matching buffer with invalid pattern.
Solution: Check for NULL regprog.
Bram Moolenaar [Tue, 10 May 2022 20:11:12 +0000 (21:11 +0100)]
patch 8.2.4937: no test for what 8.2.4931 fixes
Problem: No test for what 8.2.4931 fixes.
Solution: Add a test that triggers a valgrind error.
LemonBoy [Tue, 10 May 2022 19:54:46 +0000 (20:54 +0100)]
patch 8.2.4936: MS-Windows: mouse coordinates for scroll event are wrong
Problem: MS-Windows: mouse coordinates for scroll event are wrong.
Solution: Convert coordinates to the text area coordinates. (closes #10400)
Brandon Simmons [Tue, 10 May 2022 18:13:23 +0000 (19:13 +0100)]
patch 8.2.4935: with 'foldmethod' "indent" some lines not included in fold
Problem: With 'foldmethod' "indent" some lines are not included in the
fold. (Oleg Koshovetc)
Solution: Fix it. (Brandon Simmons, closes #10399, closes #3214)
Bram Moolenaar [Tue, 10 May 2022 17:11:43 +0000 (18:11 +0100)]
patch 8.2.4934: string interpolation fails when not evaluating
Problem: String interpolation fails when not evaluating.
Solution: Skip the expression when not evaluating. (closes #10398)