summaryrefslogtreecommitdiff
path: root/src/drawline.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.3121: 'listchars' "exceeds" character appears in foldcolumnv8.2.3121Bram Moolenaar2021-07-081-1/+3
| | | | | | | Problem: 'listchars' "exceeds" character appears in foldcolumn. Window separator is missing. (Leonid V. Fedorenchik) Solution: Only draw the "exceeds" character in the text area. Break the loop when not drawing the text. (closes #8524)
* patch 8.2.3012: when 'rightleft' is set the line number is drawn reversedv8.2.3012Christian Brabandt2021-06-161-2/+3
| | | | | | | Problem: When 'rightleft' is set the line number is sometimes drawn reversed. Solution: Adjust how space is handled. (Christian Brabandt, closes #8389, closes #8391)
* patch 8.2.2903: cursor position wrong on wrapped line with 'signcolumn'v8.2.2903Bram Moolenaar2021-05-291-0/+6
| | | | | | Problem: Cursor position wrong on wrapped line with 'signcolumn'. Solution: Don't add space for showbreak twice. (Christian Brabandt, closes #8262)
* patch 8.2.2797: Search highlight disappears in the Visual areav8.2.2797Bram Moolenaar2021-04-211-0/+3
| | | | | Problem: Search highlight disappears in the Visual area. Solution: Combine the search attributes. (closes #8134)
* patch 8.2.2577: compiler warning for type conversionv8.2.2577Bram Moolenaar2021-03-081-1/+1
| | | | | Problem: Compiler warning for type conversion. Solution: Add a typecast. (Mike Williams)
* patch 8.2.2563: cannot use multibyte characters for folding in 'fillchars'v8.2.2563Bram Moolenaar2021-03-031-4/+3
| | | | | | Problem: Cannot use multibyte characters for folding in 'fillchars'. Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan, closes #7924)
* patch 8.2.2518: 'listchars' should be window-localv8.2.2518Bram Moolenaar2021-02-151-37/+47
| | | | | | Problem: 'listchars' should be window-local. Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz, closes #5206, closes #7850)
* patch 8.2.2493: text property for text left of window shows upv8.2.2493Bram Moolenaar2021-02-101-1/+6
| | | | | | Problem: Text property for text left of window shows up. Solution: Check if the text property ends before the current column. (closes #7806)
* patch 8.2.2454: leading space can not be made visiblev8.2.2454Bram Moolenaar2021-02-031-3/+20
| | | | | Problem: Leading space can not be made visible. Solution: Add "lead:" to 'listchars'. (closes #7772)
* patch 8.2.2045: highlighting a character too much with incsearchv8.2.2045Bram Moolenaar2020-11-251-1/+1
| | | | | Problem: Highlighting a character too much with incsearch. Solution: Check "search_match_endcol". (Christian Brabandt, closes #7360)
* patch 8.2.2003: build error with +conceal but without +popupwinv8.2.2003Bram Moolenaar2020-11-171-2/+4
| | | | | Problem: Build error with +conceal but without +popupwin. Solution: Add #ifdef. (Tom Ryder, closes #7316)
* patch 8.2.1990: cursor position wrong in terminal popup with finished jobv8.2.1990Bram Moolenaar2020-11-151-0/+1
| | | | | | Problem: Cursor position wrong in terminal popup with finished job. Solution: Only add the top and left offset when not done already. (closes #7298)
* patch 8.2.1957: diff and cursorcolumn highlighting don't mixv8.2.1957Bram Moolenaar2020-11-051-1/+6
| | | | | | Problem: Diff and cursorcolumn highlighting don't mix. Solution: Fix condition for what attribute to use. (Christian Brabandt, closes #7258, closes #7260)
* patch 8.2.1689: 'colorcolumn' doesn't show in indentv8.2.1689Bram Moolenaar2020-09-151-1/+5
| | | | | | Problem: 'colorcolumn' doesn't show in indent. Solution: Also draw the column when draw_state is WL_BRI or WL_SBR. (Alexey Demin, closes #6948, closes #6619)
* patch 8.2.1556: cursorline highlighting always overrules sign highlightingv8.2.1556Bram Moolenaar2020-08-311-1/+13
| | | | | | Problem: Cursorline highlighting always overrules sign highlighting. Solution: Combine the highlighting, use the priority to decide how. (closes #6812)
* patch 8.2.1058: multiline conceal causes display errorsv8.2.1058Bram Moolenaar2020-06-251-0/+5
| | | | | | Problem: Multiline conceal causes display errors. Solution: Do not allow conceal cross over EOL. (closes #6326, closes #4854, closes #6302)
* patch 8.2.1056: wrong display when mixing match conceal and syntax concealv8.2.1056Bram Moolenaar2020-06-251-4/+5
| | | | | Problem: Wrong display when mixing match conceal and syntax conceal. Solution: Adjust how conceal flags are used. (closes #6327, closes #6303)
* patch 8.2.1004: line numbers below filler lines not always updatedv8.2.1004Bram Moolenaar2020-06-181-3/+3
| | | | | | Problem: Line numbers below filler lines not always updated. Solution: Don't break out of the win_line() loop too early. (Christian Brabandt, closes #6294, closes #6138)
* patch 8.2.0943: displaying ^M or ^J depends on current bufferv8.2.0943Bram Moolenaar2020-06-101-2/+2
| | | | | Problem: Displaying ^M or ^J depends on current buffer. Solution: Pass the displayed buffer to transchar(). (closes #6225)
* patch 8.2.0766: display error when using 'number' and 'breakindent'v8.2.0766Bram Moolenaar2020-05-161-0/+6
| | | | | | Problem: Display error when using 'number' and 'breakindent'. Solution: Adjust extra spaces in the first row. (Ken Takata, closes #6089, closes #5986)
* patch 8.2.0616: build error when disabling the diff featurev8.2.0616Bram Moolenaar2020-04-211-2/+2
| | | | | Problem: Build error when disabling the diff feature. Solution: Move parenthesis outside of #ifdef. (Tom Ryder)
* patch 8.2.0464: typos and other small problemsv8.2.0464Bram Moolenaar2020-03-271-1/+2
| | | | | Problem: Typos and other small problems. Solution: Fix the typos. Add missing files to the distribution.
* patch 8.2.0309: window-local values have confusing namev8.2.0309Bram Moolenaar2020-02-231-3/+3
| | | | | Problem: Window-local values have confusing name. Solution: Rename w_p_bri* to w_briopt_*.
* patch 8.2.0308: 'showbreak' does not work for a very long linev8.2.0308Bram Moolenaar2020-02-231-1/+1
| | | | | | Problem: 'showbreak' does not work for a very long line. (John Little) Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523, closes #5684)
* patch 8.2.0191: cannot put a terminal in a popup windowv8.2.0191Bram Moolenaar2020-02-011-2/+2
| | | | | | Problem: Cannot put a terminal in a popup window. Solution: Allow opening a terminal in a popup window. It will always have keyboard focus until closed.
* patch 8.2.0146: wrong indent when 'showbreak' and 'breakindent' are setv8.2.0146Bram Moolenaar2020-01-231-1/+4
| | | | | | Problem: Wrong indent when 'showbreak' and 'breakindent' are set and 'briopt' includes "sbr". Solution: Reset "need_showbreak" where needed. (Ken Takata, closes #5523)
* patch 8.1.2386: 'wincolor' is not used for 'listchars'v8.1.2386Bram Moolenaar2019-12-041-13/+14
| | | | | Problem: 'wincolor' is not used for 'listchars'. Solution: Combine the colors. (closes #5308)
* patch 8.1.2376: preprocessor indents are incorrectv8.1.2376Bram Moolenaar2019-12-011-2/+2
| | | | | Problem: Preprocessor indents are incorrect. Solution: Fix the indents. (Ken Takata, closes #5298)
* patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar2019-11-301-7/+7
| | | | | 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-3/+4
| | | | | | | | 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.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.2281: 'showbreak' cannot be set for one windowv8.1.2281Bram Moolenaar2019-11-091-7/+12
| | | | | Problem: 'showbreak' cannot be set for one window. Solution: Make 'showbreak' global-local.
* patch 8.1.2279: computation of highlight attributes is too complicatedv8.1.2279Bram Moolenaar2019-11-091-32/+17
| | | | | | Problem: Computation of highlight attributes is too complicated. Solution: Simplify the attribute computation and make it more consistent. (closes #5190) Fix that 'combine' set to zero doesn't work.
* patch 8.1.2245: third character of 'listchars' tab shows in wrong placev8.1.2245Bram Moolenaar2019-11-031-2/+2
| | | | | | Problem: Third character of 'listchars' tab shows in wrong place when 'breakindent' is set. Solution: Set c_final to NUL. (Naruhiko Nishino, closes #5165)
* patch 8.1.2241: match highlight does not combine with 'wincolor'v8.1.2241Bram Moolenaar2019-11-021-9/+9
| | | | | Problem: Match highlight does not combine with 'wincolor'. Solution: Apply 'wincolor' last on top of any other attribute. (closes #5159)
* patch 8.1.2229: cannot color number column above/below cursor differentlyv8.1.2229Bram Moolenaar2019-10-271-0/+10
| | | | | Problem: Cannot color number column above/below cursor differently. Solution: Add LineNrAbove and LineNrBelow. (Shaun Brady, closes #624)
* patch 8.1.2205: sign entry structure has confusing namev8.1.2205Bram Moolenaar2019-10-241-6/+7
| | | | | Problem: Sign entry structure has confusing name. Solution: Rename signlist_T to sign_entry_T and prefix se_ to the fields.
* patch 8.1.2189: syntax highlighting wrong for tabv8.1.2189Bram Moolenaar2019-10-201-1/+1
| | | | | Problem: Syntax highlighting wrong for tab. Solution: Don't clear syntax attribute n_extra is non-zero.
* patch 8.1.2181: highlighting wrong when item follows tabv8.1.2181Bram Moolenaar2019-10-191-15/+10
| | | | | | Problem: Highlighting wrong when item follows tab. Solution: Don't use syntax attribute when n_extra is non-zero. (Christian Brabandt, closes #5076)
* patch 8.1.2176: syntax attributes not combined with Visual highlightingv8.1.2176Bram Moolenaar2019-10-181-0/+12
| | | | | | Problem: Syntax attributes not combined with Visual highlighting. (Arseny Nasokin) Solution: Combine the attributes. (closes #5083)
* patch 8.1.2172: spell highlight is wrong at start of the linev8.1.2172Bram Moolenaar2019-10-181-1/+3
| | | | | Problem: Spell highlight is wrong at start of the line. Solution: Fix setting the "v" variable. (closes #5078)
* patch 8.1.2163: cannot build with +spell but without +syntaxv8.1.2163Bram Moolenaar2019-10-161-0/+2
| | | | | Problem: Cannot build with +spell but without +syntax. Solution: Add #ifdef. (John Marriott)
* patch 8.1.2160: cannot build with +syntax but without +terminalv8.1.2160Bram Moolenaar2019-10-161-2/+6
| | | | | Problem: Cannot build with +syntax but without +terminal. Solution: Add #ifdef.
* patch 8.1.2158: terminal attributes missing in Terminal-normal modev8.1.2158Bram Moolenaar2019-10-161-1/+1
| | | | | Problem: Terminal attributes missing in Terminal-normal mode. Solution: Use "syntax_attr".
* patch 8.1.2156: first character after Tab is not highlightedv8.1.2156Bram Moolenaar2019-10-161-2/+12
| | | | | Problem: First character after Tab is not highlighted. Solution: Remember the syntax attribute for a column.
* patch 8.1.2155: in a terminal window 'cursorlineopt' does not work properlyv8.1.2155Bram Moolenaar2019-10-161-8/+2
| | | | | Problem: In a terminal window 'cursorlineopt' does not work properly. Solution: Check the 'cursorlineopt' value. (closes #5055)
* patch 8.1.2153: combining text property and syntax highlight is wrongv8.1.2153Bram Moolenaar2019-10-161-99/+75
| | | | | | | Problem: Combining text property and syntax highlight is wrong. (Nick Jensen) Solution: Compute the syntax highlight attribute much earlier. (closes #5057)
* patch 8.1.2117: CursorLine highlight used while 'cursorline' is offv8.1.2117Bram Moolenaar2019-10-051-3/+3
| | | | | Problem: CursorLine highlight used while 'cursorline' is off. Solution: Check 'cursorline' is set. (cloes #5017)
* patch 8.1.2071: when 'wincolor' is set text property changes highlightingv8.1.2071Bram Moolenaar2019-09-231-2/+6
| | | | | | Problem: When 'wincolor' is set text property changes highlighting. (Andy Stewart) Solution: Fix combining colors. (closes #4968)
* patch 8.1.2060: "precedes" in 'listchars' not used properlyv8.1.2060Bram Moolenaar2019-09-201-1/+3
| | | | | | Problem: "precedes" in 'listchars' not used properly. Solution: Correctly handle the "precedes" char in list mode for long lines. (Christian Brabandt, closes #4953)