summaryrefslogtreecommitdiff
path: root/src/screen.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* patch 8.1.1901: the +insert_expand feature is not always availablev8.1.1901Bram Moolenaar2019-08-211-24/+6
| | | | | Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature.
* patch 8.1.1882: cannot specify properties of the info popup windowv8.1.1882Bram Moolenaar2019-08-181-1/+6
| | | | | Problem: Cannot specify properties of the info popup window. Solution: Add the 'completepopup' option. Default to PmenuSel highlight.
* patch 8.1.1868: multi-byte chars in 'listchars' fail with 'linebreak' setv8.1.1868Bram Moolenaar2019-08-171-15/+21
| | | | | | | Problem: Multibyte characters in 'listchars' don't work correctly if 'linebreak' is also enabled. (Martin Tournoij) Solution: Make it work correctly. (Christian Brabandt, closes #4822, closes #4812)
* patch 8.1.1845: may use NULL pointer when running out of memoryv8.1.1845Bram Moolenaar2019-08-131-2/+6
| | | | | Problem: May use NULL pointer when running out of memory. Solution: Do not clear popup buffers when NULL. (closes #4802)
* patch 8.1.1811: popup window color cannot be set to "Normal"v8.1.1811Bram Moolenaar2019-08-041-4/+4
| | | | | | Problem: Popup window color cannot be set to "Normal". Solution: Check for non-empty 'wincolor' instead of zero attribute. (closes #4772)
* patch 8.1.1773: the preview popup window may be too far to the rightv8.1.1773Bram Moolenaar2019-07-281-5/+5
| | | | | | Problem: The preview popup window may be too far to the right. Solution: Keep it inside the screen. Also keep the close button and scrollbar visible if possible.
* patch 8.1.1747: compiler warning for unused variablesv8.1.1747Bram Moolenaar2019-07-251-9/+12
| | | | | Problem: Compiler warning for unused variables. (Tony Mechelynck) Solution: Add #ifdef.
* patch 8.1.1744: build error without the conceal featurev8.1.1744Bram Moolenaar2019-07-241-5/+5
| | | | | Problem: Build error without the conceal feature. Solution: Define variables also without the conceal feature.
* patch 8.1.1743: 'hlsearch' and match highlighting in the wrong placev8.1.1743Bram Moolenaar2019-07-241-570/+27
| | | | | Problem: 'hlsearch' and match highlighting in the wrong place. Solution: Move highlighting from inside screen functions to highlight.c.
* patch 8.1.1724: too much overhead checking for CTRL-C while processing textv8.1.1724Bram Moolenaar2019-07-211-5/+0
| | | | | | Problem: Too much overhead checking for CTRL-C while processing text. Solution: Increase BREAKCHECK_SKIP. Remove the difference for when built with the GUI. (suggested by Andy Massimino, closes #4708)
* patch 8.1.1718: popup menu highlighting does not look goodv8.1.1718Bram Moolenaar2019-07-201-0/+2
| | | | | | Problem: Popup menu highlighting does not look good. Solution: Highlight the whole window line. Fix that sign line HL is not displayed in a window with a background color.
* patch 8.1.1717: last char in menu popup window highlightedv8.1.1717Bram Moolenaar2019-07-201-5/+3
| | | | | Problem: Last char in menu popup window highlighted. Solution: Do not highlight an extra character twice.
* patch 8.1.1712: signs in number column cause text to be misalignedv8.1.1712Bram Moolenaar2019-07-181-2/+7
| | | | | Problem: Signs in number column cause text to be misaligned. Solution: Improve alignment. (Yasuhiro Matsumoto, closes #4694)
* patch 8.1.1642: may use uninitialized variablev8.1.1642Bram Moolenaar2019-07-071-12/+14
| | | | | Problem: May use uninitialized variable. (Patrick Palka) Solution: Initialize variables earlier. (closes #4623)
* patch 8.1.1635: warnings for unused variables in small versionv8.1.1635Bram Moolenaar2019-07-041-2/+4
| | | | | Problem: Warnings for unused variables in small version. (John Marriott) Solution: Adjust #ifdefs.
* patch 8.1.1631: displaying signs is inefficientv8.1.1631Bram Moolenaar2019-07-041-16/+21
| | | | | | Problem: Displaying signs is inefficient. Solution: Avoid making multiple calls to get information about a placed sign. (Yegappan Lakshmanan, closes #4586)
* patch 8.1.1623: display wrong with signs in narrow number columnv8.1.1623Bram Moolenaar2019-07-041-0/+8
| | | | | | Problem: Display wrong with signs in narrow number column. Solution: Increase the numbercolumn width if needed. (Yegappan Lakshmanan, closes #4606)
* patch 8.1.1614: 'numberwidth' can only go up to 10v8.1.1614Bram Moolenaar2019-07-011-25/+25
| | | | | Problem: 'numberwidth' can only go up to 10. Solution: Allow up to 20. (Charlie Stanton, closes #4584)
* patch 8.1.1612: cannot show an existing buffer in a popup windowv8.1.1612Bram Moolenaar2019-06-301-16/+7
| | | | | Problem: Cannot show an existing buffer in a popup window. Solution: Support buffer number argument in popup_create().
* patch 8.1.1603: crash when using unknown highlighting in text propertyv8.1.1603Bram Moolenaar2019-06-281-2/+2
| | | | | Problem: Crash when using unknown highlighting in text property. Solution: Check for zero highlight ID.