summaryrefslogtreecommitdiffstats
path: root/src/drawscreen.c
AgeCommit message (Collapse)Author
2022-06-19patch 8.2.5128: syntax disabled when using synID() in searchpair() skip exprv8.2.5128Bram Moolenaar
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-05patch 8.2.5057: using gettimeofday() for timeout is very inefficientv8.2.5057Paul Ollis
Problem: Using gettimeofday() for timeout is very inefficient. Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
2022-05-31patch 8.2.5047: CurSearch highlight is often wrongv8.2.5047Bram Moolenaar
Problem: CurSearch highlight is often wrong. Solution: Remember the last highlighted position and redraw when needed.
2022-05-07patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar
Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-04-09patch 8.2.4718: @@@ in the last line sometimes drawn in the wrong placev8.2.4718Bram Moolenaar
Problem: @@@ in the last line sometimes drawn in the wrong place. Solution: Make sure the column is valid. (closes #10130)
2022-03-29patch 8.2.4644: redrawing too often when 'relativenumber' is setv8.2.4644Lewis Russell
Problem: Redrawing too often when 'relativenumber' is set. Solution: Only redraw when the cursor line changed. (Lewis Russell, closes #10040)
2022-03-27patch 8.2.4638: superfluous check if a redraw is needed for 'cursorline'v8.2.4639v8.2.4638zeertzjq
Problem: Superfluous check if a redraw is needed for 'cursorline'. Solution: Remove check_redraw_cursorline(). (closes #10030, closes #10029)
2022-03-25patch 8.2.4626: Visual area not updated when removing sign in Visual modev8.2.4626Bram Moolenaar
Problem: Visual area not fully updated when removing sign in Visual mode while scrolling. Solution: Adjust check for topline. (closes #10017)
2022-03-23patch 8.2.4614: redrawing too much when 'cursorline' is setv8.2.4614zeertzjq
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-22patch 8.2.4610: some conditions are always truev8.2.4610Bram Moolenaar
Problem: Some conditions are always true. Solution: Remove the useless conditions. (closes #9993)
2022-03-19patch 8.2.4591: cursor line not updated when a callback moves the cursorv8.2.4591Bram Moolenaar
Problem: Cursor line not updated when a callback moves the cursor. Solution: Check if the cursor moved. (closes #9970)
2022-02-16patch 8.2.4402: missing parenthesis may cause unexpected problemsv8.2.4402kylo252
Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. (closes #9788)
2022-02-14patch 8.2.4382: a custom 'tabline' may cause Esc to work like Enterv8.2.4382Bram Moolenaar
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-11patch 8.2.4346: a custom statusline may cause Esc to work like Enterv8.2.4346Bram Moolenaar
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-08patch 8.2.4325: 'wildmenu' only shows few matchesv8.2.4325Yegappan Lakshmanan
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-03patch 8.2.4289: warnings reported by MSVCv8.2.4289K.Takata
Problem: Warnings reported by MSVC. Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
2022-01-28patch 8.2.4241: some type casts are redundantv8.2.4241=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
2022-01-16patch 8.2.4108: going over the end of the w_lines arrayv8.2.4108Bram Moolenaar
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-16patch 8.2.4106: going over the end of the w_lines arrayv8.2.4106Bram Moolenaar
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-13patch 8.2.4074: going over the end of NameBuffv8.2.4074Bram Moolenaar
Problem: Going over the end of NameBuff. Solution: Check length when appending a space.
2021-12-13patch 8.2.3801: if a terminal shows in two windows, only one is redrawnv8.2.3801Bram Moolenaar
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-09patch 8.2.3763: when editing the cmdline a callback may cause a scroll upv8.2.3763Bram Moolenaar
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-11-29patch 8.2.3699: the +title feature adds a lot of #ifdef but little codev8.2.3699Bram Moolenaar
Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
2021-10-18patch 8.2.3535: if-else indenting is confusingv8.2.3535Dominique Pelle
Problem: If-else indenting is confusing. Solution: Add curly brackets and indent. (Dominique Pellé, closes #9010)
2021-10-08patch 8.2.3487: illegal memory access if buffer name is very longv8.2.3487Bram Moolenaar
Problem: Illegal memory access if buffer name is very long. Solution: Make sure not to go over the end of the buffer.
2021-08-03patch 8.2.3280: 'virtualedit' local to buffer is not the best solutionv8.2.3280Gary Johnson
Problem: 'virtualedit' local to buffer is not the best solution. Solution: Make it window-local. (Gary Johnson, closes #8685)
2021-07-26patch 8.2.3227: 'virtualedit' can only be set globallyv8.2.3227Gary Johnson
Problem: 'virtualedit' can only be set globally. Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
2021-07-22patch 8.2.3204: display garbled when 'cursorline' is set and lines wrapv8.2.3204Bram Moolenaar
Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel Dupras) Solution: Avoid inserting lines twice.
2021-07-09patch 8.2.3132: compiler warns for size_t to colnr_T conversion.v8.2.3132Bram Moolenaar
Problem: Compiler warns for size_t to colnr_T conversion. (Randall W. Morris) Solution: Add a type cast.
2021-07-05patch 8.2.3112: in rare cases the cursor may be somewhere in a folded linev8.2.3112Bram Moolenaar
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-03patch 8.2.3095: with 'virtualedit' set to "block" block selection is wrongv8.2.3095Bram Moolenaar
Problem: With 'virtualedit' set to "block" block selection is wrong after using "$". (Marco Trosi) Solution: Compute the longest selected line. (closes #8495)
2021-07-03patch 8.2.3090: in rare cases the cursor may be somewhere in a folded linev8.2.3090Bram Moolenaar
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-03patch 8.2.3088: with 'virtualedit' set to "block" Visual highlight is wrongv8.2.3088Bram Moolenaar
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-04-23patch 8.2.2803: flicker when the popup menu has an info popupv8.2.2803Bram Moolenaar
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-22patch 8.2.2800: after a timer displays text a hit-enter prompt is givenv8.2.2800Bram Moolenaar
Problem: After a timer displays text a hit-enter prompt is given. Solution: Reset msg_didany and need_wait_return. (closes #8136)
2021-04-11patch 8.2.2754: :sleep! does not always hide the cursorv8.2.2754Bram Moolenaar
Problem: :sleep! does not always hide the cursor. Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097, closes #7998)
2021-04-01patch 8.2.2685: custom statusline not drawn correctly with WinBarv8.2.2685Bram Moolenaar
Problem: Custom statusline not drawn correctly with WinBar. Solution: Also adjust the column for the custom status line. (Yee Cheng Chin, closes #8047)
2021-03-30patch 8.2.2679: status line missing for non-current window with winbarv8.2.2679Bram Moolenaar
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-03patch 8.2.2563: cannot use multibyte characters for folding in 'fillchars'v8.2.2563Bram Moolenaar
Problem: Cannot use multibyte characters for folding in 'fillchars'. Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan, closes #7924)
2021-02-15patch 8.2.2518: 'listchars' should be window-localv8.2.2518Bram Moolenaar
Problem: 'listchars' should be window-local. Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz, closes #5206, closes #7850)
2021-02-13patch 8.2.2508: cannot change the character displayed in non existing linesv8.2.2508Bram Moolenaar
Problem: Cannot change the character displayed in non existing lines. Solution: Add the "eob" item to 'fillchars'. (closes #7832, closes #3820)
2020-08-19patch 8.2.1488: text does not scroll when inserting above first linev8.2.1488Bram Moolenaar
Problem: Text does not scroll when inserting above first line. Solution: Adjust off-by-one error. (Ken Takata, closes #6739)
2020-08-01patch 8.2.1345: Redraw error when using visual block and scrollv8.2.1345Bram Moolenaar
Problem: Redraw error when using visual block and scroll. Solution: Add check for w_topline. ( closes #6597)
2020-04-28patch 8.2.0656: MS-Windows: redrawing right screen edge may not be neededv8.2.0656Bram Moolenaar
Problem: MS-Windows: redrawing right screen edge may not be needed. Solution: Check the build version. (Nobuhiro Takasaki, closes #6002)
2020-04-06patch 8.2.0523: loops are repeatedv8.2.0523Bram Moolenaar
Problem: Loops are repeated. Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)
2020-04-05patch 8.2.0514: several global functions are used in only one filev8.2.0514Bram Moolenaar
Problem: Several global functions are used in only one file. Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
2020-02-28patch 8.2.0328: no redraw when leaving term-normal mode in popup terminalv8.2.0328Bram Moolenaar
Problem: No redraw when leaving terminal-normal mode in a terminal popup window. Solution: Redraw the popup window. (closes #5708)
2019-12-23patch 8.2.0035: saving and restoring called_emsg is clumsyv8.2.0035Bram Moolenaar
Problem: Saving and restoring called_emsg is clumsy. Solution: Count the number of error messages.
2019-11-30patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar
Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
2019-11-12patch 8.1.2294: cursor pos wrong with concealing and search causes a scrollv8.1.2294Bram Moolenaar
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)