summaryrefslogtreecommitdiff
path: root/src/screen.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.3614: zindex of popup windows not used when redrawing popup menuv8.2.3614Bakudankun2021-11-171-1/+1
| | | | | | Problem: zindex of popup windows not used when redrawing popup menu. Solution: Check the zindex when redrawing the popup menu. (closes #9129, closes #9089)
* patch 8.2.3522: cannot use \x and \u when setting 'listchars'v8.2.3522Bram Moolenaar2021-10-161-5/+34
| | | | | Problem: Cannot use \x and \u when setting 'listchars'. Solution: Support hex and unicode in hex form. (closes #9006)
* patch 8.2.3437: compiler warnings for 32/64 bit usagev8.2.3437Mike Williams2021-09-131-3/+4
| | | | | Problem: Compiler warnings for 32/64 bit usage. Solution: Add type casts. (Mike Williams, closes #8870)
* patch 8.2.3425: warning for using uninitialized variablev8.2.3425Bram Moolenaar2021-09-111-2/+2
| | | | | Problem: Warning for using uninitialized variable. Solution: Initialize it. (John Marriott)
* patch 8.2.3424: a sequence of spaces is hard to see in list modev8.2.3424zeertzjq2021-09-101-5/+58
| | | | | Problem: A sequence of spaces is hard to see in list mode. Solution: Add the "multispace" option to 'listchars'. (closes #8834)
* patch 8.2.3074: popup_atcursor() uses wrong position with concealingv8.2.3074Bram Moolenaar2021-06-291-2/+12
| | | | | Problem: popup_atcursor() uses wrong position with concealing. Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476)
* patch 8.2.2922: computing array length is done in various waysv8.2.2922K.Takata2021-06-021-2/+2
| | | | | Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
* patch 8.2.2685: custom statusline not drawn correctly with WinBarv8.2.2685Bram Moolenaar2021-04-011-1/+1
| | | | | | Problem: Custom statusline not drawn correctly with WinBar. Solution: Also adjust the column for the custom status line. (Yee Cheng Chin, closes #8047)
* patch 8.2.2633: multi-byte 'fillchars' for folding do not show properlyv8.2.2633Bram Moolenaar2021-03-211-1/+6
| | | | | | Problem: Multi-byte 'fillchars' for folding do not show properly. Solution: Handle multi-byte characters correctly. (Yegappan Lakshmanan, closes #7983, closes #7955)
* patch 8.2.2569: 'fillchars' "stl" and "stlnc" items must be single bytev8.2.2569Bram Moolenaar2021-03-041-1/+1
| | | | | | Problem: 'fillchars' "stl" and "stlnc" items must be single byte. Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan Lakshmanan, closes #7927)
* patch 8.2.2563: cannot use multibyte characters for folding in 'fillchars'v8.2.2563Bram Moolenaar2021-03-031-24/+42
| | | | | | Problem: Cannot use multibyte characters for folding in 'fillchars'. Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan, closes #7924)
* patch 8.2.2524: cannot change the characters displayed in the foldcolumnv8.2.2524Bram Moolenaar2021-02-171-9/+15
| | | | | | Problem: Cannot change the characters displayed in the foldcolumn. Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron, closes #7860)
* patch 8.2.2521: some compilers can't handle pointer initializationv8.2.2521Bram Moolenaar2021-02-161-17/+21
| | | | | | Problem: Some compilers can't handle pointer initialization. (John Marriott) Solution: Use a local struct and assign it afterwards.
* patch 8.2.2518: 'listchars' should be window-localv8.2.2518Bram Moolenaar2021-02-151-21/+25
| | | | | | Problem: 'listchars' should be window-local. Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz, closes #5206, closes #7850)
* patch 8.2.2508: cannot change the character displayed in non existing linesv8.2.2508Bram Moolenaar2021-02-131-0/+4
| | | | | Problem: Cannot change the character displayed in non existing lines. Solution: Add the "eob" item to 'fillchars'. (closes #7832, closes #3820)
* patch 8.2.2454: leading space can not be made visiblev8.2.2454Bram Moolenaar2021-02-031-0/+1
| | | | | Problem: Leading space can not be made visible. Solution: Add "lead:" to 'listchars'. (closes #7772)
* patch 8.2.2276: list of distributed files is outdatedv8.2.2276Bram Moolenaar2021-01-021-1/+0
| | | | | Problem: List of distributed files is outdated. Solution: Update the file list. Minor comment updates.
* patch 8.2.1978: making a mapping work in all modes is complicatedv8.2.1978Bram Moolenaar2020-11-121-1/+2
| | | | | | Problem: Making a mapping work in all modes is complicated. Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282, closes 4784, based on patch by Bjorn Linse)
* patch 8.2.1963: crash when using a popup window with "latin1" encodingv8.2.1963Bram Moolenaar2020-11-061-1/+2
| | | | | Problem: Crash when using a popup window with "latin1" encoding. Solution: Don't use ScreenLinesUC when enc_utf8 is false. (closes #7241)
* patch 8.2.1919: assert_fails() setting emsg_silent changes normal executionv8.2.1919Bram Moolenaar2020-10-281-1/+2
| | | | | Problem: Assert_fails() setting emsg_silent changes normal execution. Solution: Use a separate flag in_assert_fails.
* patch 8.2.1909: number of status line items is limited to 80v8.2.1909Bram Moolenaar2020-10-261-3/+3
| | | | | Problem: Number of status line items is limited to 80. Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181)
* patch 8.2.1514: multibyte vertical separator is cleared when dragging popupv8.2.1514Bram Moolenaar2020-08-231-1/+2
| | | | | | | Problem: Multibyte vertical separator is cleared when dragging a popup window using a multi-byte character for the border. Solution: Only clear the character before the window if it is double width. (closes #6766)
* patch 8.2.1509: vertical separator is cleared when dragging a popup windowv8.2.1509Bram Moolenaar2020-08-221-1/+2
| | | | | | | Problem: Vertical separator is cleared when dragging a popup window using a multi-byte character for the border. Solution: Only clear the character before the window if it is using a multi-byte character. (closes #6766)
* patch 8.2.1164: text cleared by checking terminal properties not redrawnv8.2.1164Bram Moolenaar2020-07-081-0/+10
| | | | | | Problem: Text cleared by checking terminal properties not redrawn. (Alexey Radkov) Solution: Mark the screen characters as invalid. (closes #6422)
* patch 8.2.1049: Vim9: leaking memory when using continuation linev8.2.1049Bram Moolenaar2020-06-241-1/+1
| | | | | | Problem: Vim9: leaking memory when using continuation line. Solution: Keep a pointer to the continuation line in evalarg_T. Centralize checking for a next command.
* patch 8.2.0863: cannot set a separate color for underline/undercurlv8.2.0863Bram Moolenaar2020-05-311-0/+17
| | | | | Problem: Cannot set a separate color for underline/undercurl. Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)
* patch 8.2.0849: BeOS code is not maintained and probably unusedv8.2.0849Bram Moolenaar2020-05-301-14/+0
| | | | | Problem: BeOS code is not maintained and probably unused. Solution: Remove the BeOS code. (Emir Sari, closes #5817)
* patch 8.2.0838: MS-Windows: compiler warning for uninitialized variablesv8.2.0838Bram Moolenaar2020-05-291-1/+1
| | | | | Problem: MS-Windows: compiler warning for uninitialized variables. Solution: Initialize variables.
* patch 8.2.0681: pattern for 'hlsearch' highlighting may leakv8.2.0681Bram Moolenaar2020-05-021-0/+1
| | | | | | Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pelle) Solution: Call end_search_hl() to make sure the previous pattern is freed. (closes #6028)
* patch 8.2.0669: MS-Windows: display in VTP is a bit slowv8.2.0669Bram Moolenaar2020-04-301-0/+29
| | | | | Problem: MS-Windows: display in VTP is a bit slow. Solution: Optimize the code. (Nobuhiro Takasaki, closes #6014)
* patch 8.2.0632: crash when using Haikuv8.2.0632Bram Moolenaar2020-04-241-0/+4
| | | | | Problem: Crash when using Haiku. Solution: Lock the screen. (closes #5975, closes #5973)
* patch 8.2.0500: using the same loop in many placesv8.2.0500Bram Moolenaar2020-04-021-4/+4
| | | | | Problem: Using the same loop in many places. Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
* patch 8.2.0468: GUI: pixel dust with some fonts and charactersv8.2.0468Bram Moolenaar2020-03-281-5/+4
| | | | | | Problem: GUI: pixel dust with some fonts and characters. Solution: Always redraw the character before the cursor. (Nir Lichtman, closes #5549, closes #5856)
* patch 8.2.0320: no Haiku supportv8.2.0320Bram Moolenaar2020-02-261-0/+20
| | | | | Problem: No Haiku support. Solution: Add support for Haiku. (Emir Sari, closes #5605)
* patch 8.1.2394: using old C style commentsv8.1.2394Bram Moolenaar2019-12-051-288/+287
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2382: MS-Windows: When using VTP bold+inverse doesn't workv8.1.2382Bram Moolenaar2019-12-021-0/+27
| | | | | Problem: MS-Windows: When using VTP bold+inverse doesn't work. Solution: Compare with the default colors. (Nobuhiro Takasaki, closes #5303)
* patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar2019-11-301-22/+22
| | | | | Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
* patch 8.1.2351: 'wincolor' not used for > for not fitting double width charv8.1.2351Bram Moolenaar2019-11-261-0/+12
| | | | | | | | Problem: 'wincolor' not used for > for not fitting double width char. Also: popup drawn on right half of double width character looks wrong. Solution: Adjust color for > character. Clear left half of double width character if right half is being overwritten.
* patch 8.1.2327: cannot build with Hangul inputv8.1.2327Bram Moolenaar2019-11-211-13/+0
| | | | | Problem: Cannot build with Hangul input. Solution: Remove Hangul input support.
* patch 8.1.2313: debugging where a delay comes from is not easyv8.1.2313Bram Moolenaar2019-11-171-1/+1
| | | | | Problem: Debugging where a delay comes from is not easy. Solution: Use different values when calling ui_delay().
* patch 8.1.2295: if buffer of popup is in another window cursorline sign showsv8.1.2295Bram Moolenaar2019-11-121-1/+1
| | | | | Problem: If buffer of popup is in another window cursorline sign shows. Solution: Check the group of the sign.
* patch 8.1.2057: the screen.c file is much too bigv8.1.2057Bram Moolenaar2019-09-191-6452/+59
| | | | | Problem: The screen.c file is much too big. Solution: Split it in three parts. (Yegappan Lakshmanan, closes #4943)
* patch 8.1.2040: no highlighting of current line in quickfix windowv8.1.2040Bram Moolenaar2019-09-151-2/+6
| | | | | Problem: No highlighting of current line in quickfix window. Solution: Combine with line_attr.
* patch 8.1.2039: character from 'showbreak' does not use 'wincolor'v8.1.2039Bram Moolenaar2019-09-151-0/+3
| | | | | Problem: Character from 'showbreak' does not use 'wincolor'. (Nick Jensen) Solution: Mix with 'wincolor'. (closes #4938)
* patch 8.1.2033: cannot build with tiny featuresv8.1.2033Bram Moolenaar2019-09-141-0/+2
| | | | | Problem: Cannot build with tiny features. Solution: Add #ifdef.
* patch 8.1.2031: cursor position wrong when resizing and using concealv8.1.2031Bram Moolenaar2019-09-141-0/+1
| | | | | | Problem: Cursor position wrong when resizing and using conceal. Solution: Set the flags that the cursor position is valid when setting the row and column during redrawing. (closes #4931)
* patch 8.1.2029: cannot control 'cursorline' highlighting wellv8.1.2029Bram Moolenaar2019-09-141-35/+172
| | | | | Problem: Cannot control 'cursorline' highlighting well. Solution: Add "screenline". (Christian Brabandt, closes #4933)
* patch 8.1.2019: 'cursorline' always highlights the whole linev8.1.2019Bram Moolenaar2019-09-091-5/+10
| | | | | | Problem: 'cursorline' always highlights the whole line. Solution: Add 'cursorlineopt' to specify what is highlighted. (closes #4693)
* patch 8.1.1966: some code in options.c fits better elsewherev8.1.1966Bram Moolenaar2019-09-021-0/+179
| | | | | | Problem: Some code in options.c fits better elsewhere. Solution: Move functions from options.c to other files. (Yegappan Lakshmanan, closes #4889)
* patch 8.1.1922: in diff mode global operations can be very slowv8.1.1922Bram Moolenaar2019-08-241-0/+6
| | | | | | Problem: In diff mode global operations can be very slow. Solution: Do not call diff_redraw() many times, call it once when redrawing. And also don't update folds multiple times.