zeertzjq
18b3500b8c
patch 9.0.0661: multi-byte "lastline" in 'fillchars' does not work properly
...
Problem: Multi-byte "lastline" item in 'fillchars' does not work properly
when the window is two columns wide.
Solution: Compute the text length correctly. (closes #11280 )
2022-10-04 20:35:37 +01:00
Martin Tournoij
7904fa420e
patch 9.0.0657: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +cmdwin feature. Now the tiny and small builds are
equal, drop the small build. (Martin Tournoij, closes #11268 )
2022-10-04 16:28:45 +01:00
Bram Moolenaar
4ba5f1dab6
patch 9.0.0656: cannot specify another character to use instead of '@'
...
Problem: Cannot specify another character to use instead of '@' at the end
of the window.
Solution: Add "lastline" to 'fillchars'. (Martin Tournoij, closes #11264 ,
closes #10963 )
2022-10-04 14:36:29 +01:00
Bram Moolenaar
b6aab8f44b
patch 9.0.0652: 'smoothscroll' not tested with 'number' and "n" in 'cpo'
...
Problem: 'smoothscroll' not tested with 'number' and "n" in 'cpo'.
Solution: Add tests, fix uncovered problem.
2022-10-03 20:01:16 +01:00
Bram Moolenaar
50faf02f43
patch 9.0.0620: matchaddpos() can only add up to 8 matches
...
Problem: matchaddpos() can only add up to 8 matches.
Solution: Allocate the array of positions. (closes #11248 )
2022-09-29 12:50:17 +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
Bram Moolenaar
b22653a98e
patch 9.0.0337: flicker when resetting cmdline_row after updating the screen
...
Problem: Flicker when resetting cmdline_row after updating the screen.
Solution: Do not update cmdline_row. (issue #11017 )
2022-08-30 22:24:26 +01:00
Bram Moolenaar
13608d851a
patch 9.0.0318: clearing screen causes flicker
...
Problem: Clearing screen causes flicker.
Solution: Do not clear but redraw in more cases. Add () to "wait_return".
2022-08-29 15:06:50 +01:00
Bram Moolenaar
b13d3405ff
patch 9.0.0317: when updating the whole screen a popup may not be redrawn
...
Problem: When updating the whole screen a popup may not be redrawn.
Solution: Mark the screen and windows for redraw also when not clearing.
Also mark popup windows for redraw.
2022-08-29 13:44:28 +01:00
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