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
Bram Moolenaar
711483cd13
patch 9.0.0116: virtual text not displayed if 'signcolumn' is "yes"
...
Problem: Virtual text not displayed if 'signcolumn' is "yes".
Solution: Set c_extra and c_final to NUL.
2022-07-30 21:33:46 +01:00
Mike Williams
0494789ece
patch 9.0.0080: compiler warning for size_t to int conversion
...
Problem: Compiler warning for size_t to int conversion.
Solution: Add type casts. (Mike Williams, closes #10795 )
2022-07-26 16:03:42 +01:00
Bram Moolenaar
be3dbda871
patch 9.0.0075: some compilers warn for using an uninitialized variable
...
Problem: Some compilers warn for using an uninitialized variable. (Tony
Mechelynck)
Solution: Initialize the variable.
2022-07-26 11:42:34 +01:00
Bram Moolenaar
6d023f98df
patch 9.0.0072: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable.
Solution: Initialize it. (John Marriott)
2022-07-25 21:15:45 +01:00
Bram Moolenaar
7f9969c559
patch 9.0.0067: cannot show virtual text
...
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
2022-07-25 18:13:54 +01:00
Bram Moolenaar
b90818867c
patch 9.0.0048: cursor in wrong column with mouse click after concealed text
...
Problem: Cursor in wrong column with mouse click after concealed text.
Solution: Store the text column when drawing text.
2022-07-09 04:56:24 +01:00
Bram Moolenaar
96ba25ac01
patch 9.0.0036: 'fillchars' cannot have window-local values
...
Problem: 'fillchars' cannot have window-local values.
Solution: Make 'fillchars' global-local. (closes #5206 )
2022-07-04 17:34:33 +01:00
Bram Moolenaar
7fe956d176
patch 9.0.0032: in the quickfix window 'cursorline' overrules QuickFixLine
...
Problem: In the quickfix window 'cursorline' overrules QuickFixLine
highlighting.
Solution: Combine the attributes. Add a test. (closes #10654 )
2022-07-03 14:21:09 +01:00
zeertzjq
2e7cba347f
patch 8.2.5076: unnecessary code
...
Problem: Unnecessary code.
Solution: Remove code and replace with function call. (closes #10552 )
2022-06-10 15:30:32 +01:00
Bram Moolenaar
aca12fd89b
patch 8.2.5066: timer_create is not available on every Mac system
...
Problem: Timer_create is not available on every Mac system. (Hisashi T
Fujinaka)
Solution: Adjust #ifdef.
2022-06-07 10:16:15 +01:00
LemonBoy
9830db6305
patch 8.2.4918: conceal character from matchadd() displayed too many times
...
Problem: Conceal character from matchadd() displayed too many times.
Solution: Check the syntax flag. (closes #10381 , closes #7268 )
2022-05-08 21:25:20 +01:00
Bram Moolenaar
249591057b
patch 8.2.4911: the mode #defines are not clearly named
...
Problem: The mode #defines are not clearly named.
Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-05-07 20:01:16 +01:00
zeertzjq
c20e46a4e3
patch 8.2.4614: redrawing too much when 'cursorline' is set
...
Problem: Redrawing too much when 'cursorline' is set and jumping around.
Solution: Rely on win_update() to redraw the current and previous cursor
line, do not mark lines as modified. (closes #9996 )
2022-03-23 14:55:23 +00:00
Bram Moolenaar
fe154990c1
patch 8.2.4610: some conditions are always true
...
Problem: Some conditions are always true.
Solution: Remove the useless conditions. (closes #9993 )
2022-03-22 20:42:12 +00:00
zeertzjq
754d2b4036
patch 8.2.4557: confusing comment about 'cursorlineopt'
...
Problem: Confusing comment about 'cursorlineopt'.
Solution: Adjust comment. (closes #9939 ) Add parenthesis around logical
OR.
2022-03-13 13:40:45 +00:00
Bram Moolenaar
936dc6014c
patch 8.2.4521: build failure without the +diff feature
...
Problem: Build failure without the +diff feature. (John Marriott)
Solution: Define filler+lines if not declaring it.
2022-03-06 20:47:01 +00:00
Bram Moolenaar
127969cf98
patch 8.2.4520: using wrong highlight for cursor line number
...
Problem: Using wrong highlight for cursor line number.
Solution: Take filler lines into account when using CursorLineNr.
(closes #9897 )
2022-03-06 19:54:13 +00:00
Bram Moolenaar
ae49aa8434
patch 8.2.4470: Coverity warns for uninitialized variable
...
Problem: Coverity warns for uninitialized variable.
Solution: Set can_spell to zero.
2022-02-25 21:05:36 +00:00
kylo252
ae6f1d8b14
patch 8.2.4402: missing parenthesis may cause unexpected problems
...
Problem: Missing parenthesis may cause unexpected problems.
Solution: Add more parenthesis is macros. (closes #9788 )
2022-02-16 19:24:07 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
d5cec1f1f0
patch 8.2.4255: theoretical computation overflow
...
Problem: Theoretical computation overflow.
Solution: Perform multiplication in a wider type. (closes #9657 )
2022-01-29 15:19:23 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
420fabcd4f
patch 8.2.4241: some type casts are redundant
...
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes #9643 )
2022-01-28 15:28:04 +00:00
Bram Moolenaar
0bbca540f7
patch 8.2.4062: match highlighting of tab too short
...
Problem: Match highlighting of tab too short.
Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt,
closes #9507 , closes #9500 )
2022-01-11 13:14:54 +00:00
Dominique Pelle
af4a61a85d
patch 8.2.3914: various spelling mistakes in comments
...
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416 )
2021-12-27 17:21:41 +00:00
James McCoy
a80aad7174
patch 8.2.3874: cannot highlight the number column for a sign
...
Problem: Cannot highlight the number column for a sign.
Solution: Add the "numhl" argument. (James McCoy, closes #9381 )
2021-12-22 19:45:28 +00:00
Bram Moolenaar
acdc911e4e
patch 8.2.3723: when using 'linebreak' a text property starts too early
...
Problem: When using 'linebreak' a text property starts too early.
Solution: Decrement "bcol" when looking for property start. (closes #9242 )
2021-12-02 19:46:57 +00:00
Bram Moolenaar
3569c0de67
patch 8.2.3718: compiler warns for unused variable without +textprop
...
Problem: Compiler warns for unused variable without the +textprop feature.
(John Marriott)
Solution: Adjust #ifdefs.
2021-12-02 11:34:21 +00:00
Bram Moolenaar
42eba04522
patch 8.2.3706: text property highlighting is used on Tab
...
Problem: Text property highlighting is used on Tab.
Solution: Only set in_linebreak when not on a Tab. (closes #9242 )
2021-11-30 20:22:49 +00:00