| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: Virtual text "after" wraps to next line even when 'wrap' is off
and 'list' is set.
Solution: Do not use the minimum width when 'wrap' is off. (issue #11336)
|
|
|
|
|
| |
Problem: Extra empty line below virtual text when 'list' is set.
Solution: Do not reset lcs_eol_one but set text_prop_follows. (closes #11339)
|
|
|
|
|
|
| |
Problem: Virtual text "after" does not show with 'list' set.
Solution: Do not break out of the loop when another text prop follows.
(closes #11337)
|
|
|
|
|
| |
Problem: Virtual text "above" with padding not displayed correctly.
Solution: Take padding into account when truncating. (closes #11340)
|
|
|
|
|
|
|
| |
Problem: Extra empty line between two virtual text "below" when 'wrap' and
'number' are set.
Solution: Reset "before" when there is no text in the screen line.
(closes #11334)
|
|
|
|
|
| |
Problem: Compiler warning for unused variable in tiny build.
Solution: Add #ifdefs.
|
|
|
|
|
|
| |
Problem: With 'nowrap' virtual text "after" does not scroll left.
Solution: Skip part of the virtual text that is left of the window.
(closes #11320) Fix going beyond the last column of the window.
|
|
|
|
|
|
| |
Problem: With 'nowrap' two virtual text below not displayed correctly.
Solution: Set text_prop_follows before continuing. Correct for number
column. (closes #11333)
|
|
|
|
|
|
| |
Problem: Virtual text "after" not correct with 'nowrap'.
Solution: Do not display "after" text prop on the next line when 'wrap' is
off.
|
|
|
|
|
| |
Problem: Virtual text truncation does not take padding into account.
Solution: Subtract the padding from the available space. (closes #11318)
|
|
|
|
|
| |
Problem: lalloc(0) error in listchars test.
Solution: Skip generating text for tab if tab_len is zero.
|
|
|
|
|
| |
Problem: Buffer size for expanding tab not correctly computed.
Solution: Correctly use size of end character.
|
|
|
|
|
| |
Problem: "<<<" shows for 'smoothscroll' even when 'showbreak is set.
Solution: When 'showbreak' is set do not display "<<<".
|
|
|
|
|
| |
Problem: Tests failing with 'breakindent', 'number' and "n" in 'cpo'.
Solution: Do count the number column in topline if 'breakindent' is set.
|
|
|
|
|
| |
Problem: Tests failing with 'smoothscroll', 'number' and "n" in 'cpo'.
Solution: Do not count number column in topline if columns are skipped.
|
|
|
|
|
| |
Problem: Breakindent test accepts wrong result.
Solution: Fix the number column and adjust the expected text.
|
|
|
|
|
| |
Problem: Concealed characters do not work correctly.
Solution: Subtract boguscols instead of adding them. (closes #11273)
|
|
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate the +cmdwin feature. Now the tiny and small builds are
equal, drop the small build. (Martin Tournoij, closes #11268)
|
|
|
|
|
| |
Problem: 'smoothscroll' not tested with 'number' and "n" in 'cpo'.
Solution: Add tests, fix uncovered problem.
|
|
|
|
|
| |
Problem: Build fails without the +conceal feature.
Solution: Rename called function.
|
|
|
|
|
| |
Problem: No indication when the first line is broken for 'smoothscroll'.
Solution: Show "<<<" in the first line.
|
|
|
|
|
| |
Problem: Breakindent test fails.
Solution: Correct logic for resetting need_showbreak.
|
|
|
|
|
|
| |
Problem: Cannot scroll by screen line if a line wraps.
Solution: Add the 'smoothscroll' option. Only works for CTRL-E and CTRL-Y
so far.
|
|
|
|
|
|
|
| |
Problem: After exiting Insert mode spelling is not checked in the next
line.
Solution: When spelling is enabled redraw the next line after exiting Insert
mode in case the spell highlight needs updating.
|
|
|
|
|
| |
Problem: Line number is displayed at virtual text "above".
Solution: Show the line number at the text line.
|
|
|
|
|
| |
Problem: The win_line() function is much too long.
Solution: Move code to separate functions.
|
|
|
|
|
| |
Problem: The win_line() function is much too long.
Solution: Move code to separate functions.
|
|
|
|
|
| |
Problem: Long sign text may overflow buffer.
Solution: Use a larger buffer. Prevent for overflow.
|
|
|
|
|
| |
Problem: more compiler warnings for arguments in small version
Solution: Adjust #ifdefs.
|
|
|
|
|
| |
Problem: Compiler warns for unused argument in small version.
Solution: Add UNUSED.
|
|
|
|
|
| |
Problem: The win_line() function is much too long.
Solution: Move the code to draw the line number to a separate function.
|
|
|
|
|
|
| |
Problem: Virtual text highlight starts too early with 'nowrap' and 'number'
set.
Solution: Add the offset to the attribute skip count. (issue #11138)
|
|
|
|
|
| |
Problem: Virtual text "above" highlights gap after it.
Solution: Do not highlight the gap. (closes #11138)
|
|
|
|
|
| |
Problem: Virtual text highlight starts too early when 'number' is set.
Solution: Set column offset when wrapping. (issue #11138)
|
|
|
|
|
| |
Problem: Virtual text "below" doesn't show in list mode.
Solution: Reset lcs_eol_one when displaying text property.
|
|
|
|
|
|
| |
Problem: Visual highlighting extends into virtual text prop.
Solution: Do not highlight what isn't actually selected. Fix ordering of
stored text props.
|
|
|
|
|
| |
Problem: Virtual text "above" does not work with 'nowrap'.
Solution: Do wrap the line after. (closes #11084)
|
|
|
|
|
|
| |
Problem: Virtual text "above" doesn't handel line numbers.
Solution: Take the left column offset into account. (issue #11084)
Also make padding work.
|
|
|
|
|
| |
Problem: Cannot put virtual text above a line.
Solution: Add the "above" value for "text_align".
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Cannot add padding to virtual text without highlight.
Solution: Add the "text_padding_left" argument. (issue #10906)
|
|
|
|
|
| |
Problem: Text properties "below" sort differently on MS-Windows.
Solution: Use the ID as a tie breaker. (closes #10958)
|
|
|
|
|
| |
Problem: 'list' mode does not work properly with virtual text.
Solution: Show the "$" at the right position. (closes #10913)
|
|
|
|
|
| |
Problem: Build error with small features.
Solution: Add #ifdef.
|
|
|
|
|
| |
Problem: The override flag has no effect for virtual text. (Ben Jackson)
Solution: Make the override flag work. (closes #10915)
|
|
|
|
|
| |
Problem: CursorLine highlight overrules virtual text highlight.
Solution: Let extra attribute overrule line attribute. (closes #10909)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Invalid memory access for text prop without highlight.
Solution: Check for a valid highlight ID.
|
|
|
|
|
|
| |
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)
|