summaryrefslogtreecommitdiff
path: root/src/charset.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.0751: 'scrolloff' does not work well with 'smoothscroll'v9.0.0751Bram Moolenaar2022-10-141-3/+14
| | | | | Problem: 'scrolloff' does not work well with 'smoothscroll'. Solution: Make positioning the cursor a bit better. Rename functions.
* patch 9.0.0747: too many #ifdefsv9.0.0747Martin Tournoij2022-10-131-1/+1
| | | | | | Problem: Too many #ifdefs. Solution: Gradudate the +cmdline_info feature. (Martin Tournoij, closes #11330)
* patch 9.0.0709: virtual text "after" not correct with 'nowrap'v9.0.0709Bram Moolenaar2022-10-091-1/+1
| | | | | | Problem: Virtual text "after" not correct with 'nowrap'. Solution: Do not display "after" text prop on the next line when 'wrap' is off.
* patch 9.0.0488: cursor wrong with virtual text "above" and 'showbreak'v9.0.0488Bram Moolenaar2022-09-171-0/+3
| | | | | | Problem: Cursor in wrong position with virtual text "above" and 'showbreak'. Solution: Take the first character column into account. (closes #11149)
* patch 9.0.0464: with virtual text "above" indenting doesn't work wellv9.0.0464Bram Moolenaar2022-09-141-1/+1
| | | | | Problem: With virtual text "above" indenting doesn't work well. Solution: Ignore text properties while adjusting indent. (issue #11084)
* patch 9.0.0439: cursor wrong if inserting before line with virtual text abovev9.0.0439Bram Moolenaar2022-09-101-0/+3
| | | | | | Problem: Cursor wrong if inserting before line with virtual text above. Solution: Add the width of the "above" virtual text to the cursor position. (issue #11084)
* patch 9.0.0438: cannot put virtual text above a linev9.0.0438Bram Moolenaar2022-09-101-37/+14
| | | | | Problem: Cannot put virtual text above a line. Solution: Add the "above" value for "text_align".
* patch 9.0.0412: compiler warning for unused argumentv9.0.0412Bram Moolenaar2022-09-071-1/+1
| | | | | Problem: Compiler warning for unused argument. Solution: Add UNUSED.
* patch 9.0.0410: struct member cts_lnum is unusedv9.0.0410Bram Moolenaar2022-09-071-1/+0
| | | | | Problem: Struct member cts_lnum is unused. Solution: Delete it.
* patch 9.0.0297: cursor position wrong after right aligned virtual textv9.0.0297Bram Moolenaar2022-08-281-2/+3
| | | | | | | Problem: Cursor position wrong after right aligned virtual text. (Iizuka Masashi) Solution: Take the width of the column offset into account. (closes #10997) Also fix virtual text positioning.
* patch 9.0.0247: cannot add padding to virtual text without highlightv9.0.0247Bram Moolenaar2022-08-231-45/+48
| | | | | Problem: Cannot add padding to virtual text without highlight. Solution: Add the "text_padding_left" argument. (issue #10906)
* patch 9.0.0210: 'list' mode does not work properly with virtual textv9.0.0210Bram Moolenaar2022-08-141-0/+5
| | | | | Problem: 'list' mode does not work properly with virtual text. Solution: Show the "$" at the right position. (closes #10913)
* patch 9.0.0205: cursor in wrong position when inserting after virtual textv9.0.0205Bram Moolenaar2022-08-141-1/+4
| | | | | | | 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)
* patch 9.0.0199: cursor position wrong with two right-aligned virtual textsv9.0.0199Bram Moolenaar2022-08-131-2/+12
| | | | | Problem: Cursor position wrong with two right-aligned virtual texts. Solution: Add the padding for right-alignment. (issue #10906)
* patch 9.0.0179: cursor pos wrong with wrapping virtual text in empty linev9.0.0179Bram Moolenaar2022-08-091-10/+41
| | | | | Problem: Cursor position wrong with wrapping virtual text in empty line. Solution: Adjust handling of an empty line. (closes #10875)
* patch 9.0.0178: cursor position wrong with virtual text before Tabv9.0.0178Bram Moolenaar2022-08-091-7/+17
| | | | | | 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)
* patch 9.0.0168: cursor positioned wrong with two virtual text propertiesv9.0.0168Bram Moolenaar2022-08-081-2/+6
| | | | | | Problem: Cursor positioned wrong with two virtual text properties close together. (Ben Jackson) Solution: Add the original size, not the computed one. (closes #10864)
* patch 9.0.0157: 'showbreak' displayed below truncated "after" text propv9.0.0157Bram Moolenaar2022-08-061-2/+6
| | | | | Problem: 'showbreak' displayed below truncated "after" text prop. Solution: Suppress 'showbreak' when "after" prop doesn't wrap.
* patch 9.0.0147: cursor positioned wrong after two "below" text propertiesv9.0.0147Bram Moolenaar2022-08-051-1/+1
| | | | | | 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)
* patch 9.0.0143: cursor positioned after virtual text in empty linev9.0.0143Bram Moolenaar2022-08-051-1/+1
| | | | | Problem: Cursor positioned after virtual text in empty line. Solution: Keep cursor in the first column. (closes #10786)
* patch 9.0.0142: crash when adding and removing virtual textv9.0.0142Bram Moolenaar2022-08-051-26/+32
| | | | | Problem: Crash when adding and removing virtual text. (Ben Jackson) Solution: Check that the text of the text property still exists.
* patch 9.0.0139: truncating virtual text after a line not implementedv9.0.0139Bram Moolenaar2022-08-041-15/+61
| | | | | | | 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)
* patch 9.0.0138: not enough characters accepted for 'spellfile'v9.0.0138Bram Moolenaar2022-08-041-2/+15
| | | | | Problem: Not enough characters accepted for 'spellfile'. Solution: Add vim_is_fname_char() and use it for 'spellfile'.
* patch 9.0.0132: multi-byte characters in virtual text not handled correctlyv9.0.0132Bram Moolenaar2022-08-011-4/+4
| | | | | Problem: Multi-byte characters in virtual text not handled correctly. Solution: Count screen cells instead of bytes.
* patch 9.0.0128: Coverity complains about possible double freev9.0.0128Bram Moolenaar2022-08-011-7/+4
| | | | | Problem: Coverity complains about possible double free. Solution: Clear the pointer to avoid warnings.
* patch 9.0.0125: cursor positioned wrong with virtual text after the linev9.0.0125Bram Moolenaar2022-08-011-0/+1
| | | | | Problem: Cursor positioned wrong with virtual text after the line. Solution: Clear cts_with_trailing.
* patch 9.0.0123: cannot build with small featuresv9.0.0123Bram Moolenaar2022-07-311-0/+2
| | | | | Problem: Cannot build with small features. Solution: Add #ifdef.
* patch 9.0.0122: breakindent test failsv9.0.0122Bram Moolenaar2022-07-311-1/+1
| | | | | Problem: Breakindent test fails. Solution: Fix condition.
* patch 9.0.0121: cannot put virtual text after or below a linev9.0.0121Bram Moolenaar2022-07-311-5/+15
| | | | | Problem: Cannot put virtual text after or below a line. Solution: Add "text_align" and "text_wrap" arguments.
* patch 9.0.0080: compiler warning for size_t to int conversionv9.0.0080Mike Williams2022-07-261-1/+1
| | | | | Problem: Compiler warning for size_t to int conversion. Solution: Add type casts. (Mike Williams, closes #10795)
* patch 9.0.0074: Coverity warns for double freev9.0.0074Bram Moolenaar2022-07-261-0/+3
| | | | | Problem: Coverity warns for double free. Solution: Reset cts_text_prop_count when freeing cts_text_props.
* patch 9.0.0068: build fails with tiny featuresv9.0.0068Bram Moolenaar2022-07-251-1/+5
| | | | | Problem: Build fails with tiny features. Solution: Add #ifdef.
* patch 9.0.0067: cannot show virtual textv9.0.0067Bram Moolenaar2022-07-251-82/+225
| | | | | Problem: Cannot show virtual text. Solution: Initial changes for virtual text support, using text properties.
* patch 8.2.5004: right shift on negative number does not work as documentedv8.2.5004Bram Moolenaar2022-05-221-0/+1
| | | | | Problem: Right shift on negative number does not work as documented. Solution: Use a uvarnumber_T type cast.
* patch 8.2.4993: smart/C/lisp indenting is optionalv8.2.4993Bram Moolenaar2022-05-211-2/+0
| | | | | | 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.
* patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar2022-05-071-1/+1
| | | | | Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
* patch 8.2.4531: LGTM warnings for condition and buffer sizev8.2.4531=?UTF-8?q?Dundar=20G=C3=B6c?=2022-03-091-1/+1
| | | | | | 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)
* patch 8.2.4501: with 'showbreak' set cursor displayed in wrong positionv8.2.4501Bram Moolenaar2022-03-031-1/+2
| | | | | | 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)
* patch 8.2.4418: crash when using special multi-byte characterv8.2.4418Bram Moolenaar2022-02-191-0/+6
| | | | | Problem: Crash when using special multi-byte character. Solution: Don't use isalpha() for an arbitrary character.
* patch 8.2.4402: missing parenthesis may cause unexpected problemsv8.2.4402kylo2522022-02-161-3/+3
| | | | | Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. (closes #9788)
* patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273Bram Moolenaar2022-01-311-104/+3
| | | | | Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
* patch 8.2.4038: various code not used when features are disabledv8.2.4038Dominique Pelle2022-01-081-0/+2
| | | | | Problem: Various code not used when features are disabled. Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
* patch 8.2.3950: going beyond the end of the line with /\%Vv8.2.3950Bram Moolenaar2021-12-301-4/+9
| | | | | Problem: Going beyond the end of the line with /\%V. Solution: Check for valid column in getvcol().
* patch 8.2.3815: Vim9: cannot have a multi-line dict inside a blockv8.2.3815Bram Moolenaar2021-12-151-2/+15
| | | | | | 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.
* patch 8.2.3694: cannot use quotes in the count of an Ex commandv8.2.3694Bram Moolenaar2021-11-291-1/+33
| | | | | | 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)
* patch 8.2.3522: cannot use \x and \u when setting 'listchars'v8.2.3522Bram Moolenaar2021-10-161-3/+0
| | | | | Problem: Cannot use \x and \u when setting 'listchars'. Solution: Support hex and unicode in hex form. (closes #9006)
* patch 8.2.2871: unnessary VIM_ISDIGIT() calls, badly indented codev8.2.2871Dominique Pelle2021-05-181-4/+2
| | | | | | Problem: Unnessary VIM_ISDIGIT() calls, badly indented code. Solution: Call skipdigits() on the next character. Improve indenting. (Dominique Pellé, closes #8227)
* patch 8.2.2728: special key names don't work if 'isident' is clearedv8.2.2728Bram Moolenaar2021-04-061-0/+10
| | | | | | Problem: Special key names don't work if 'isident' is cleared. Solution: Add vim_isNormalIDc() and use it for special key names. (closes #2389)
* patch 8.2.2675: directory change in a terminal window shell is not followedv8.2.2675Bram Moolenaar2021-03-291-1/+2
| | | | | Problem: Directory change in a terminal window shell is not followed. Solution: Add the 'autoshelldir' option. (closes #6290)
* patch 8.2.2518: 'listchars' should be window-localv8.2.2518Bram Moolenaar2021-02-151-4/+4
| | | | | | Problem: 'listchars' should be window-local. Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz, closes #5206, closes #7850)