zeertzjq
6dab00aa54
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 )
2022-05-20 13:45:59 +01:00
Bram Moolenaar
b0855f5324
patch 8.2.4983: colors test fails in the GUI
...
Problem: Colors test fails in the GUI.
Solution: Reset g:terminal_ansi_colors.
2022-05-20 10:39:18 +01:00
LemonBoy
b2b3acbf2b
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 )
2022-05-20 10:10:34 +01:00
Yegappan Lakshmanan
1755a91851
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 )
2022-05-19 10:31:47 +01:00
Bram Moolenaar
aaadb5b6f7
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 )
2022-05-18 22:07:47 +01:00
Bram Moolenaar
28d032cc68
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.
2022-05-18 16:29:08 +01:00
Christian Brabandt
360da40b47
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 )
2022-05-18 15:04:02 +01:00
Bram Moolenaar
e2bd8600b8
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.
2022-05-18 13:11:57 +01:00
Bram Moolenaar
b1040dc11f
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.
2022-05-18 11:00:48 +01:00
Bram Moolenaar
51f0bfb88a
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().
2022-05-17 20:11:02 +01:00
Bram Moolenaar
4748c4bd64
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.
2022-05-17 17:47:07 +01:00
Bram Moolenaar
bd3a9d2c94
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 )
2022-05-17 16:12:39 +01:00
Bram Moolenaar
1ff9c44267
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 )
2022-05-17 15:03:33 +01:00
Bram Moolenaar
40c141d333
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 )
2022-05-17 13:14:23 +01:00
Bram Moolenaar
0d03263fd7
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 )
2022-05-17 12:45:15 +01:00
Bram Moolenaar
7ce5b2b590
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.
2022-05-16 19:40:59 +01:00
Bram Moolenaar
60ae0e7149
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.
2022-05-16 18:06:15 +01:00
Bram Moolenaar
3c25a8617a
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.
2022-05-16 17:07:41 +01:00
Bram Moolenaar
e5162e76c0
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.
2022-05-16 16:41:35 +01:00
Bram Moolenaar
7add8d3731
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.
2022-05-16 15:27:46 +01:00
Bram Moolenaar
3b675c276c
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.
2022-05-16 13:34:44 +01:00
Bram Moolenaar
386c24cd26
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().
2022-05-16 12:37:36 +01:00
shane.xb.qian
5a8fad32ea
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 )
2022-05-16 11:14:09 +01:00
Bram Moolenaar
9f28eeb694
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)
2022-05-16 10:04:51 +01:00
Paul Ollis
1bdc60eb91
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 )
2022-05-15 22:24:55 +01:00
Bram Moolenaar
b62dc5e782
patch 8.2.4959: using NULL regexp program
...
Problem: Using NULL regexp program.
Solution: Check for regexp program becoming NULL in more places.
2022-05-15 14:50:12 +01:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
dd41037552
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 )
2022-05-15 13:59:11 +01:00
LemonBoy
b559b302e0
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 )
2022-05-15 13:08:02 +01:00
Bram Moolenaar
395bd1f6d3
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.
2022-05-14 21:29:44 +01:00
LemonBoy
788c06a249
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 )
2022-05-14 18:48:05 +01:00
LemonBoy
698cb4c8fa
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 )
2022-05-14 18:10:15 +01:00
Bram Moolenaar
2e444bbef0
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 )
2022-05-14 12:54:23 +01:00
Bram Moolenaar
98feacedf9
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.
2022-05-14 12:34:43 +01:00
Bram Moolenaar
de5cf28781
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 )
2022-05-14 11:52:23 +01:00
LemonBoy
4b93674159
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 )
2022-05-13 21:56:28 +01:00
Bram Moolenaar
31ad32a325
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.
2022-05-13 16:23:37 +01:00
Bram Moolenaar
d881d15984
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 )
2022-05-13 13:50:36 +01:00
LemonBoy
b7a7012555
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 )
2022-05-13 12:41:50 +01:00
Bram Moolenaar
7f8a3b11bf
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.
2022-05-12 22:03:01 +01:00
Bram Moolenaar
9f1983de4e
patch 8.2.4945: inconsistent use of white space
...
Problem: Inconsistent use of white space.
Solution: Use Tabs and Spaces consistently.
2022-05-12 20:35:35 +01:00
LemonBoy
d0b1a09f44
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 )
2022-05-12 18:45:18 +01:00
Sean Dewar
39c46b4378
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 )
2022-05-12 17:44:29 +01:00
Bram Moolenaar
de216732d4
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 )
2022-05-12 17:24:49 +01:00
LemonBoy
82444cefa3
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 )
2022-05-12 15:39:31 +01:00
Bram Moolenaar
d0132f4862
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.
2022-05-12 11:05:40 +01:00
zeertzjq
9af2bc0751
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 )
2022-05-11 14:15:37 +01:00
Bram Moolenaar
a59f2dfd0c
patch 8.2.4938: crash when matching buffer with invalid pattern
...
Problem: Crash when matching buffer with invalid pattern.
Solution: Check for NULL regprog.
2022-05-11 11:42:28 +01:00
Bram Moolenaar
ead241538c
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.
2022-05-10 21:11:12 +01:00
LemonBoy
a773d84570
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 )
2022-05-10 20:54:46 +01:00
Brandon Simmons
d98e75e236
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 )
2022-05-10 19:13:23 +01:00