Bram Moolenaar
406b5d89e1
patch 9.0.0649: no indication the first line is broken for 'smoothscroll'
...
Problem: No indication when the first line is broken for 'smoothscroll'.
Solution: Show "<<<" in the first line.
2022-10-03 16:44:12 +01:00
Bram Moolenaar
693729ae58
patch 9.0.0642: breakindent test fails
...
Problem: Breakindent test fails.
Solution: Correct logic for resetting need_showbreak.
2022-10-02 22:10:25 +01:00
Bram Moolenaar
f6196f4244
patch 9.0.0640: cannot scroll by screen line if a line wraps
...
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.
2022-10-02 21:29:55 +01:00
Bram Moolenaar
ee09fcc9b6
patch 9.0.0590: after exiting Insert mode spelling not checked in next line
...
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.
2022-09-25 20:58:30 +01:00
Bram Moolenaar
ec5e1483eb
patch 9.0.0534: line number is displayed at virtual text "above"
...
Problem: Line number is displayed at virtual text "above".
Solution: Show the line number at the text line.
2022-09-21 16:38:13 +01:00
Bram Moolenaar
e49f9acecc
patch 9.0.0533: the win_line() function is much too long
...
Problem: The win_line() function is much too long.
Solution: Move code to separate functions.
2022-09-21 15:41:28 +01:00
Bram Moolenaar
c20a41972c
patch 9.0.0531: the win_line() function is much too long
...
Problem: The win_line() function is much too long.
Solution: Move code to separate functions.
2022-09-21 14:34:28 +01:00
Bram Moolenaar
2b1ddf19f8
patch 9.0.0527: long sign text may overflow buffer
...
Problem: Long sign text may overflow buffer.
Solution: Use a larger buffer. Prevent for overflow.
2022-09-21 11:21:57 +01:00
Bram Moolenaar
2d2e25b3e3
patch 9.0.0523: more compiler warnings for arguments in small version
...
Problem: more compiler warnings for arguments in small version
Solution: Adjust #ifdefs.
2022-09-20 21:09:42 +01:00
Bram Moolenaar
31724238c8
patch 9.0.0521: compiler warns for unused argument in small version
...
Problem: Compiler warns for unused argument in small version.
Solution: Add UNUSED.
2022-09-20 20:25:36 +01:00
Bram Moolenaar
d7657e95b2
patch 9.0.0519: the win_line() function is much too long
...
Problem: The win_line() function is much too long.
Solution: Move the code to draw the line number to a separate function.
2022-09-20 18:59:30 +01:00
Bram Moolenaar
b84d565c62
patch 9.0.0518: virtual text highlight starts too early with 'nowrap'
...
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-20 17:57:53 +01:00
Bram Moolenaar
ccfaa07591
patch 9.0.0516: virtual text "above" highlights gap after it
...
Problem: Virtual text "above" highlights gap after it.
Solution: Do not highlight the gap. (closes #11138 )
2022-09-20 16:15:30 +01:00
Bram Moolenaar
2fdc9b5419
patch 9.0.0515: virtual text highlight starts too early when 'number' is set
...
Problem: Virtual text highlight starts too early when 'number' is set.
Solution: Set column offset when wrapping. (issue #11138 )
2022-09-20 15:59:22 +01:00
Bram Moolenaar
a4abe514ec
patch 9.0.0472: virtual text "below" doesn't show in list mode
...
Problem: Virtual text "below" doesn't show in list mode.
Solution: Reset lcs_eol_one when displaying text property.
2022-09-15 19:44:09 +01:00
Bram Moolenaar
6eda17d881
patch 9.0.0452: Visual highlighting extends into virtual text prop
...
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-12 19:25:11 +01:00
Bram Moolenaar
c9dc03fff5
patch 9.0.0451: virtual text "above" does not work with 'nowrap'
...
Problem: Virtual text "above" does not work with 'nowrap'.
Solution: Do wrap the line after. (closes #11084 )
2022-09-12 17:51:07 +01:00
Bram Moolenaar
79f8b8494c
patch 9.0.0442: virtual text "above" doesn't handel line numbers
...
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-11 13:31:01 +01:00
Bram Moolenaar
04e0ed1ddf
patch 9.0.0438: cannot put virtual text above a line
...
Problem: Cannot put virtual text above a line.
Solution: Add the "above" value for "text_align".
2022-09-10 20:00:56 +01:00
Bram Moolenaar
cf2bb63397
patch 9.0.0357: 'linebreak' interferes with text property highlight
...
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-09-02 13:26:29 +01:00
Bram Moolenaar
c8bf59e9b2
patch 9.0.0297: cursor position wrong after right aligned virtual text
...
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-28 16:39:22 +01:00
Bram Moolenaar
f396ce83ee
patch 9.0.0247: cannot add padding to virtual text without highlight
...
Problem: Cannot add padding to virtual text without highlight.
Solution: Add the "text_padding_left" argument. (issue #10906 )
2022-08-23 18:39:37 +01:00
Bram Moolenaar
e89aeed43e
patch 9.0.0243: text properties "below" sort differently on MS-Windows
...
Problem: Text properties "below" sort differently on MS-Windows.
Solution: Use the ID as a tie breaker. (closes #10958 )
2022-08-22 13:00:16 +01:00
Bram Moolenaar
c3a483fc3c
patch 9.0.0210: 'list' mode does not work properly with virtual text
...
Problem: 'list' mode does not work properly with virtual text.
Solution: Show the "$" at the right position. (closes #10913 )
2022-08-14 19:37:36 +01:00
Bram Moolenaar
677a39fdf6
patch 9.0.0209: build error with small features
...
Problem: Build error with small features.
Solution: Add #ifdef.
2022-08-14 16:50:42 +01:00
Bram Moolenaar
9e7e28fc4c
patch 9.0.0208: the override flag has no effect for virtual text
...
Problem: The override flag has no effect for virtual text. (Ben Jackson)
Solution: Make the override flag work. (closes #10915 )
2022-08-14 16:36:38 +01:00
Bram Moolenaar
9113c2cd19
patch 9.0.0201: CursorLine highlight overrules virtual text highlight
...
Problem: CursorLine highlight overrules virtual text highlight.
Solution: Let extra attribute overrule line attribute. (closes #10909 )
2022-08-13 20:17:34 +01:00
Bram Moolenaar
e38fc86180
patch 9.0.0193: search and match highlgith interfere with virtual text
...
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-11 17:24:50 +01:00
Bram Moolenaar
87f3a2ca3d
patch 9.0.0189: invalid memory access for text prop without highlight
...
Problem: Invalid memory access for text prop without highlight.
Solution: Check for a valid highlight ID.
2022-08-10 20:50:23 +01:00
Bram Moolenaar
3331dd0351
patch 9.0.0186: virtual text without highlighting does not show
...
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-10 16:49:02 +01:00
Bram Moolenaar
952c9b02f8
patch 9.0.0185: virtual text does not show if text prop at same position
...
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-10 16:00:33 +01:00
Bram Moolenaar
1d8844aa59
patch 9.0.0184: virtual text prop highlight continues after truncation
...
Problem: Virtual text prop highlight continues after truncation.
Solution: Recompute the length of attributes.
2022-08-10 13:39:35 +01:00
Bram Moolenaar
52de3a8d39
patch 9.0.0183: extra space after virtual text when 'linebreak' is set
...
Problem: Extra space after virtual text when 'linebreak' is set.
Solution: Do not count virtual text when getting linebreak value.
(closes #10884 )
2022-08-10 13:12:03 +01:00
Christian Brabandt
afa23d1b99
patch 9.0.0175: spell checking for capital not working with trailing space
...
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-09 12:25:10 +01:00
Bram Moolenaar
6e5c61119a
patch 9.0.0171: quickfix line highlight is overruled by 'cursorline'
...
Problem: Quickfix line highlight is overruled by 'cursorline'.
Solution: Reverse the combination of attributes. (closes #10654 )
2022-08-08 16:03:06 +01:00
Bram Moolenaar
73c3842fa5
patch 9.0.0162: text property "below" gets indent if 'breakindent' is set
...
Problem: Text property "below" gets indent if 'breakindent' is set. (Tim
Pope)
Solution: Do not put indent before text property. (closes #10859 )
2022-08-07 11:53:40 +01:00
Bram Moolenaar
bf9158408a
patch 9.0.0161: warning for uninitialized variable
...
Problem: Warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize line_attr_save.
2022-08-06 22:38:02 +01:00
Bram Moolenaar
83bf11a1ff
patch 9.0.0160: some diff mode tests fail
...
Problem: Some diff mode tests fail.
Solution: Only advance "ptr" when a text property follows.
2022-08-06 22:23:40 +01:00
Bram Moolenaar
48ca24d913
patch 9.0.0158: with 'nowrap' "below" property not displayed correctly
...
Problem: With 'nowrap' "below" property not displayed correctly.
Solution: Adjust virtual text with 'nowrap', do not truncate.
2022-08-06 22:03:20 +01:00
Bram Moolenaar
cba6952e34
patch 9.0.0157: 'showbreak' displayed below truncated "after" text prop
...
Problem: 'showbreak' displayed below truncated "after" text prop.
Solution: Suppress 'showbreak' when "after" prop doesn't wrap.
2022-08-06 21:03:53 +01:00
Bram Moolenaar
db9b96d844
patch 9.0.0155
...
Problem: No test for what patch 9.0.0155 fixes.
Solution: Add a test. Fix typos. (closes #10822 )
2022-08-06 17:38:53 +01:00
Bram Moolenaar
1306b36a7b
patch 9.0.0153: no fold and sign column for virtual text with "below" align
...
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-06 15:59:06 +01:00
Bram Moolenaar
e2086350d3
patch 9.0.0152: warning for unused argument in small build
...
Problem: Warning for unused argument in small build.
Solution: Add "UNUSED".
2022-08-06 14:21:52 +01:00
Bram Moolenaar
4d91d347e6
patch 9.0.0151: a "below" aligned text property does not work with 'nowrap'
...
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-06 13:48:20 +01:00
Bram Moolenaar
3ec3b8e92d
patch 9.0.0148: a "below" aligned text property gets 'showbreak' displayed
...
Problem: A "below" aligned text property gets 'showbreak' displayed.
Solution: Do not use 'showbreak' before or in virtual text. (issue #10851 )
2022-08-05 21:39:30 +01:00
Bram Moolenaar
4d2031fdbe
patch 9.0.0146: missing part of change for "override" flag
...
Problem: Missing part of change for "override" flag.
Solution: Add the missing change.
2022-08-05 20:03:55 +01:00
Bram Moolenaar
398649ee44
patch 9.0.0139: truncating virtual text after a line not implemented
...
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-04 15:03:48 +01:00
Bram Moolenaar
09ff4b54fb
patch 9.0.0132: multi-byte characters in virtual text not handled correctly
...
Problem: Multi-byte characters in virtual text not handled correctly.
Solution: Count screen cells instead of bytes.
2022-08-01 16:51:02 +01:00
Bram Moolenaar
1f4ee19eef
patch 9.0.0130: cursor position wrong when inserting around virtual text
...
Problem: Cursor position wrong when inserting around virtual text.
Solution: Update the cursor position properly.
2022-08-01 15:52:55 +01:00
Bram Moolenaar
b7963df98f
patch 9.0.0121: cannot put virtual text after or below a line
...
Problem: Cannot put virtual text after or below a line.
Solution: Add "text_align" and "text_wrap" arguments.
2022-07-31 17:12:43 +01:00