Bram Moolenaar
e98c88c44c
patch 9.0.0218: reading before the start of the line
...
Problem: Reading before the start of the line.
Solution: When displaying "$" check the column is not negative.
2022-08-16 14:51:53 +01:00
Bram Moolenaar
a4d158b3c8
patch 9.0.0206: redraw flags are not named specifically
...
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-14 14:17:45 +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
zeertzjq
101d57b34b
patch 9.0.0124: code has more indent than needed
...
Problem: Code has more indent than needed.
Solution: Use continue and return statements. (closes #10824 )
2022-07-31 18:34:32 +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
fa4873ccfc
patch 9.0.0013: reproducing memory access errors can be difficult
...
Problem: Reproducing memory access errors can be difficult.
Solution: When testing, copy each line to allocated memory, so that valgrind
can detect accessing memory before and/or after it. Fix uncovered
problems.
2022-06-30 22:13:59 +01:00
Bram Moolenaar
0971c7a4e5
patch 8.2.5162: reading before the start of the line with BS in Replace mode
...
Problem: Reading before the start of the line with BS in Replace mode.
Solution: Check the cursor column is more than zero.
2022-06-26 12:59:02 +01:00
Bram Moolenaar
1d97db3d98
patch 8.2.5056: the channel log only contains some of the raw terminal output
...
Problem: The channel log only contains some of the raw terminal output.
Solution: Add the "o" flag to log all terminal output. Use it for "--log".
2022-06-04 22:15:54 +01:00
zeertzjq
cfe456543e
patch 8.2.5029: "textlock" is always zero
...
Problem: "textlock" is always zero.
Solution: Remove "textlock" and rename "textwinlock" to "textlock".
(closes #10489 )
2022-05-27 17:26:55 +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
7ce5b2b590
patch 8.2.4969: changing text in Visual mode may cause invalid memory access
...
Problem: Changing text in Visual mode may cause invalid memory access.
Solution: Check the Visual position after making a change.
2022-05-16 19:40:59 +01:00
Bram Moolenaar
de5cf28781
patch 8.2.4951: smart indenting done when not enabled
...
Problem: Smart indenting done when not enabled.
Solution: Check option values before setting can_si. (closes #10420 )
2022-05-14 11:52:23 +01:00
Bram Moolenaar
6ed545e797
patch 8.2.4928: various white space and cosmetic mistakes
...
Problem: Various white space and cosmetic mistakes.
Solution: Change spaces to tabs, improve comments.
2022-05-09 20:09:23 +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
Christian Brabandt
dfbdadce44
patch 8.2.4876: MS-Windows: Shift-BS results in strange char in powershell
...
Problem: MS-Windows: Shift-BS results in strange character in powershell.
Solution: Add K_S_BS. (Christian Brabandt, closes #10283 , closes #10279 )
2022-05-05 20:46:47 +01:00
zeertzjq
cd5dbad184
patch 8.2.4865: :startinsert right after :stopinsert may not work
...
Problem: :startinsert right after :stopinsert does not work when popup menu
is still visible.
Solution: Use ins_compl_active() instead of pum_visible(). (closes #10352 )
2022-05-04 17:51:50 +01:00
zeertzjq
bad8a013c2
patch 8.2.4846: termcodes test fails
...
Problem: Termcodes test fails.
Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316 )
2022-04-29 16:44:00 +01:00
Bram Moolenaar
31e5c60a68
patch 8.2.4753: error from setting an option is silently ignored
...
Problem: Error from setting an option is silently ignored.
Solution: Handle option value errors better. Fix uses of N_().
2022-04-15 13:53:33 +01:00
zeertzjq
d58862d18f
patch 8.2.4739: accessing freed memory after WinScrolled autocmd event
...
Problem: Accessing freed memory after WinScrolled autocmd event.
Solution: Check the window pointer is still valid. (closes #10156 )
Remove the argument from may_trigger_winscrolled().
2022-04-12 11:32:48 +01:00
LemonBoy
2bf52dd065
patch 8.2.4723: the ModeChanged autocmd event is inefficient
...
Problem: The ModeChanged autocmd event is inefficient.
Solution: Avoid allocating memory. (closes #10134 ) Rename
trigger_modechanged() to may_trigger_modechanged().
2022-04-09 18:17:34 +01:00
LemonBoy
0937182d49
patch 8.2.4713: plugins cannot track text scrolling
...
Problem: Plugins cannot track text scrolling.
Solution: Add the WinScrolled event. (closes #10102 )
2022-04-08 15:18:45 +01:00
Christian Brabandt
ac72c21da6
patch 8.2.4710: smart indenting does not work after completion
...
Problem: Smart indenting does not work after completion.
Solution: Set "can_si". (Christian Brabandt, closes #10113 , closes #558 )
2022-04-07 21:00:53 +01:00
zeertzjq
8c97960850
patch 8.2.4707: redrawing could be a bit more efficient
...
Problem: Redrawing could be a bit more efficient.
Solution: Optimize redrawing. (closes #10105 )
2022-04-07 15:08:01 +01:00
Bram Moolenaar
782c6744b4
patch 8.2.4660: cursorcolumn is sometimes not correct
...
Problem: Cursorcolumn is sometimes not correct.
Solution: Recompute the cursor column when entering Insert mode and the
cursor is on a character wider than a screen cell.
2022-04-01 12:06:31 +01:00
zeertzjq
3e559cd884
patch 8.2.4638: superfluous check if a redraw is needed for 'cursorline'
...
Problem: Superfluous check if a redraw is needed for 'cursorline'.
Solution: Remove check_redraw_cursorline(). (closes #10030 , closes #10029 )
2022-03-27 19:26:55 +01:00
Bram Moolenaar
bf269ed0b0
patch 8.2.4630: 'cursorline' not always updated with 'culopt' is "screenline"
...
Problem: 'cursorline' not always updated with 'cursorlineopt' is
"screenline".
Solution: Call check_redraw_cursorline() more often. (closes #10013 )
2022-03-26 13:28:14 +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
=?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
806d037671
patch 8.2.4218: illegal memory access with bracketed paste in Ex mode
...
Problem: Illegal memory access with bracketed paste in Ex mode.
Solution: Reserve space for the trailing NUL.
2022-01-25 20:45:16 +00:00
zeertzjq
502d8ae3e8
patch 8.2.4203: entering a character with CTRL-V may include modifiers
...
Problem: Entering a character with CTRL-V may include modifiers.
Solution: Reset "mod_mask" when entering a character with digits after
CTRL-V. (closes #9610 )
2022-01-24 15:27:50 +00:00
Bram Moolenaar
e32c3c462c
patch 8.2.4099: Vim9: cannot use Vim9 syntax in mapping
...
Problem: Vim9: cannot use Vim9 syntax in mapping.
Solution: Add <ScriptCmd> to use the script context for a command.
2022-01-15 18:26:04 +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
Yegappan Lakshmanan
d94fbfc74a
patch 8.2.4001: insert complete code uses global variables
...
Problem: Insert complete code uses global variables.
Solution: Make variables local to the file and use accessor functions.
(Yegappan Lakshmanan, closes #9470 )
2022-01-04 17:01:44 +00:00
Bram Moolenaar
74409f6279
patch 8.2.3970: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 15:58:22 +00:00
Bram Moolenaar
5d20fbf2e7
patch 8.2.3935: CTRL-U in Insert mode does not fix the indent
...
Problem: CTRL-U in Insert mode does not fix the indent.
Solution: Fix the indent when 'cindent' is set.
2021-12-29 16:05:31 +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
Bram Moolenaar
8103527da7
patch 8.2.3828: when opening a terminal from a timer first typed char is lost
...
Problem: when opening a terminal from a timer the first typed character
is lost. (Virginia Senioria)
Solution: When opening a terminal while waiting for a character put K_IGNORE
in the input buffer.
2021-12-16 18:02:07 +00:00
Bram Moolenaar
6e371ecb27
patch 8.2.3787: no proper formatting of a C line comment after a statement
...
Problem: No proper formatting of a C line comment after a statement.
Solution: Find the start of the line comment, insert the comment leader and
indent the comment properly.
2021-12-12 14:16:39 +00:00
Bram Moolenaar
d0fb907253
patch 8.2.3764: cannot see any text when window was made zero lines
...
Problem: Cannot see any text when window was made zero lines or zero
columns.
Solution: Ensure there is at least one line and column. (fixes #9307 )
2021-12-09 11:57:22 +00:00
Christian Brabandt
db3b44640d
patch 8.2.3517: TextChanged does not trigger after TextChangedI
...
Problem: TextChanged does not trigger after TextChangedI.
Solution: Store the tick separately for TextChangedI. (Christian Brabandt,
closes #8968 , closes #8932 )
2021-10-16 11:58:55 +01:00
Bram Moolenaar
5a9357d0bf
patch 8.2.3467: CursorHoldI event interferes with "CTRL-G U"
...
Problem: CursorHoldI event interferes with "CTRL-G U". (Naohiro Ono)
Solution: Restore the flag for "CTRL-G U" after triggering CursorHoldI.
(closes #8937 )
2021-10-03 16:22:05 +01:00
Bram Moolenaar
644b49fa0f
patch 8.2.3444: concealed text not revealed when leaving insert mode
...
Problem: concealed text not revealed when leaving insert mode. (Michael
Soyka)
Solution: Check if concealing changed when leaving insert mode.
(closes #8880 )
2021-09-16 22:32:15 +02:00
=?UTF-8?q?Magnus=20Gro=C3=9F?=
f1e8876fa2
patch 8.2.3430: no generic way to trigger an autocommand on mode change
...
Problem: No generic way to trigger an autocommand on mode change.
Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856 )
2021-09-12 13:39:55 +02:00
Yegappan Lakshmanan
8ee52affe7
patch 8.2.3320: some local functions are not static
...
Problem: Some local functions are not static.
Solution: Add "static". Move snprintf() related code to strings.c.
(Yegappan Lakshmanan, closes #8734 )
2021-08-09 19:59:06 +02:00
Gary Johnson
53ba05b090
patch 8.2.3227: 'virtualedit' can only be set globally
...
Problem: 'virtualedit' can only be set globally.
Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638 )
2021-07-26 22:19:10 +02:00
h-east
29b857150c
patch 8.2.3226: new digraph functions use old naming scheme
...
Problem: New digraph functions use old naming scheme.
Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8580 )
2021-07-26 21:54:04 +02:00
Bram Moolenaar
d8e44476d8
patch 8.2.3197: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move a few more error messages to errors.h.
2021-07-21 22:20:33 +02:00
Bram Moolenaar
e29a27f6f8
patch 8.2.3190: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move error messages to errors.h and give them a clear name.
2021-07-20 21:07:36 +02:00
Bram Moolenaar
ea042677ab
patch 8.2.3074: popup_atcursor() uses wrong position with concealing
...
Problem: popup_atcursor() uses wrong position with concealing.
Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476 )
2021-06-29 20:22:32 +02:00
Bram Moolenaar
2e6cdb91e8
patch 8.2.2418: color not changed if ModeMsg highlight is set in InsertEnter
...
Problem: Color not changed if ModeMsg highlight is set in InsertEnter
autocmd event. (Paul Swanson)
Solution: Call highlight_changed() after triggering InsertEnter.
(closes #7751 )
2021-01-28 11:07:44 +01:00