Luuk van Baal
faf1d412f5
patch 9.0.0505: various problems with 'nosplitscroll'
...
Problem: Various problems with 'nosplitscroll'.
Solution: Fix 'nosplitscroll' problems. (Luuk van Baal, closes #11166 )
2022-09-19 16:45:29 +01:00
Luuk van Baal
d5bc762dea
patch 9.0.0486: text scrolled with 'nosplitscroll', autocmd win and help
...
Problem: Text scrolled with 'nosplitscroll', autocmd win opened and help
window closed.
Solution: Skip win_fix_scroll() in more situations. (Luuk van Baal,
closes #11150 )
2022-09-17 16:16:35 +01:00
Luuk van Baal
594f9e09cd
patch 9.0.0478: test for 'splitscroll' takes too much time
...
Problem: Test for 'splitscroll' takes too much time.
Solution: Only test some of the combinations. (Luuk van Baal, closes #11139 )
2022-09-16 12:52:58 +01:00
Luuk van Baal
3735f11050
patch 9.0.0469: cursor moves if cmdwin is closed when 'splitscroll' is off
...
Problem: Cursor moves if cmdwin is closed when 'splitscroll' is off.
Solution: Skip win_fix_cursor if called when cmdwin is open or closing.
(Luuk van Baal, closes #11134 )
2022-09-15 12:43:26 +01:00
Luuk van Baal
470a14140b
patch 9.0.0461: 'scroll' is not always updated
...
Problem: 'scroll' is not always updated.
Solution: Call win_init_size() at the right place.
2022-09-14 01:27:23 +01:00
Luuk van Baal
5ed391708a
patch 9.0.0455: a few problems with 'splitscroll'
...
Problem: A few problems with 'splitscroll'.
Solution: Fix 'splitscroll' problems. (Luuk van Baal, closes #11117 )
2022-09-13 11:55:10 +01:00
Luuk van Baal
29ab524358
patch 9.0.0445: when opening/closing window text moves up/down
...
Problem: When opening/closing window text moves up/down.
Solution: Add the 'splitscroll' option. When off text will keep its
position as much as possible.
2022-09-11 16:59:53 +01:00
Luuk van Baal
fd7e60a33d
patch 9.0.0403: 'equalalways' may be off when 'laststatus' is zero
...
Problem: 'equalalways' may be off when 'laststatus' is zero.
Solution: call last_status() before win_equal(). (Luuk van Baal,
closes #11070 )
2022-09-07 14:42:49 +01:00
Bram Moolenaar
21c3a80a7f
patch 9.0.0342: ":wincmd =" equalizes in two directions
...
Problem: ":wincmd =" equalizes in two directions.
Solution: Make ":vertical wincmd =" equalize vertically only and
":horizontal wincmd =" equalize horizontally only.
2022-08-31 17:49:14 +01:00
Bram Moolenaar
a2a8973e51
patch 9.0.0340: the 'cmdheight' zero support causes too much trouble
...
Problem: The 'cmdheight' zero support causes too much trouble.
Solution: Revert support for 'cmdheight' being zero.
2022-08-31 14:46:18 +01:00
Shougo Matsushita
0e412be00f
patch 9.0.0326: some changes for cmdheight=0 are not needed
...
Problem: Some changes for cmdheight=0 are not needed.
Solution: Revert resize behavior if height is greater than the available
space. (Shougo Matsushita, closes #11008 )
2022-08-30 11:54:21 +01:00
zeertzjq
670ab0334b
patch 9.0.0304: WinScrolled is not triggered when only skipcol changes
...
Problem: WinScrolled is not triggered when only skipcol changes.
Solution: Add w_last_skipcol and use it. (closes #10998 )
2022-08-28 19:16:15 +01:00
Bram Moolenaar
43568648df
patch 9.0.0294: crash when 'cmdheight' is 0 and popup_clear() used
...
Problem: Crash when 'cmdheight' is 0 and popup_clear() used.
Solution: Reset "message_win" when the message popup is cleared. Close the
popup when 'cmdheight' is non-zero. Add a screendump test.
2022-08-28 13:02:45 +01:00
Bram Moolenaar
f80f40a55c
patch 9.0.0265: no good reason why the "gf" command isn't in the tiny version
...
Problem: No good reason why the "gf" command is not in the tiny version.
Solution: Graduate the file_in_path feature.
2022-08-25 16:02:23 +01:00
Bram Moolenaar
6d4b2f54df
patch 9.0.0263: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Make some functions always available.
2022-08-25 15:11:15 +01:00
Bram Moolenaar
a4d158b3c8
patch 9.0.0206: redraw flags are not named specifically
...
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-14 14:17:45 +01:00
Bram Moolenaar
d4cf9fc53e
patch 9.0.0191: messages test fails; window size incorrect
...
Problem: Messages test fails; window size incorrect when 'cmdheight' is
made smaller.
Solution: Properly cleanup after test with cmdheight zero. Resize windows
correctly when 'cmdheight' gets smaller.
2022-08-11 14:13:37 +01:00
Bram Moolenaar
f797e309ca
patch 9.0.0190: the way 'cmdheight' can be made zero is inconsistent
...
Problem: The way 'cmdheight' can be made zero is inconsistent.
Solution: Only make 'cmdheight' zero when setting it explicitly, not when
resizing windows. (closes #10890 )
2022-08-11 13:17:30 +01:00
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