0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

17566 Commits

Author SHA1 Message Date
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)
v9.0.0186
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)
v9.0.0185
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.
v9.0.0184
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)
v9.0.0183
2022-08-10 13:12:03 +01:00
smjonas
3a9687fb27 patch 9.0.0182: quarto files are not recognized
Problem:    Quarto files are not recognized.
Solution:   Recognize quarto files by the extension. (Jonas Strittmatter,
            closes #10880)
v9.0.0182
2022-08-10 11:48:10 +01:00
Bram Moolenaar
e5a0e8c1d7 patch 9.0.0181: textprop test with line2byte() fails on MS-Windows
Problem:    Textprop test with line2byte() fails on MS-Windows.
Solution:   Fix updating chuncks in ml_delete_int().
v9.0.0181
2022-08-09 21:37:55 +01:00
Bram Moolenaar
ef257e7bd1 patch 9.0.0180: stray logfile appears when running tests
Problem:    Stray logfile appears when running tests.
Solution:   Remove ch_logfile() calls.
v9.0.0180
2022-08-09 19:30:19 +01:00
Bram Moolenaar
49a90792d9 patch 9.0.0179: cursor pos wrong with wrapping virtual text in empty line
Problem:    Cursor position wrong with wrapping virtual text in empty line.
Solution:   Adjust handling of an empty line. (closes #10875)
v9.0.0179
2022-08-09 18:25:23 +01:00
Bram Moolenaar
e428fa04a7 patch 9.0.0178: cursor position wrong with virtual text before Tab
Problem:    Cursor position wrong with virtual text before Tab.
Solution:   Use the byte length, not the cell with, to compare the column.
            Correct tab size after text prop. (closes #10866)
v9.0.0178
2022-08-09 16:55:41 +01:00
Bram Moolenaar
8f49e690dc patch 9.0.0177: cursor position wrong with 'virtualedit' and mouse click
Problem:    Cursor position wrong with 'virtualedit' and mouse click after end
            of the line. (Hermann Mayer)
Solution:   Do not use ScreenCols[] when 'virtualedit' is active.
            (closes #10868)
v9.0.0177
2022-08-09 14:19:40 +01:00
zeertzjq
8ca29b6a35 patch 9.0.0176: checking character options is duplicated and incomplete
Problem:    Checking character options is duplicated and incomplete.
Solution:   Move checking to check_chars_options(). (closes #10863)
v9.0.0176
2022-08-09 12:53:14 +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)
v9.0.0175
2022-08-09 12:25:10 +01:00
Bram Moolenaar
ad6d9cc679 patch 9.0.0174: no error for using "#{ comment" in a compiled function
Problem:    No error for using "#{ comment" in a compiled function.
Solution:   Make error checking for "#{" consistent. (closes #10855)
v9.0.0174
2022-08-08 21:43:11 +01:00
Bram Moolenaar
e6a3d81e05 patch 9.0.0173: assert fails only on MS-Windows
Problem:    Assert fails only on MS-Windows.
Solution:   Disable the assert for now.
v9.0.0173
2022-08-08 18:12:30 +01:00
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