summaryrefslogtreecommitdiffstats
path: root/src/drawline.c
AgeCommit message (Collapse)Author
2022-09-21patch 9.0.0527: long sign text may overflow bufferv9.0.0527Bram Moolenaar
Problem: Long sign text may overflow buffer. Solution: Use a larger buffer. Prevent for overflow.
2022-09-20patch 9.0.0523: more compiler warnings for arguments in small versionv9.0.0523Bram Moolenaar
Problem: more compiler warnings for arguments in small version Solution: Adjust #ifdefs.
2022-09-20patch 9.0.0521: compiler warns for unused argument in small versionv9.0.0521Bram Moolenaar
Problem: Compiler warns for unused argument in small version. Solution: Add UNUSED.
2022-09-20patch 9.0.0519: the win_line() function is much too longv9.0.0519Bram Moolenaar
Problem: The win_line() function is much too long. Solution: Move the code to draw the line number to a separate function.
2022-09-20patch 9.0.0518: virtual text highlight starts too early with 'nowrap'v9.0.0518Bram Moolenaar
Problem: Virtual text highlight starts too early with 'nowrap' and 'number' set. Solution: Add the offset to the attribute skip count. (issue #11138)
2022-09-20patch 9.0.0516: virtual text "above" highlights gap after itv9.0.0516Bram Moolenaar
Problem: Virtual text "above" highlights gap after it. Solution: Do not highlight the gap. (closes #11138)
2022-09-20patch 9.0.0515: virtual text highlight starts too early when 'number' is setv9.0.0515Bram Moolenaar
Problem: Virtual text highlight starts too early when 'number' is set. Solution: Set column offset when wrapping. (issue #11138)
2022-09-15patch 9.0.0472: virtual text "below" doesn't show in list modev9.0.0472Bram Moolenaar
Problem: Virtual text "below" doesn't show in list mode. Solution: Reset lcs_eol_one when displaying text property.
2022-09-12patch 9.0.0452: Visual highlighting extends into virtual text propv9.0.0452Bram Moolenaar
Problem: Visual highlighting extends into virtual text prop. Solution: Do not highlight what isn't actually selected. Fix ordering of stored text props.
2022-09-12patch 9.0.0451: virtual text "above" does not work with 'nowrap'v9.0.0451Bram Moolenaar
Problem: Virtual text "above" does not work with 'nowrap'. Solution: Do wrap the line after. (closes #11084)
2022-09-11patch 9.0.0442: virtual text "above" doesn't handel line numbersv9.0.0442Bram Moolenaar
Problem: Virtual text "above" doesn't handel line numbers. Solution: Take the left column offset into account. (issue #11084) Also make padding work.
2022-09-10patch 9.0.0438: cannot put virtual text above a linev9.0.0438Bram Moolenaar
Problem: Cannot put virtual text above a line. Solution: Add the "above" value for "text_align".
2022-09-02patch 9.0.0357: 'linebreak' interferes with text property highlightv9.0.0357Bram Moolenaar
Problem: 'linebreak' interferes with text property highlight if there is syntax highlighting. Solution: Check the text prop attributes after combining with syntax attributes. (closes #11035)
2022-08-28patch 9.0.0297: cursor position wrong after right aligned virtual textv9.0.0297Bram Moolenaar
Problem: Cursor position wrong after right aligned virtual text. (Iizuka Masashi) Solution: Take the width of the column offset into account. (closes #10997) Also fix virtual text positioning.
2022-08-23patch 9.0.0247: cannot add padding to virtual text without highlightv9.0.0247Bram Moolenaar
Problem: Cannot add padding to virtual text without highlight. Solution: Add the "text_padding_left" argument. (issue #10906)
2022-08-22patch 9.0.0243: text properties "below" sort differently on MS-Windowsv9.0.0243Bram Moolenaar
Problem: Text properties "below" sort differently on MS-Windows. Solution: Use the ID as a tie breaker. (closes #10958)
2022-08-14patch 9.0.0210: 'list' mode does not work properly with virtual textv9.0.0210Bram Moolenaar
Problem: 'list' mode does not work properly with virtual text. Solution: Show the "$" at the right position. (closes #10913)
2022-08-14patch 9.0.0209: build error with small featuresv9.0.0209Bram Moolenaar
Problem: Build error with small features. Solution: Add #ifdef.
2022-08-14patch 9.0.0208: the override flag has no effect for virtual textv9.0.0208Bram Moolenaar
Problem: The override flag has no effect for virtual text. (Ben Jackson) Solution: Make the override flag work. (closes #10915)
2022-08-13patch 9.0.0201: CursorLine highlight overrules virtual text highlightv9.0.0201Bram Moolenaar
Problem: CursorLine highlight overrules virtual text highlight. Solution: Let extra attribute overrule line attribute. (closes #10909)
2022-08-11patch 9.0.0193: search and match highlgith interfere with virtual textv9.0.0193Bram Moolenaar
Problem: Search and match highlgith interfere with virtual text highlight. (Ben Jackson) Solution: Check for match highlight after text properties. Reset and restore search highlight when showing virtual text. (closes #10892)
2022-08-10patch 9.0.0189: invalid memory access for text prop without highlightv9.0.0189Bram Moolenaar
Problem: Invalid memory access for text prop without highlight. Solution: Check for a valid highlight ID.
2022-08-10patch 9.0.0186: virtual text without highlighting does not showv9.0.0186Bram Moolenaar
Problem: Virtual text without highlighting does not show. (Ben Jackson) Solution: Use a text property when it has highlighting or when it has text. (closes #10878)
2022-08-10patch 9.0.0185: virtual text does not show if text prop at same positionv9.0.0185Bram Moolenaar
Problem: Virtual text does not show if tehre is a text prop at same position. (Ben Jackson) Solution: Fix the sorting of properties. (closes #10879)
2022-08-10patch 9.0.0184: virtual text prop highlight continues after truncationv9.0.0184Bram Moolenaar
Problem: Virtual text prop highlight continues after truncation. Solution: Recompute the length of attributes.
2022-08-10patch 9.0.0183: extra space after virtual text when 'linebreak' is setv9.0.0183Bram Moolenaar
Problem: Extra space after virtual text when 'linebreak' is set. Solution: Do not count virtual text when getting linebreak value. (closes #10884)
2022-08-09patch 9.0.0175: spell checking for capital not working with trailing spacev9.0.0175Christian Brabandt
Problem: Spell checking for capital not working with trailing space. Solution: Do not calculate cap_col at the end of the line. (Christian Brabandt, closes #10870, issue #10838)
2022-08-08patch 9.0.0171: quickfix line highlight is overruled by 'cursorline'v9.0.0171Bram Moolenaar
Problem: Quickfix line highlight is overruled by 'cursorline'. Solution: Reverse the combination of attributes. (closes #10654)
2022-08-07patch 9.0.0162: text property "below" gets indent if 'breakindent' is setv9.0.0162Bram Moolenaar
Problem: Text property "below" gets indent if 'breakindent' is set. (Tim Pope) Solution: Do not put indent before text property. (closes #10859)
2022-08-06patch 9.0.0161: warning for uninitialized variablev9.0.0161Bram Moolenaar
Problem: Warning for uninitialized variable. (Tony Mechelynck) Solution: Initialize line_attr_save.
2022-08-06patch 9.0.0160: some diff mode tests failv9.0.0160Bram Moolenaar
Problem: Some diff mode tests fail. Solution: Only advance "ptr" when a text property follows.
2022-08-06patch 9.0.0158: with 'nowrap' "below" property not displayed correctlyv9.0.0158Bram Moolenaar
Problem: With 'nowrap' "below" property not displayed correctly. Solution: Adjust virtual text with 'nowrap', do not truncate.
2022-08-06patch 9.0.0157: 'showbreak' displayed below truncated "after" text propv9.0.0157Bram Moolenaar
Problem: 'showbreak' displayed below truncated "after" text prop. Solution: Suppress 'showbreak' when "after" prop doesn't wrap.
2022-08-06patch 9.0.0155v9.0.0155Bram Moolenaar
Problem: No test for what patch 9.0.0155 fixes. Solution: Add a test. Fix typos. (closes #10822)
2022-08-06patch 9.0.0153: no fold and sign column for virtual text with "below" alignv9.0.0153Bram Moolenaar
Problem: No fold and sign column for virtual text with "below" align and 'nowrap'. Solution: Go back to draw state WL_START when moving to the next line. (closes #10851)
2022-08-06patch 9.0.0152: warning for unused argument in small buildv9.0.0152Bram Moolenaar
Problem: Warning for unused argument in small build. Solution: Add "UNUSED".
2022-08-06patch 9.0.0151: a "below" aligned text property does not work with 'nowrap'v9.0.0151Bram Moolenaar
Problem: A "below" aligned text property does not work with 'nowrap'. Solution: Start a new screen line to display the virtual text. (closes #10851)
2022-08-05patch 9.0.0148: a "below" aligned text property gets 'showbreak' displayedv9.0.0148Bram Moolenaar
Problem: A "below" aligned text property gets 'showbreak' displayed. Solution: Do not use 'showbreak' before or in virtual text. (issue #10851)
2022-08-05patch 9.0.0146: missing part of change for "override" flagv9.0.0146Bram Moolenaar
Problem: Missing part of change for "override" flag. Solution: Add the missing change.
2022-08-04patch 9.0.0139: truncating virtual text after a line not implementedv9.0.0139Bram Moolenaar
Problem: Truncating virtual text after a line not implemented. Cursor positioning wrong with Newline in the text. Solution: Implement truncating. Disallow control characters in the text. (closes #10842)
2022-08-01patch 9.0.0132: multi-byte characters in virtual text not handled correctlyv9.0.0132Bram Moolenaar
Problem: Multi-byte characters in virtual text not handled correctly. Solution: Count screen cells instead of bytes.
2022-08-01patch 9.0.0130: cursor position wrong when inserting around virtual textv9.0.0130Bram Moolenaar
Problem: Cursor position wrong when inserting around virtual text. Solution: Update the cursor position properly.
2022-07-31patch 9.0.0121: cannot put virtual text after or below a linev9.0.0121Bram Moolenaar
Problem: Cannot put virtual text after or below a line. Solution: Add "text_align" and "text_wrap" arguments.
2022-07-30patch 9.0.0116: virtual text not displayed if 'signcolumn' is "yes"v9.0.0116Bram Moolenaar
Problem: Virtual text not displayed if 'signcolumn' is "yes". Solution: Set c_extra and c_final to NUL.
2022-07-26patch 9.0.0080: compiler warning for size_t to int conversionv9.0.0080Mike Williams
Problem: Compiler warning for size_t to int conversion. Solution: Add type casts. (Mike Williams, closes #10795)
2022-07-26patch 9.0.0075: some compilers warn for using an uninitialized variablev9.0.0075Bram Moolenaar
Problem: Some compilers warn for using an uninitialized variable. (Tony Mechelynck) Solution: Initialize the variable.
2022-07-25patch 9.0.0072: compiler warning for uninitialized variablev9.0.0072Bram Moolenaar
Problem: Compiler warning for uninitialized variable. Solution: Initialize it. (John Marriott)
2022-07-25patch 9.0.0067: cannot show virtual textv9.0.0067Bram Moolenaar
Problem: Cannot show virtual text. Solution: Initial changes for virtual text support, using text properties.
2022-07-09patch 9.0.0048: cursor in wrong column with mouse click after concealed textv9.0.0048Bram Moolenaar
Problem: Cursor in wrong column with mouse click after concealed text. Solution: Store the text column when drawing text.
2022-07-04patch 9.0.0036: 'fillchars' cannot have window-local valuesv9.0.0036Bram Moolenaar
Problem: 'fillchars' cannot have window-local values. Solution: Make 'fillchars' global-local. (closes #5206)