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
Bram Moolenaar
a98f8a2305
patch 8.2.2508: cannot change the character displayed in non existing lines
...
Problem: Cannot change the character displayed in non existing lines.
Solution: Add the "eob" item to 'fillchars'. (closes #7832 , closes #3820 )
2021-02-13 18:24:23 +01:00
Bram Moolenaar
9dc1917f42
patch 8.2.1488: text does not scroll when inserting above first line
...
Problem: Text does not scroll when inserting above first line.
Solution: Adjust off-by-one error. (Ken Takata, closes #6739 )
2020-08-19 20:19:48 +02:00
Bram Moolenaar
f8992d47cd
patch 8.2.1345: Redraw error when using visual block and scroll
...
Problem: Redraw error when using visual block and scroll.
Solution: Add check for w_topline. ( closes #6597 )
2020-08-01 19:14:13 +02:00
Bram Moolenaar
7ed8f59ae0
patch 8.2.0656: MS-Windows: redrawing right screen edge may not be needed
...
Problem: MS-Windows: redrawing right screen edge may not be needed.
Solution: Check the build version. (Nobuhiro Takasaki, closes #6002 )
2020-04-28 20:44:42 +02:00
Bram Moolenaar
00d253e2b2
patch 8.2.0523: loops are repeated
...
Problem: Loops are repeated.
Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882 )
2020-04-06 22:13:01 +02:00
Bram Moolenaar
bdff012f44
patch 8.2.0514: several global functions are used in only one file
...
Problem: Several global functions are used in only one file.
Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884 )
2020-04-05 18:56:05 +02:00
Bram Moolenaar
e52e0c89d1
patch 8.2.0328: no redraw when leaving term-normal mode in popup terminal
...
Problem: No redraw when leaving terminal-normal mode in a terminal popup
window.
Solution: Redraw the popup window. (closes #5708 )
2020-02-28 22:20:10 +01:00
Bram Moolenaar
53989554a4
patch 8.2.0035: saving and restoring called_emsg is clumsy
...
Problem: Saving and restoring called_emsg is clumsy.
Solution: Count the number of error messages.
2019-12-23 22:59:18 +01:00
Bram Moolenaar
05ad5ff0ab
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
...
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291 )
2019-11-30 22:48:27 +01:00
Bram Moolenaar
cbee635eee
patch 8.1.2294: cursor pos wrong with concealing and search causes a scroll
...
Problem: Cursor position wrong when characters are concealed and asearch
causes a scroll.
Solution: Fix the cursor column in a concealed line after window scroll.
(closes #5215 , closes #5012 )
2019-11-12 20:49:15 +01:00
Bram Moolenaar
1666ac9c56
patch 8.1.2287: using EndOfBuffer highlight in popup does not look good
...
Problem: Using EndOfBuffer highlight in popup does not look good.
Solution: Do not EndOfBuffer highlight. (closes #5204 )
2019-11-10 17:22:31 +01:00
Bram Moolenaar
11a58af66f
patch 8.1.2214: too much is redrawn when 'cursorline' is set
...
Problem: Too much is redrawn when 'cursorline' is set.
Solution: Don't do a complete redraw. (closes #5079 )
2019-10-24 22:32:31 +02:00
Bram Moolenaar
7528d1f6b5
patch 8.1.2057: the screen.c file is much too big
...
Problem: The screen.c file is much too big.
Solution: Split it in three parts. (Yegappan Lakshmanan, closes #4943 )
2019-09-19 23:06:20 +02:00