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
Bram Moolenaar
6b839ac775
patch 8.2.3700: text property highlighting continues over breakindent
...
Problem: Text property highlighting continues over breakindent.
Solution: Stop before the end column. (closes #9242 )
2021-11-29 21:12:35 +00:00
Bram Moolenaar
0c359af5c0
patch 8.2.3698: match highlighting continues over breakindent
...
Problem: Match highlighting continues over breakindent.
Solution: Stop before the end column. (closes #9242 )
2021-11-29 19:18:57 +00:00
Bram Moolenaar
e413ea04b7
patch 8.2.3664: cannot adjust sign highlighting for 'cursorline'
...
Problem: Cannot adjust sign highlighting for 'cursorline'.
Solution: Add CursorLineSign and CursorLineFold highlight groups.
(Gregory Anders, closes #9201 )
2021-11-24 16:20:13 +00:00
zeertzjq
f14b8ba137
patch 8.2.3424: a sequence of spaces is hard to see in list mode
...
Problem: A sequence of spaces is hard to see in list mode.
Solution: Add the "multispace" option to 'listchars'. (closes #8834 )
2021-09-10 16:58:30 +02:00
Bram Moolenaar
89a54b413a
patch 8.2.3410: crash with linebreak, listchars and large tabstop
...
Problem: Crash with linebreak, listchars and large tabstop.
Solution: Account for different size listchars for a tab. (closes #8841 )
2021-09-07 20:45:31 +02:00
Bram Moolenaar
20e0c3d27b
patch 8.2.3391: crash with combination of 'linebreak' and other options
...
Problem: Crash with combination of 'linebreak' and other options.
Solution: Avoid n_extra to become negative. (Christian Brabandt,
closes #8817 )
2021-08-31 20:57:55 +02:00
zeertzjq
4f33bc20d7
patch 8.2.3295: 'cursorline' should not apply to 'breakindent'
...
Problem: 'cursorline' should not apply to 'breakindent'.
Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak'
consistently. (closes #8684 )
2021-08-05 17:57:02 +02:00
Bram Moolenaar
41fb723ee9
patch 8.2.3121: 'listchars' "exceeds" character appears in foldcolumn
...
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 )
2021-07-08 12:40:05 +02:00
Christian Brabandt
29f0dc3689
patch 8.2.3012: when 'rightleft' is set the line number is drawn reversed
...
Problem: When 'rightleft' is set the line number is sometimes drawn
reversed.
Solution: Adjust how space is handled. (Christian Brabandt, closes #8389 ,
closes #8391 )
2021-06-16 19:28:34 +02:00
Bram Moolenaar
a06e345af5
patch 8.2.2903: cursor position wrong on wrapped line with 'signcolumn'
...
Problem: Cursor position wrong on wrapped line with 'signcolumn'.
Solution: Don't add space for showbreak twice. (Christian Brabandt,
closes #8262 )
2021-05-29 17:56:37 +02:00
Bram Moolenaar
2d5f385cee
patch 8.2.2797: Search highlight disappears in the Visual area
...
Problem: Search highlight disappears in the Visual area.
Solution: Combine the search attributes. (closes #8134 )
2021-04-21 15:11:42 +02:00
Bram Moolenaar
9355ae4149
patch 8.2.2577: compiler warning for type conversion
...
Problem: Compiler warning for type conversion.
Solution: Add a typecast. (Mike Williams)
2021-03-08 19:04:05 +01:00
Bram Moolenaar
4fa1175765
patch 8.2.2563: cannot use multibyte characters for folding in 'fillchars'
...
Problem: Cannot use multibyte characters for folding in 'fillchars'.
Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan,
closes #7924 )
2021-03-03 13:26:02 +01:00
Bram Moolenaar
eed9d46293
patch 8.2.2518: 'listchars' should be window-local
...
Problem: 'listchars' should be window-local.
Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
closes #5206 , closes #7850 )
2021-02-15 20:38:25 +01:00
Bram Moolenaar
f3fa18468c
patch 8.2.2493: text property for text left of window shows up
...
Problem: Text property for text left of window shows up.
Solution: Check if the text property ends before the current column.
(closes #7806 )
2021-02-10 17:20:28 +01:00
Bram Moolenaar
91478ae49a
patch 8.2.2454: leading space can not be made visible
...
Problem: Leading space can not be made visible.
Solution: Add "lead:" to 'listchars'. (closes #7772 )
2021-02-03 15:58:13 +01:00