Bram Moolenaar
3f8f827723
patch 9.0.1036: undo misbehaves when writing from an insert mode mapping
...
Problem: Undo misbehaves when writing from an insert mode mapping.
Solution: Sync undo when writing. (closes #11674 )
2022-12-08 21:49:35 +00:00
Bram Moolenaar
733a69b29f
patch 9.0.0980: the keyboard state response may end up in a shell command
...
Problem: The keyboard state response may end up in a shell command.
Solution: Only request the keyboard protocol state when the typeahead is
empty, no more commands are following and not exiting. Add the
t_RK termcap entry for this.
2022-12-01 12:03:47 +00:00
Bram Moolenaar
63a2e360cc
patch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebug
...
Problem: Cannot debug the Kitty keyboard protocol with TermDebug.
Solution: Add Kitty keyboard protocol support to the libvterm fork.
Recognize the escape sequences that the protocol generates. Add
the 'keyprotocol' option to allow the user to specify for which
terminal what protocol is to be used, instead of hard-coding this.
Add recognizing the kitty keyboard protocol status.
2022-11-23 20:20:18 +00:00
Bram Moolenaar
35fc61cb5b
patch 9.0.0917: the WinScrolled autocommand event is not enough
...
Problem: The WinScrolled autocommand event is not enough.
Solution: Add WinResized and provide information about what changed.
(closes #11576 )
2022-11-22 12:40:50 +00:00
Christopher Plewright
44c2209352
patch 9.0.0886: horizontal mouse scroll only works in the GUI
...
Problem: Horizontal mouse scroll only works in the GUI.
Solution: Make horizontal mouse scroll also work in a terminal.
(Christopher Plewright, closes #11448 )
2022-11-15 17:43:36 +00:00
Bram Moolenaar
c9121f798f
patch 9.0.0751: 'scrolloff' does not work well with 'smoothscroll'
...
Problem: 'scrolloff' does not work well with 'smoothscroll'.
Solution: Make positioning the cursor a bit better. Rename functions.
2022-10-14 20:09:04 +01:00
Martin Tournoij
ba43e76fcd
patch 9.0.0747: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Gradudate the +cmdline_info feature. (Martin Tournoij,
closes #11330 )
2022-10-13 22:12:15 +01:00
Bram Moolenaar
2fbabd238a
patch 9.0.0734: cursor position invalid when scrolling with 'smoothscroll'
...
Problem: Cursor position invalid when scrolling with 'smoothscroll' set.
(Ernie Rael)
Solution: Add w_valid_skipcol and clear flags when it changes. Adjust
w_skipcol after moving the cursor.
2022-10-12 19:53:38 +01:00
Bram Moolenaar
f3ef026c98
patch 9.0.0664: bad redrawing with spell checking, using "C" and "$" in 'cpo'
...
Problem: Bad redrawing with spell checking, using "C" and "$" in 'cpo'.
Solution: Do not redraw the next line when "$" is in 'cpo'. (closes #11285 )
2022-10-05 13:29:15 +01:00
Martin Tournoij
7904fa420e
patch 9.0.0657: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +cmdwin feature. Now the tiny and small builds are
equal, drop the small build. (Martin Tournoij, closes #11268 )
2022-10-04 16:28:45 +01:00
Bram Moolenaar
26f09ea54b
patch 9.0.0608: with spelling, deleting a full stop does not update next line
...
Problem: With spell checking, deleting a full stop at the end of a line
does not update SpellCap at the start of the next line.
Solution: Update the next line when characters have been deleted. Also when
using undo.
2022-09-27 16:29:38 +01:00
Luuk van Baal
7c1cbb6cd4
patch 9.0.0603: with 'nosplitscroll' folds are not handled correctly
...
Problem: With 'nosplitscroll' folds are not handled correctly.
Solution: Take care of closed folds when moving the cursor. (Luuk van Baal,
closes #11234 )
2022-09-27 12:31:15 +01:00
Bram Moolenaar
ee09fcc9b6
patch 9.0.0590: after exiting Insert mode spelling not checked in next line
...
Problem: After exiting Insert mode spelling is not checked in the next
line.
Solution: When spelling is enabled redraw the next line after exiting Insert
mode in case the spell highlight needs updating.
2022-09-25 20:58:30 +01:00
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