Bram Moolenaar
9b0e82f35e
patch 8.2.3660: overflow check uses wrong number
...
Problem: Overflow check uses wrong number.
Solution: Divide by ten.
2021-11-24 13:40:29 +00:00
Bram Moolenaar
03725c5795
patch 8.2.3659: integer overflow with large line number
...
Problem: Integer overflow with large line number.
Solution: Check for overflow. (closes #9202 )
2021-11-24 12:17:53 +00:00
Bram Moolenaar
2228cd72cf
patch 8.2.3644: count for 'operatorfunc' in Visual mode is not redone
...
Problem: Count for 'operatorfunc' in Visual mode is not redone.
Solution: Add the count to the redo buffer. (closes #9174 )
2021-11-22 14:16:08 +00:00
Bram Moolenaar
615ddd5342
patch 8.2.3611: crash when using CTRL-W f without finding a file name
...
Problem: Crash when using CTRL-W f without finding a file name.
Solution: Bail out when the file name length is zero.
2021-11-17 18:00:31 +00:00
Bram Moolenaar
a062006b9d
patch 8.2.3610: crash when ModeChanged triggered too early
...
Problem: Crash when ModeChanged triggered too early.
Solution: Trigger ModeChanged after setting VIsual.
2021-11-17 16:52:40 +00:00
Bram Moolenaar
0c71114aed
patch 8.2.3583: the "gd" and "gD" commands do not update search stats
...
Problem: The "gd" and "gD" commands do not update search stats. (Gary
Johnson)
Solution: Clear search stats.
2021-11-12 10:30:04 +00:00
Christian Brabandt
aaec1d4fb1
patch 8.2.3580: gj does not move properly with a wide character
...
Problem: gj does not move properly with a wide character.
Solution: Move one to the right. (Christian Brabandt, closes #8702 )
2021-11-04 13:28:29 +00:00
=?UTF-8?q?Magnus=20Gro=C3=9F?=
25def2c8b8
patch 8.2.3555: ModeChanged is not triggered on every mode change
...
Problem: ModeChanged is not triggered on every mode change.
Solution: Also trigger on minor mode changes. (Maguns Gross, closes #8999 )
2021-10-22 18:56:39 +01:00
Bram Moolenaar
21c1a0c2f1
patch 8.2.3530: ":buf \{a}" fails while ":edit \{a}" works
...
Problem: ":buf \{a}" fails while ":edit \{a}" works.
Solution: Unescape "\{". (closes #8917 )
2021-10-17 17:20:23 +01:00
Bram Moolenaar
b07626d4af
patch 8.2.3494: illegal memory access in utf_head_off
...
Problem: Illegal memory access in utf_head_off.
Solution: Check cursor position when reselecting the Visual area.
(closes #8963 )
2021-10-11 15:40:43 +01: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
Bram Moolenaar
35a9a00afc
patch 8.2.3428: using freed memory when replacing
...
Problem: Using freed memory when replacing. (Dhiraj Mishra)
Solution: Get the line pointer after calling ins_copychar().
2021-09-11 21:14:20 +02:00
zeertzjq
eaf3f36168
patch 8.2.3236: mode() does not indicate using CTRL-O in Select mode
...
Problem: mode() does not indicate using CTRL-O in Select mode.
Solution: Use "vs" and similar. (closes #8640 )
2021-07-28 16:51:53 +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
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
108010aa47
patch 8.2.3069: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move some error messages to errors.h. Use clearer names.
2021-06-27 22:03:33 +02:00
Christian Brabandt
544a38e44d
patch 8.2.2971: cannot yank a block without trailing spaces
...
Problem: Cannot yank a block without trailing spaces.
Solution: Add the "zy" command. (Christian Brabandt, closes #8292 )
2021-06-10 19:39:11 +02:00
Bram Moolenaar
21492743e8
patch 8.2.2938: after using motion force from feedkeys() it sticks
...
Problem: After using motion force from feedkeys() it may not be reset.
Solution: Clear motion_force in clearop(). (closes #8323 )
2021-06-04 21:57:57 +02:00
Bram Moolenaar
4f3c57f798
patch 8.2.2932: select mode test fails
...
Problem: Select mode test fails.
Solution: Do not always reset the held mouse button.
2021-06-03 22:11:08 +02:00
Bram Moolenaar
85eee5b969
patch 8.2.2930: when a popup is visible a mouse move my restart Visual mode
...
Problem: When a popup is visible a mouse move my restart Visual mode.
Solution: Reset held_button when ending Visual mode. (closes #8318 )
2021-06-03 20:34:57 +02:00
K.Takata
eeec254878
patch 8.2.2922: computing array length is done in various ways
...
Problem: Computing array length is done in various ways.
Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305 )
2021-06-02 13:28:16 +02:00
Christian Brabandt
2fa9384ca1
patch 8.2.2914: cannot paste a block without adding padding
...
Problem: Cannot paste a block without adding padding.
Solution: Add "zp" and "zP" which paste without adding padding. (Christian
Brabandt, closes #8289 )
2021-05-30 22:17:25 +02:00
Bram Moolenaar
74ede80aeb
patch 8.2.2904: "g$" causes scroll if half a double width char is visible
...
Problem: "g$" causes scroll if half a double width char is visible.
Solution: Advance to the last fully visible character. (closes #8254 )
2021-05-29 19:18:01 +02:00
Bram Moolenaar
1ad72c8eb6
patch 8.2.2832: operator cancelled by moving mouse when using popup
...
Problem: Operator cancelled by moving mouse when using popup. (Sergey
Vlasov)
Solution: Do not trigger an operator for a mouse move events. (closes #8176 )
2021-05-04 21:56:28 +02:00
Bram Moolenaar
3c49e74e18
patch 8.2.2711: "gj" in a closed fold does not move out of the fold
...
Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz)
Solution: Add a check for being in a closed fold. (closes #8062 )
2021-04-04 21:26:04 +02:00
Bram Moolenaar
7d41410a45
patch 8.2.2548: May get stuck in the cmdline window using :normal
...
Problem: May get stuck in the cmdline window using :normal.
Solution: Have nv_esc() return K_IGNORE.
2021-02-23 19:39:20 +01:00
Bram Moolenaar
2c6553498e
patch 8.2.2547: "%" command not accurate for big files
...
Problem: "%" command not accurate for big files.
Solution: Make it more accurate for files up to 21M lines. (Dominique Pellé,
closes #7889 )
2021-02-23 19:32:03 +01:00
Bram Moolenaar
1d859e2421
patch 8.2.2422: crash when deleting with line number out of range
...
Problem: Crash when deleting with line number out of range. (Houyunsong)
Solution: Avoid using a negative line number.
2021-01-28 17:24:58 +01:00
Bram Moolenaar
e71996bd08
patch 8.2.2385: "gj" and "gk" do not work correctly when inside a fold
...
Problem: "gj" and "gk" do not work correctly when inside a fold.
Solution: Move check for folding. (closes #7724 , closes #4095 )
2021-01-21 17:03:07 +01:00
Bram Moolenaar
e2edc2ed4a
patch 8.2.2366: when using ":sleep" the cursor is always displayed
...
Problem: When using ":sleep" the cursor is always displayed.
Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
closes #7688 )
2021-01-16 20:21:23 +01:00
Bram Moolenaar
f4e2099e39
patch 8.2.2182: Vim9: value of 'magic' is still relevant
...
Problem: Vim9: value of 'magic' is still relevant.
Solution: Always behave like 'magic' is on in Vim9 script (closes #7509 )
2020-12-21 19:59:08 +01:00
Bram Moolenaar
8e7d6223f6
patch 8.2.2160: various typos
...
Problem: Various typos.
Solution: Fix spelling mistakes. (closes #7494 )
2020-12-18 19:49:56 +01:00
Bram Moolenaar
100118c73a
patch 8.2.2128: there is no way to do something on CTRL-Z
...
Problem: There is no way to do something on CTRL-Z.
Solution: Add VimSuspend and VimResume autocommand events. (closes #7450 )
2020-12-11 19:30:34 +01:00
Bram Moolenaar
0684e36a7e
patch 8.2.2084: CTRL-V U doesn't work to enter a Unicode character
...
Problem: CTRL-V U doesn't work to enter a Unicode character when
modifyOtherKeys is effective. (Ken Takata)
Solution: Add a flag to get_literal() for the shift key. (closes #7413 )
2020-12-03 19:54:42 +01:00
Bram Moolenaar
fccbf068f8
patch 8.2.2057: getting the selection may trigger TextYankPost autocmd
...
Problem: Getting the selection may trigger TextYankPost autocmd.
Solution: Only trigger the autocommand when yanking in Vim, not for getting
the selection. (closes #7367 )
2020-11-26 20:34:00 +01:00
Bram Moolenaar
957cf67d50
patch 8.2.1978: making a mapping work in all modes is complicated
...
Problem: Making a mapping work in all modes is complicated.
Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282 ,
closes 4784, based on patch by Bjorn Linse)
2020-11-12 14:21:06 +01:00
Bram Moolenaar
28ee892ac4
patch 8.2.1919: assert_fails() setting emsg_silent changes normal execution
...
Problem: Assert_fails() setting emsg_silent changes normal execution.
Solution: Use a separate flag in_assert_fails.
2020-10-28 20:20:00 +01:00
Bram Moolenaar
c3516f7e45
patch 8.2.1637: Vim9: :put ={expr} does not work inside :def function
...
Problem: Vim9: :put ={expr} does not work inside :def function.
Solution: Add ISN_PUT. (closes #6397 )
2020-09-08 22:45:35 +02:00
Bram Moolenaar
86394aa972
patch 8.2.1595: cannot easily see what Vim sends to the terminal
...
Problem: Cannot easily see what Vim sends to the terminal.
Solution: Write output to the channel log if it contains terminal control
sequences. Avoid warnings for tputs() argument.
2020-09-05 14:27:24 +02:00
Bram Moolenaar
ca774f6753
patch 8.2.1549: "r" fails if 'esckeys' is off and modifyOtherKeys is used
...
Problem: The "r" command fails for keys with modifiers if 'esckeys' is off
and modifyOtherKeys is used. (Lauri Tirkkonen)
Solution: Temporarily disable bracketed paste and modifyOtherKeys if
'esckeys' is off. (closes #6809 )
2020-08-30 20:46:38 +02:00
Bram Moolenaar
b3ea36c5bc
patch 8.2.1520: Vim9: CTRL-] used in :def function does not work
...
Problem: Vim9: CTRL-] used in :def function does not work.
Solution: Omit count or prepend colon. (closes #6769 )
2020-08-23 21:46:32 +02:00
Bram Moolenaar
62a232506d
patch 8.2.1401: cannot jump to the last used tabpage
...
Problem: Cannot jump to the last used tabpage.
Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661 ,
neovim #11626 )
2020-08-09 14:04:42 +02:00
Bram Moolenaar
08815a1d03
patch 8.2.1258: CursorHold does not work well
...
Problem: CursorHold does not work well.a (Shane-XB-Qian)
Solution: Only restore did_cursorhold when using :normal.
2020-07-20 23:10:56 +02:00
Bram Moolenaar
b146e01a7e
patch 8.2.1253: CTRL-K in Insert mode gets <CursorHold> inserted
...
Problem: CTRL-K in Insert mode gets <CursorHold> inserted. (Roland
Puntaier)
Solution: Do not reset did_cursorhold, restore it. (closes #6447 )
2020-07-19 23:06:05 +02:00
Bram Moolenaar
cc613031b9
patch 8.2.0929: v:register is not cleared after an operator was executed
...
Problem: v:register is not cleared after an operator was executed.
Solution: Clear v:register after finishing an operator (Andy Massimino,
closes #5305 )
2020-06-07 21:31:18 +02:00
Bram Moolenaar
439c036ed0
patch 8.2.0913: code for resetting v:register is duplicated
...
Problem: Code for resetting v:register is duplicated.
Solution: Add reset_reg_var().
2020-06-06 15:58:03 +02:00
Bram Moolenaar
ca70c07b72
patch 8.2.0853: ml_delete() often called with FALSE argument
...
Problem: ml_delete() often called with FALSE argument.
Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
2020-05-30 20:30:46 +02:00
Bram Moolenaar
041c7107f2
patch 8.2.0849: BeOS code is not maintained and probably unused
...
Problem: BeOS code is not maintained and probably unused.
Solution: Remove the BeOS code. (Emir Sari, closes #5817 )
2020-05-30 18:14:57 +02:00
Bram Moolenaar
b42c0d5427
patch 8.2.0839: dropping modifier when putting a character back in typeahead
...
Problem: Dropping modifier when putting a character back in typeahead.
Solution: Add modifier to ins_char_typebuf(). (closes #6158 )
2020-05-29 22:41:41 +02:00
Bram Moolenaar
5aed0ccb96
patch 8.2.0743: can move to another buffer from a terminal in popup window
...
Problem: Can move to another buffer from a terminal in popup window.
Solution: Do not allow "gf" or editing a file. (closes #6072 )
2020-05-12 22:02:21 +02:00