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
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
28c9f89571
patch 9.0.0205: cursor in wrong position when inserting after virtual text
...
Problem: Cursor in wrong position when inserting after virtual text. (Ben
Jackson)
Solution: Put the cursor after the virtual text, where the text will be
inserted. (closes #10914 )
2022-08-14 13:28:55 +01:00
Bram Moolenaar
f0ccfa474a
patch 9.0.0199: cursor position wrong with two right-aligned virtual texts
...
Problem: Cursor position wrong with two right-aligned virtual texts.
Solution: Add the padding for right-alignment. (issue #10906 )
2022-08-13 16:41: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 )
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 )
2022-08-09 16:55:41 +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 )
2022-08-08 11:07:47 +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
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 )
2022-08-05 20:25:50 +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 )
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.
2022-08-05 11:45:17 +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
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'.
2022-08-04 13:01: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
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.
2022-08-01 12:06:40 +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.
2022-08-01 11:17:40 +01:00
Bram Moolenaar
c146d974f1
patch 9.0.0123: cannot build with small features
...
Problem: Cannot build with small features.
Solution: Add #ifdef.
2022-07-31 18:03:57 +01:00
Bram Moolenaar
be33e5e4a9
patch 9.0.0122: breakindent test fails
...
Problem: Breakindent test fails.
Solution: Fix condition.
2022-07-31 18:00:10 +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
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
34a1f77979
patch 9.0.0074: Coverity warns for double free
...
Problem: Coverity warns for double free.
Solution: Reset cts_text_prop_count when freeing cts_text_props.
2022-07-26 11:20:48 +01:00
Bram Moolenaar
fe3fb6e1e6
patch 9.0.0068: build fails with tiny features
...
Problem: Build fails with tiny features.
Solution: Add #ifdef.
2022-07-25 18:35:15 +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
338bf58eba
patch 8.2.5004: right shift on negative number does not work as documented
...
Problem: Right shift on negative number does not work as documented.
Solution: Use a uvarnumber_T type cast.
2022-05-22 20:16:32 +01:00
Bram Moolenaar
8e145b8246
patch 8.2.4993: smart/C/lisp indenting is optional
...
Problem: smart/C/lisp indenting is optional, which makes the code more
complex, while it only reduces the executable size a bit.
Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
2022-05-21 20:17:31 +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
=?UTF-8?q?Dundar=20G=C3=B6c?=
f01a653ac5
patch 8.2.4531: LGTM warnings for condition and buffer size
...
Problem: LGTM warnings for condition always true and buffer size too small.
Solution: Remove the useless condition. Make the buffer larger. (Goc
Dundar, closes #9914 )
2022-03-09 13:00:54 +00:00
Bram Moolenaar
21efafe4c2
patch 8.2.4501: with 'showbreak' set cursor displayed in wrong position
...
Problem: With 'showbreak' set and after the end of the line the cursor
may be displayed in the wrong position.
Solution: Do not apply 'showbreak' after the end of the line. (closes #9884 )
2022-03-03 20:04:03 +00:00
Bram Moolenaar
5921aeb574
patch 8.2.4418: crash when using special multi-byte character
...
Problem: Crash when using special multi-byte character.
Solution: Don't use isalpha() for an arbitrary character.
2022-02-19 11:20:12 +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
Bram Moolenaar
424bcae1fb
patch 8.2.4273: the EBCDIC support is outdated
...
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
2022-01-31 14:59:41 +00:00
Dominique Pelle
748b308eeb
patch 8.2.4038: various code not used when features are disabled
...
Problem: Various code not used when features are disabled.
Solution: Add #ifdefs. (Dominique Pellé, closes #9491 )
2022-01-08 12:41:16 +00:00
Bram Moolenaar
94f3192b03
patch 8.2.3950: going beyond the end of the line with /\%V
...
Problem: Going beyond the end of the line with /\%V.
Solution: Check for valid column in getvcol().
2021-12-30 15:29:18 +00:00
Bram Moolenaar
ce7eada12e
patch 8.2.3815: Vim9: cannot have a multi-line dict inside a block
...
Problem: Vim9: cannot have a multi-line dict inside a block.
Solution: Do not split the command at a line break, handle NL characters
as white space.
2021-12-15 15:41:44 +00:00
Bram Moolenaar
af377e34b0
patch 8.2.3694: cannot use quotes in the count of an Ex command
...
Problem: Cannot use quotes in the count of an Ex command.
Solution: Add getdigits_quoted(). Give an error when misplacing a quote in
a range. (closes #9240 )
2021-11-29 12:12:43 +00:00
Bram Moolenaar
93ff6720fe
patch 8.2.3522: cannot use \x and \u when setting 'listchars'
...
Problem: Cannot use \x and \u when setting 'listchars'.
Solution: Support hex and unicode in hex form. (closes #9006 )
2021-10-16 17:51:40 +01:00
Dominique Pelle
4781d6fd86
patch 8.2.2871: unnessary VIM_ISDIGIT() calls, badly indented code
...
Problem: Unnessary VIM_ISDIGIT() calls, badly indented code.
Solution: Call skipdigits() on the next character. Improve indenting.
(Dominique Pellé, closes #8227 )
2021-05-18 21:46:31 +02:00
Bram Moolenaar
e3d1f4c982
patch 8.2.2728: special key names don't work if 'isident' is cleared
...
Problem: Special key names don't work if 'isident' is cleared.
Solution: Add vim_isNormalIDc() and use it for special key names.
(closes #2389 )
2021-04-06 20:21:59 +02:00
Bram Moolenaar
8b9abfd86c
patch 8.2.2675: directory change in a terminal window shell is not followed
...
Problem: Directory change in a terminal window shell is not followed.
Solution: Add the 'autoshelldir' option. (closes #6290 )
2021-03-29 20:49:05 +02: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
c37b655443
patch 8.2.2309: 0o777 not recognized as octal
...
Problem: 0o777 not recognized as octal.
Solution: Use vim_isodigit(). (Ken Takata, closes #7633 , closes #7631 )
2021-01-07 19:36:30 +01:00
Bram Moolenaar
32ee627750
patch 8.2.0943: displaying ^M or ^J depends on current buffer
...
Problem: Displaying ^M or ^J depends on current buffer.
Solution: Pass the displayed buffer to transchar(). (closes #6225 )
2020-06-10 14:16:49 +02:00
Bram Moolenaar
c17e66c5c0
patch 8.2.0886: cannot use octal numbers in scriptversion 4
...
Problem: Cannot use octal numbers in scriptversion 4.
Solution: Add the "0o" notation. (Ken Takata, closes #5304 )
2020-06-02 21:38:22 +02:00
Bram Moolenaar
a80faa8930
patch 8.2.0559: clearing a struct is verbose
...
Problem: Clearing a struct is verbose.
Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
2020-04-12 19:37:17 +02:00
Bram Moolenaar
4b96df5a01
patch 8.2.0156: various typos in source files and tests
...
Problem: Various typos in source files and tests.
Solution: Fix the typos. (Emir Sari, closes #5532 )
2020-01-26 22:00:26 +01:00
Bram Moolenaar
c667da5185
patch 8.1.2368: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-11-30 20:52:27 +01:00
Bram Moolenaar
ee85702c10
patch 8.1.2281: 'showbreak' cannot be set for one window
...
Problem: 'showbreak' cannot be set for one window.
Solution: Make 'showbreak' global-local.
2019-11-09 23:26:40 +01:00
Bram Moolenaar
1ac90b4fa6
patch 8.1.2036: the str2nr() tests fail
...
Problem: The str2nr() tests fail.
Solution: Add missing part of patch.
2019-09-15 14:49:52 +02:00
Bram Moolenaar
e2c453d38f
patch 8.1.1901: the +insert_expand feature is not always available
...
Problem: The +insert_expand feature is not always available.
Solution: Graduate the +insert_expand feature.
2019-08-21 14:37:09 +02:00
Bram Moolenaar
5843f5f37b
patch 8.1.1891: functions used in one file are global
...
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes #4840 )
2019-08-20 20:13:45 +02:00