Bram Moolenaar
96bde99bf8
patch 9.0.0187: command line height changes when maximizing window height
...
Problem: Command line height changes when maximizing window height.
Solution: Do not change the command line height. (closes #10885 )
2022-08-10 17:23:12 +01:00
zeertzjq
0b0ccbbfb0
patch 9.0.0135: comment about tabpage line above the wrong code
...
Problem: Comment about tabpage line above the wrong code.
Solution: Move the comment. (closes #10836 )
2022-08-02 12:15:51 +01:00
zeertzjq
101d57b34b
patch 9.0.0124: code has more indent than needed
...
Problem: Code has more indent than needed.
Solution: Use continue and return statements. (closes #10824 )
2022-07-31 18:34:32 +01:00
Bram Moolenaar
6747cf1671
patch 9.0.0115: when 'cmdheight' is zero pressing ':' may scroll a window
...
Problem: When 'cmdheight' is zero pressing ':' may scroll a window.
Solution: Add the made_cmdheight_nonzero flag and set 'scrolloff' to zero.
2022-07-30 19:10:06 +01:00
Shougo Matsushita
f39cfb7262
patch 9.0.0114: the command line takes up space even when not used
...
Problem: The command line takes up space even when not used.
Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita,
closes #10675 , closes #940 )
2022-07-30 16:54:05 +01:00
Bram Moolenaar
3d6ee8bda0
patch 9.0.0094: cursor restored unexpected with nested autocommand
...
Problem: Cursor restored unexpected with nested autocommand.
Solution: Do not restore the cursor when it was moved intentionally.
(closes #10780 )
2022-07-27 15:23:35 +01:00
Bram Moolenaar
b03950fafa
patch 9.0.0077: wrong restored cursor position when switching window in autocmd
...
Problem: When switching window in autocmd the restored cursor position may
be wrong.
Solution: Do not restore the cursor if it was not set. (closes #10775 )
2022-07-26 13:47:13 +01:00
Bram Moolenaar
5fa9f23a63
patch 9.0.0061: ml_get error with nested autocommand
...
Problem: ml_get error with nested autocommand.
Solution: Also check line numbers for a nested autocommand. (closes #10761 )
2022-07-23 09:06:48 +01:00
Bram Moolenaar
3d51ce18ab
patch 9.0.0017: accessing memory beyond the end of the line
...
Problem: Accessing memory beyond the end of the line.
Solution: Stop Visual mode when closing a window.
2022-07-01 15:26:15 +01:00
Bram Moolenaar
aca12fd89b
patch 8.2.5066: timer_create is not available on every Mac system
...
Problem: Timer_create is not available on every Mac system. (Hisashi T
Fujinaka)
Solution: Adjust #ifdef.
2022-06-07 10:16:15 +01:00
Bram Moolenaar
71223e2db8
patch 8.2.5043: can open a cmdline window from a substitute expression
...
Problem: Can open a cmdline window from a substitute expression.
Solution: Disallow opening a command line window when text or buffer is
locked.
2022-05-30 15:23:09 +01:00
zeertzjq
e6f13b473c
patch 8.2.5035: when splitting a window the changelist position moves
...
Problem: When splitting a window the changelist position moves.
Solution: Set the changelist index a bit later. (closes #10493 )
2022-05-28 10:49:44 +01:00
zeertzjq
cfe456543e
patch 8.2.5029: "textlock" is always zero
...
Problem: "textlock" is always zero.
Solution: Remove "textlock" and rename "textwinlock" to "textlock".
(closes #10489 )
2022-05-27 17:26:55 +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
Bram Moolenaar
6ed545e797
patch 8.2.4928: various white space and cosmetic mistakes
...
Problem: Various white space and cosmetic mistakes.
Solution: Change spaces to tabs, improve comments.
2022-05-09 20:09:23 +01:00
Bram Moolenaar
249591057b
patch 8.2.4911: the mode #defines are not clearly named
...
Problem: The mode #defines are not clearly named.
Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-05-07 20:01:16 +01:00
LemonBoy
2a2707d033
patch 8.2.4868: when closing help window autocmds triggered for wrong window
...
Problem: When closing help window autocmds triggered for the wrong window.
Solution: Figure out the new current window earlier. (closes #10348 )
2022-05-04 22:13:47 +01:00
zeertzjq
d58862d18f
patch 8.2.4739: accessing freed memory after WinScrolled autocmd event
...
Problem: Accessing freed memory after WinScrolled autocmd event.
Solution: Check the window pointer is still valid. (closes #10156 )
Remove the argument from may_trigger_winscrolled().
2022-04-12 11:32:48 +01:00
LemonBoy
0937182d49
patch 8.2.4713: plugins cannot track text scrolling
...
Problem: Plugins cannot track text scrolling.
Solution: Add the WinScrolled event. (closes #10102 )
2022-04-08 15:18:45 +01:00
zeertzjq
6a06940f8a
patch 8.2.4706: buffer remains active with WinClosed and tabpages
...
Problem: Buffer remains active if a WinClosed event throws an exception
when there are multiple tabpages.
Solution: Ignore aborting() when closing the buffer. (closes #10101 )
2022-04-07 14:08:29 +01:00
Bram Moolenaar
c947b9ae41
patch 8.2.4700: buffer remains active if WinClosed event throws an exception
...
Problem: Buffer remains active if a WinClosed event throws an exception.
Solution: Ignore aborting() when closing the buffer. (closes #10097 )
2022-04-06 17:59:21 +01:00
Yegappan Lakshmanan
72bb47e38f
patch 8.2.4670: memory allocation failures for new tab page not tested
...
Problem: Memory allocation failures for new tab page not tested.
Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan,
closes #10067 )
2022-04-03 11:22:38 +01:00
Yegappan Lakshmanan
0dac1ab579
patch 8.2.4668: buffer allocation failures insufficiently tested
...
Problem: Buffer allocation failures insufficiently tested.
Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan,
closes #10064 )
2022-04-02 21:46:19 +01:00
Bram Moolenaar
347538fad0
patch 8.2.4631: crash when switching window in BufWipeout autocommand
...
Problem: Crash when switching window in BufWipeout autocommand.
Solution: Put any buffer in the window to avoid it being NULL.
(closes #10024 )
2022-03-26 16:28:06 +00:00
Bram Moolenaar
fe154990c1
patch 8.2.4610: some conditions are always true
...
Problem: Some conditions are always true.
Solution: Remove the useless conditions. (closes #9993 )
2022-03-22 20:42:12 +00:00
Bram Moolenaar
6f2465d336
patch 8.2.4609: :unhide does not check for failing to close a window
...
Problem: :unhide does not check for failing to close a window.
Solution: When closing a window fails continue with the next one. Do not
try closing the autocmd window. (closes #9984 )
2022-03-22 18:13:01 +00:00
zeertzjq
b29ae15977
patch 8.2.4513: window-local directory is not applied if 'acd' fails
...
Problem: Window-local directory is not applied if 'acd' fails.
Solution: Don't call do_autochdir(). (closes #9891 )
2022-03-05 17:00:31 +00:00
Yegappan Lakshmanan
9c9be05b17
patch 8.2.4462: not enough testing for quickfix code
...
Problem: Not enough testing for quickfix code.
Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan,
closes #9839 )
2022-02-24 12:33:17 +00:00
zeertzjq
6a8b13614e
patch 8.2.4454: resetting cmdwin_type only for one situation
...
Problem: Resetting cmdwin_type only for one situation.
Solution: Reset cmdwin_type before closing windows. (closes #9822 )
2022-02-23 12:23:08 +00:00
Sean Dewar
16b51d26fe
patch 8.2.4434: duplicate check for cmdline window
...
Problem: Duplicate check for cmdline window.
Solution: Remove the second check. (Sean Dewar, closes #9816 )
2022-02-21 17:56:33 +00:00
Bram Moolenaar
592f625001
patch 8.2.4432: cannot use settabvar() while the cmdline window is open
...
Problem: Cannot use settabvar() while the cmdline window is open.
Solution: Only give an error when actually switching tabpage.
(closes #9813 )
2022-02-21 16:13:49 +00:00
Bram Moolenaar
0f6e28f686
patch 8.2.4428: crash when switching tabpage while in the cmdline window
...
Problem: Crash when switching tabpage while in the cmdline window.
Solution: Disallow switching tabpage when in the cmdline window.
2022-02-20 20:49:35 +00:00
kylo252
ae6f1d8b14
patch 8.2.4402: missing parenthesis may cause unexpected problems
...
Problem: Missing parenthesis may cause unexpected problems.
Solution: Add more parenthesis is macros. (closes #9788 )
2022-02-16 19:24:07 +00:00
Sean Dewar
0f7ff851cb
patch 8.2.4355: unnecessary call to check_colorcolumn()
...
Problem: Unnecessary call to check_colorcolumn().
Solution: Remove the call. (Sean Dewar, closes #9748 )
2022-02-12 11:51:25 +00:00
Bram Moolenaar
54969f4ef5
patch 8.2.4318: various comment and indent mistakes, returning wrong zero
...
Problem: Various comment and indent mistakes, returning wrong zero.
Solution: Fix the mistakes. Return NULL instead of FAIL.
2022-02-07 13:56:44 +00:00
zeertzjq
a0c4e2f2d7
patch 8.2.4248: no proper test for moving the window separator
...
Problem: No proper test for moving the window separator.
Solution: Add a test. Add comment in code. (closes #9656 )
2022-01-29 10:59:53 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
420fabcd4f
patch 8.2.4241: some type casts are redundant
...
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes #9643 )
2022-01-28 15:28:04 +00:00
Bram Moolenaar
05b2761548
patch 8.2.4154: ml_get error when exchanging windows in Visual mode
...
Problem: ml_get error when exchanging windows in Visual mode.
Solution: Correct end of Visual area when entering another buffer.
2022-01-20 13:32:50 +00:00
Yegappan Lakshmanan
782b43d894
patch 8.2.4045: some global functions are only used in one file
...
Problem: Some global functions are only used in one file.
Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492 )
2022-01-08 18:43:40 +00:00
Bram Moolenaar
04935fb17e
patch 8.2.4043: using int for second argument of ga_init2()
...
Problem: Using int for second argument of ga_init2().
Solution: Remove unnessary type cast (int) when using sizeof().
2022-01-08 16:19:22 +00:00
Bram Moolenaar
9d00e4a814
patch 8.2.4010: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-05 17:49:15 +00:00
Bram Moolenaar
ac78dd4a35
patch 8.2.3985: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 19:25:26 +00:00
Bram Moolenaar
cbadefe25a
patch 8.2.3975: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-01 19:33:50 +00:00
Bram Moolenaar
74409f6279
patch 8.2.3970: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 15:58:22 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Dominique Pelle
af4a61a85d
patch 8.2.3914: various spelling mistakes in comments
...
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416 )
2021-12-27 17:21:41 +00:00
Bram Moolenaar
e124204c4f
patch 8.2.3830: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2021-12-16 20:56:57 +00:00
Bram Moolenaar
739f13a55b
patch 8.2.3795: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the jumplist feature.
2021-12-13 13:12:53 +00:00
Bram Moolenaar
b711814cb6
patch 8.2.3774: test for command line height fails
...
Problem: Test for command line height fails.
Solution: Use another way to handle window size change.
2021-12-10 13:40:08 +00:00
Bram Moolenaar
8a7374f8c4
patch 8.2.3773: wrong window size when a modeline changes 'columns'
...
Problem: Wrong window size when a modeline changes 'columns' and there is
more than one tabpage. (Michael Soyka)
Solution: Adjust the frames of all tabpages. (closes #9315 )
2021-12-10 12:11:09 +00:00