Bram Moolenaar
1024690c01
patch 9.0.0172: trying to allocate zero bytes
...
Problem: Trying to allocate zero bytes.
Solution: Do not allocate the proptype array when there are none.
(closes #10867 )
v9.0.0172
2022-08-08 17:08:05 +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 )
v9.0.0171
2022-08-08 16:03:06 +01:00
Bram Moolenaar
113d9dec99
patch 9.0.0170: various minor code formatting issues
...
Problem: Various minor code formatting issues.
Solution: Improve code formatting.
v9.0.0170
2022-08-08 15:49:18 +01:00
Bram Moolenaar
48c3f4e0bf
Update runtime files
2022-08-08 15:42:38 +01:00
Bram Moolenaar
cf85d97baf
patch 9.0.0169: insufficient testing for line2byte() with text properties
...
Problem: Insufficient testing for line2byte() with text properties.
Solution: Add tests with a lot of text.
v9.0.0169
2022-08-08 14:59:47 +01:00
Bram Moolenaar
25463610df
patch 9.0.0168: cursor positioned wrong with two virtual text properties
...
Problem: Cursor positioned wrong with two virtual text properties close
together. (Ben Jackson)
Solution: Add the original size, not the computed one. (closes #10864 )
v9.0.0168
2022-08-08 11:07:47 +01:00
Bram Moolenaar
38ea2733b4
patch 9.0.0167: checking for text properties could be a bit more efficient
...
Problem: Checking for text properties could be a bit more efficient.
Solution: Return early when there are no text properties. Update TODO
items.
v9.0.0167
2022-08-07 22:04:56 +01:00
Bram Moolenaar
50652b0c5c
patch 9.0.0166: when using text properties line text length computed twice
...
Problem: When using text properties the line text length is computed twice.
Solution: If the text lenght was already computed don't do it again.
v9.0.0166
2022-08-07 21:48:37 +01:00
Bram Moolenaar
e44336b00a
patch 9.0.0165: looking up a text property type by ID is slow
...
Problem: Looking up a text property type by ID is slow.
Solution: Keep an array of property types sorted on ID.
v9.0.0165
2022-08-07 18:20:08 +01:00
Bram Moolenaar
c390cc13e5
patch 9.0.0164: using freed memory with put command
...
Problem: Using freed memory with put command.
Solution: Get byte offset before replacing the line.
v9.0.0164
2022-08-07 18:09:10 +01:00
Bram Moolenaar
ecb00c7b61
patch 9.0.0163: text property not adjusted for text inserted with "p"
...
Problem: Text property not adjusted for text inserted with "p".
Solution: Adjust column and length of text properties.
v9.0.0163
2022-08-07 14:55:14 +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 )
v9.0.0162
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.
v9.0.0161
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.
v9.0.0160
2022-08-06 22:23:40 +01:00
Bram Moolenaar
da70cf30ef
patch 9.0.0159: cannot build with small features
...
Problem: Cannot build with small features.
Solution: Check for E1170 only with FEAT_EVAL.
v9.0.0159
2022-08-06 22:13:03 +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.
v9.0.0158
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.
v9.0.0157
2022-08-06 21:03:53 +01:00
Bram Moolenaar
3f74c0ab32
patch 9.0.0156: giving E1170 only in an expression is confusing
...
Problem: Giving E1170 only in an expression is confusing.
Solution: Give E1170 for any "#{ comment". (closes #10855 )
v9.0.0156
2022-08-06 18:12:06 +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 )
v9.0.0155
2022-08-06 17:38:53 +01:00
Bram Moolenaar
7d0f7e9524
patch 9.0.0154: text properties wrong after splitting a line
...
Problem: Text properties wrong after splitting a line.
Solution: Check for text properties after the line. (closes #10857 )
v9.0.0154
2022-08-06 17:10:57 +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 )
v9.0.0153
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".
v9.0.0152
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 )
v9.0.0151
2022-08-06 13:48:20 +01:00
Bram Moolenaar
25f40af9d2
patch 9.0.0150: error for using #{ in an expression is a bit confusing
...
Problem: Error for using #{ in an expression is a bit confusing.
Solution: Mention that this error is only given for an expression.
Avoid giving the error more than once. (closes #10855 )
v9.0.0150
2022-08-06 11:35:28 +01:00
Bram Moolenaar
5ac4b1a24e
patch 9.0.0149: test for fuzzy completion fails sometimes
...
Problem: Test for fuzzy completion fails sometimes.
Solution: Use a more specific file name to minimize the chance of matching a
random directory name. (closes #10854 )
v9.0.0149
2022-08-06 10:28:19 +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 )
v9.0.0148
2022-08-05 21:39:30 +01:00
Bram Moolenaar
50e75fe8d8
patch 9.0.0147: cursor positioned wrong after two "below" text properties
...
Problem: Cursor positioned wrong after two text properties with virtual
text and "below" alignment. (Tim Pope)
Solution: Do not stop after a text property using MAXCOL. (closes #10849 )
v9.0.0147
2022-08-05 20:25:50 +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.
v9.0.0146
2022-08-05 20:03:55 +01:00
Bram Moolenaar
213bbaf15a
patch 9.0.0145: substitute that joins lines drops text properties
...
Problem: Substitute that joins lines drops text properties.
Solution: Move text properties of the last line to the new line.
v9.0.0145
2022-08-05 19:46:48 +01:00
Bram Moolenaar
f4ba8bc47e
patch 9.0.0144: text property cannot override 'cursorline' highlight
...
Problem: Text property cannot override 'cursorline' highlight.
Solution: Add the "override" flag to prop_type_add(). (closes #5533 ,
closes #8225 ).
v9.0.0144
2022-08-05 17:05:04 +01:00
Bram Moolenaar
afd2aa79ed
patch 9.0.0143: cursor positioned after virtual text in empty line
...
Problem: Cursor positioned after virtual text in empty line.
Solution: Keep cursor in the first column. (closes #10786 )
v9.0.0143
2022-08-05 13:07:23 +01:00
Bram Moolenaar
2f83cc4cfa
patch 9.0.0142: crash when adding and removing virtual text
...
Problem: Crash when adding and removing virtual text. (Ben Jackson)
Solution: Check that the text of the text property still exists.
v9.0.0142
2022-08-05 11:45:17 +01:00
zeertzjq
206fce307b
patch 9.0.0141: "delmenu" does not remove autocmmands
...
Problem: "delmenu" does not remove autocmmands. Running menu test function
alone fails.
Solution: Delete autocommands Make sure there is at least one menu.
(closes #10848 )
v9.0.0141
2022-08-05 10:52:30 +01:00
Kota Kato
3d3f6ac098
patch 9.0.0140: execute() does not use the "legacy" command modifier
...
Problem: execute() does not use the "legacy" command modifier.
Solution: pass the command modifier in sticky_cmdmod_flags. (Kota Kato,
closes #10845 )
v9.0.0140
2022-08-04 18:50:14 +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 )
v9.0.0139
2022-08-04 15:03:48 +01:00
Bram Moolenaar
bc49c5f48f
patch 9.0.0138: not enough characters accepted for 'spellfile'
...
Problem: Not enough characters accepted for 'spellfile'.
Solution: Add vim_is_fname_char() and use it for 'spellfile'.
v9.0.0138
2022-08-04 13:01:48 +01:00
James McCoy
db7a88db8b
patch 9.0.0137: debugger test may fail when $CWD is very long
...
Problem: Debugger test may fail when $CWD is very long.
Solution: Skip the test if the directory name is too long. (James McCoy,
closes #10837 )
v9.0.0137
2022-08-03 16:13:27 +01:00
Bram Moolenaar
d6212b80d6
patch 9.0.0136: after CTRL-Left-mouse click a mouse scroll also has CTRL
...
Problem: After CTRL-Left-mouse click a mouse scroll also has CTRL.
Solution: Reset orig_mouse_code also for wheel events. (closes #10840 )
v9.0.0136
2022-08-03 15:48:33 +01:00
zeertzjq
0b0ccbbfb0
patch 9.0.0135: comment about tabpage line above the wrong code
...
Problem: Comment about tabpage line above the wrong code.
Solution: Move the comment. (closes #10836 )
v9.0.0135
2022-08-02 12:15:51 +01:00
Bram Moolenaar
f05a1e59a3
patch 9.0.0134: no test for text property with column zero
...
Problem: No test for text property with column zero.
Solution: Add a test. Add message to assert for no open popups.
v9.0.0134
2022-08-02 11:48:53 +01:00
Bram Moolenaar
e175dc6911
patch 9.0.0133: virtual text after line moves to joined line
...
Problem: Virtual text after line moves to joined line. (Yegappan
Lakshmanan)
Solution: When joining lines only keep virtual text after the last line.
v9.0.0133
2022-08-01 22:18:50 +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.
v9.0.0132
2022-08-01 16:51:02 +01:00
Bram Moolenaar
783ef7214b
patch 9.0.0131: virtual text with Tab is not displayed correctly
...
Problem: Virtual text with Tab is not displayed correctly.
Solution: Change any Tab to a space.
v9.0.0131
2022-08-01 16:11:06 +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.
v9.0.0130
2022-08-01 15:52:55 +01:00
Bram Moolenaar
05a8061eec
Update runtime files
2022-08-01 15:09:53 +01:00
Mike Williams
ab146dac6b
patch 9.0.0129: compiler warning for int/size_t usage
...
Problem: Compiler warning for int/size_t usage.
Solution: Add a type cast. (Mike Williams, closes #10830 )
v9.0.0129
2022-08-01 14:00:31 +01:00
Bram Moolenaar
3f79b61288
patch 9.0.0128: Coverity complains about possible double free
...
Problem: Coverity complains about possible double free.
Solution: Clear the pointer to avoid warnings.
v9.0.0128
2022-08-01 12:06:40 +01:00
zeertzjq
e95f22f63a
patch 9.0.0127: unused variable
...
Problem: Unused variable.
Solution: Remove the variable. (closes #10829 )
v9.0.0127
2022-08-01 11:49:45 +01:00
John Drouhard
95fca12b0e
patch 9.0.0126: expanding file names fails in dir with more than 255 entries
...
Problem: Expanding file names fails in directory with more than 255
entries.
Solution: Use an int instead of char_u to count. (John Drouhard,
closes #10818 )
v9.0.0126
2022-08-01 11:38:17 +01:00
Bram Moolenaar
84b247fab7
patch 9.0.0125: cursor positioned wrong with virtual text after the line
...
Problem: Cursor positioned wrong with virtual text after the line.
Solution: Clear cts_with_trailing.
v9.0.0125
2022-08-01 11:17:40 +01:00