Bram Moolenaar
f73e5ba56f
patch 9.0.0316: screen flickers when 'cmdheight' is zero
...
Problem: Screen flickers when 'cmdheight' is zero.
Solution: Redraw over existing text instead of clearing.
2022-08-29 12:41:06 +01:00
Bram Moolenaar
926218b5da
patch 9.0.0311: test for hit-Enter prompt fails
...
Problem: Test for hit-Enter prompt fails.
Solution: Only reset cmdline_row when 'cmdheight' is zero.
2022-08-28 23:36:52 +01:00
Bram Moolenaar
7a99da43d1
patch 9.0.0309: invalid memory access when cmdheight is zero
...
Problem: Invalid memory access when cmdheight is zero.
Solution: Check index in w_lines is smaller than Rows.
2022-08-28 22:21:01 +01:00
Bram Moolenaar
5416232707
patch 9.0.0279: the tiny version has the popup menu but not 'wildmenu'
...
Problem: The tiny version has the popup menu but not 'wildmenu'.
Solution: Graduate the wildmenu feature.
2022-08-26 16:58:51 +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
471c0fa3ee
patch 9.0.0245: mechanism to prevent recursive screen updating is incomplete
...
Problem: Mechanism to prevent recursive screen updating is incomplete.
Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl().
(issue #10952 )
2022-08-22 15:19:16 +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
fdc5d17d58
patch 9.0.0192: possible invalid memory access when 'cmdheight' is zero
...
Problem: Possible invalid memory access when 'cmdheight' is zero. (Martin
Tournoij)
Solution: Avoid going over the end of w_lines[] when w_height is Rows.
(closes #10882 )
2022-08-11 15:52:14 +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
96ba25ac01
patch 9.0.0036: 'fillchars' cannot have window-local values
...
Problem: 'fillchars' cannot have window-local values.
Solution: Make 'fillchars' global-local. (closes #5206 )
2022-07-04 17:34:33 +01:00
Bram Moolenaar
6f0cf62df9
patch 8.2.5128: syntax disabled when using synID() in searchpair() skip expr
...
Problem: Syntax highlighting disabled when using synID() in searchpair()
skip expression and it times out. (Jaehwang Jung)
Solution: Add the redrawtime_limit_set flag. (closes #10562 )
2022-06-19 12:27:45 +01:00
Paul Ollis
6574577cac
patch 8.2.5057: using gettimeofday() for timeout is very inefficient
...
Problem: Using gettimeofday() for timeout is very inefficient.
Solution: Set a platform dependent timer. (Paul Ollis, closes #10505 )
2022-06-05 16:55:54 +01:00
Bram Moolenaar
368137aa52
patch 8.2.5047: CurSearch highlight is often wrong
...
Problem: CurSearch highlight is often wrong.
Solution: Remember the last highlighted position and redraw when needed.
2022-05-31 13:43:12 +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
Bram Moolenaar
cee9c844f2
patch 8.2.4718: @@@ in the last line sometimes drawn in the wrong place
...
Problem: @@@ in the last line sometimes drawn in the wrong place.
Solution: Make sure the column is valid. (closes #10130 )
2022-04-09 12:40:13 +01:00
Lewis Russell
1624639ec8
patch 8.2.4644: redrawing too often when 'relativenumber' is set
...
Problem: Redrawing too often when 'relativenumber' is set.
Solution: Only redraw when the cursor line changed. (Lewis Russell,
closes #10040 )
2022-03-29 11:38:17 +01:00
zeertzjq
3e559cd884
patch 8.2.4638: superfluous check if a redraw is needed for 'cursorline'
...
Problem: Superfluous check if a redraw is needed for 'cursorline'.
Solution: Remove check_redraw_cursorline(). (closes #10030 , closes #10029 )
2022-03-27 19:26:55 +01:00
Bram Moolenaar
abb6fbd14d
patch 8.2.4626: Visual area not updated when removing sign in Visual mode
...
Problem: Visual area not fully updated when removing sign in Visual mode
while scrolling.
Solution: Adjust check for topline. (closes #10017 )
2022-03-25 15:42:27 +00:00
zeertzjq
c20e46a4e3
patch 8.2.4614: redrawing too much when 'cursorline' is set
...
Problem: Redrawing too much when 'cursorline' is set and jumping around.
Solution: Rely on win_update() to redraw the current and previous cursor
line, do not mark lines as modified. (closes #9996 )
2022-03-23 14:55:23 +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
e7a74d5375
patch 8.2.4591: cursor line not updated when a callback moves the cursor
...
Problem: Cursor line not updated when a callback moves the cursor.
Solution: Check if the cursor moved. (closes #9970 )
2022-03-19 11:10:15 +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
Bram Moolenaar
e4835bf340
patch 8.2.4382: a custom 'tabline' may cause Esc to work like Enter
...
Problem: A custom 'tabline' may cause Esc to work like Enter on the
command line when the popup menu is displayed.
Solution: Save and restore KeyTyped. (closes #9776 )
2022-02-14 19:17:53 +00:00
Bram Moolenaar
481acb1141
patch 8.2.4346: a custom statusline may cause Esc to work like Enter
...
Problem: A custom statusline may cause Esc to work like Enter on the
command line when the popup menu is displayed.
Solution: Save and restore KeyTyped. (closes #9749 )
2022-02-11 18:51:45 +00:00
Yegappan Lakshmanan
3908ef5017
patch 8.2.4325: 'wildmenu' only shows few matches
...
Problem: 'wildmenu' only shows few matches.
Solution: Add the "pum" option: use a popup menu to show the matches.
(Yegappan Lakshmanan et al., closes #9707 )
2022-02-08 12:08:07 +00:00
K.Takata
5411910c77
patch 8.2.4289: warnings reported by MSVC
...
Problem: Warnings reported by MSVC.
Solution: Rename variables and other fixes. (Ken Takata, closes #9689 )
2022-02-03 13:33:03 +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
f6ebc82004
patch 8.2.4108: going over the end of the w_lines array
...
Problem: Going over the end of the w_lines array.
Solution: Check not going over the end and limit to Rows. (issue #9540 )
2022-01-16 13:58:33 +00:00
Bram Moolenaar
fa1a457059
patch 8.2.4106: going over the end of the w_lines array
...
Problem: Going over the end of the w_lines array.
Solution: Break out of the loop when "idx" is too big. (issue #9540 )
2022-01-16 11:42:20 +00:00
Bram Moolenaar
de05bb2573
patch 8.2.4074: going over the end of NameBuff
...
Problem: Going over the end of NameBuff.
Solution: Check length when appending a space.
2022-01-13 13:08:14 +00:00
Bram Moolenaar
3194e5bf87
patch 8.2.3801: if a terminal shows in two windows, only one is redrawn
...
Problem: If a terminal shows in two windows, only one is redrawn.
Solution: Reset the dirty row range only after redrawing all windows.
(closes #9341 )
2021-12-13 21:59:09 +00:00
Bram Moolenaar
e50507126f
patch 8.2.3763: when editing the cmdline a callback may cause a scroll up
...
Problem: When editing the command line a FocusLost callback may cause the
screen to scroll up.
Solution: Do not redraw at the last line but at the same place where the
command line was before. (closes #9295 )
2021-12-09 10:51:05 +00:00
Bram Moolenaar
651fca85c7
patch 8.2.3699: the +title feature adds a lot of #ifdef but little code
...
Problem: The +title feature adds a lot of #ifdef but little code.
Solution: Graduate the +title feature.
2021-11-29 20:39:38 +00:00
Dominique Pelle
9b0b844d25
patch 8.2.3535: if-else indenting is confusing
...
Problem: If-else indenting is confusing.
Solution: Add curly brackets and indent. (Dominique Pellé, closes #9010 )
2021-10-18 20:56:39 +01:00
Bram Moolenaar
826bfe4bbd
patch 8.2.3487: illegal memory access if buffer name is very long
...
Problem: Illegal memory access if buffer name is very long.
Solution: Make sure not to go over the end of the buffer.
2021-10-08 18:39:28 +01:00
Gary Johnson
51ad850f5f
patch 8.2.3280: 'virtualedit' local to buffer is not the best solution
...
Problem: 'virtualedit' local to buffer is not the best solution.
Solution: Make it window-local. (Gary Johnson, closes #8685 )
2021-08-03 18:33:08 +02:00
Gary Johnson
53ba05b090
patch 8.2.3227: 'virtualedit' can only be set globally
...
Problem: 'virtualedit' can only be set globally.
Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638 )
2021-07-26 22:19:10 +02:00
Bram Moolenaar
c9e7e344ed
patch 8.2.3204: display garbled when 'cursorline' is set and lines wrap
...
Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel
Dupras)
Solution: Avoid inserting lines twice.
2021-07-22 21:33:03 +02:00
Bram Moolenaar
6bcb18253a
patch 8.2.3132: compiler warns for size_t to colnr_T conversion.
...
Problem: Compiler warns for size_t to colnr_T conversion. (Randall W.
Morris)
Solution: Add a type cast.
2021-07-09 15:54:00 +02:00
Bram Moolenaar
5cb09620c1
patch 8.2.3112: in rare cases the cursor may be somewhere in a folded line
...
Problem: With concealing enabled and indirectly closing a fold the cursor
may be somewhere in a folded line when it is not on the first line
of the fold.
Solution: Check if he cursor is somewhere in the folded text.
2021-07-05 22:03:04 +02:00
Bram Moolenaar
b17ab86e7b
patch 8.2.3095: with 'virtualedit' set to "block" block selection is wrong
...
Problem: With 'virtualedit' set to "block" block selection is wrong after
using "$". (Marco Trosi)
Solution: Compute the longest selected line. (closes #8495 )
2021-07-03 22:15:17 +02:00
Bram Moolenaar
00aaa512d5
patch 8.2.3090: in rare cases the cursor may be somewhere in a folded line
...
Problem: With concealing enabled and indirectly closing a fold the cursor
may be somewhere in a folded line.
Solution: Recompute the cursor position when the cursor line can be
concealed. (closes #8480 )
2021-07-03 18:04:11 +02:00
Bram Moolenaar
9cee4a1c9c
patch 8.2.3088: with 'virtualedit' set to "block" Visual highlight is wrong
...
Problem: With 'virtualedit' set to "block" Visual highlight is wrong after
using "$". (Marco Trosi)
Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes #8495 )
2021-07-03 15:08:37 +02:00
Bram Moolenaar
e0c03c8e10
patch 8.2.2803: flicker when the popup menu has an info popup
...
Problem: Flicker when the popup menu has an info popup.
Solution: Avoid drawing over the popup when it's going to be redrawn in the
same position. (closes #8131 ) Also avoid redrawing the scrollbar.
2021-04-23 21:01:34 +02:00
Bram Moolenaar
9f28416e54
patch 8.2.2800: after a timer displays text a hit-enter prompt is given
...
Problem: After a timer displays text a hit-enter prompt is given.
Solution: Reset msg_didany and need_wait_return. (closes #8136 )
2021-04-22 21:39:30 +02:00
Bram Moolenaar
09f067fca3
patch 8.2.2754: :sleep! does not always hide the cursor
...
Problem: :sleep! does not always hide the cursor.
Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097 ,
closes #7998 )
2021-04-11 13:29:18 +02:00
Bram Moolenaar
49c51b825a
patch 8.2.2685: custom statusline not drawn correctly with WinBar
...
Problem: Custom statusline not drawn correctly with WinBar.
Solution: Also adjust the column for the custom status line. (Yee Cheng
Chin, closes #8047 )
2021-04-01 16:16:18 +02:00
Bram Moolenaar
ae0f151ddf
patch 8.2.2679: status line missing for non-current window with winbar
...
Problem: Winbar drawn over status line for non-current window with winbar
if frame is zero height. (Leonid V. Fedorenchik)
Solution: Do not draw the window if the frame height is zero. (closes #8037 )
2021-03-30 22:12:12 +02:00
Bram Moolenaar
4fa1175765
patch 8.2.2563: cannot use multibyte characters for folding in 'fillchars'
...
Problem: Cannot use multibyte characters for folding in 'fillchars'.
Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan,
closes #7924 )
2021-03-03 13:26:02 +01:00
Bram Moolenaar
eed9d46293
patch 8.2.2518: 'listchars' should be window-local
...
Problem: 'listchars' should be window-local.
Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
closes #5206 , closes #7850 )
2021-02-15 20:38:25 +01:00