Bram Moolenaar
e24b4aba1f
patch 9.0.0482: "g0" moves to wrong location with virtual text "above"
...
Problem: "g0" moves to wrong location with virtual text "above".
Solution: Compensate for the extra columns. (closes #11141 ) Also fix "g$"
2022-09-16 20:51:14 +01:00
Bram Moolenaar
ddf7dba96e
patch 9.0.0387: repeat <ScriptCmd> mapping doesn't use right script context
...
Problem: repeating a <ScriptCmd> mapping does not use the right script
context.
Solution: When using a mapping put <SID>{sid}; in the redo buffer.
(closes #11049 )
2022-09-05 16:53:21 +01:00
Bram Moolenaar
a2a8973e51
patch 9.0.0340: the 'cmdheight' zero support causes too much trouble
...
Problem: The 'cmdheight' zero support causes too much trouble.
Solution: Revert support for 'cmdheight' being zero.
2022-08-31 14:46:18 +01:00
Bram Moolenaar
98d1069a9c
patch 9.0.0312: test for cmdheight zero fails
...
Problem: Test for cmdheight zero fails.
Solution: Do not close the messages window for CTRL-C.
2022-08-29 00:08:39 +01:00
Bram Moolenaar
b849c82851
patch 9.0.0310: output of :messages dissappears when cmdheight is zero
...
Problem: Output of :messages dissappears when cmdheight is zero.
Solution: Do not use the messages window for :messages. Make Esc close the
messages window.
2022-08-28 22:46:21 +01:00
Bram Moolenaar
f80f40a55c
patch 9.0.0265: no good reason why the "gf" command isn't in the tiny version
...
Problem: No good reason why the "gf" command is not in the tiny version.
Solution: Graduate the file_in_path feature.
2022-08-25 16:02:23 +01:00
Bram Moolenaar
8d69637133
patch 9.0.0234: cannot make difference between :normal end and argument char
...
Problem: Cannot make difference between the end of :normal and a character
in its argument.
Solution: Add the "typebuf_was_empty" flag. (closes #10950 )
2022-08-21 10:40:07 +01:00
Bram Moolenaar
887748742d
patch 9.0.0222: no good reason why text objects are only in larger builds
...
Problem: No good reason why text objects are only in larger builds.
Solution: Graduate +textobjects.
2022-08-16 20:24:29 +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
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
Shougo Matsushita
f39cfb7262
patch 9.0.0114: the command line takes up space even when not used
...
Problem: The command line takes up space even when not used.
Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita,
closes #10675 , closes #940 )
2022-07-30 16:54:05 +01:00
Bram Moolenaar
c963ec31a0
patch 9.0.0064: confusing error when using "q:" in command line window
...
Problem: Confusing error when using "q:" in command line window.
Solution: Check for the situation and give a better error message.
(closes #10756 )
2022-07-24 20:08:01 +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
7a1d32809b
patch 8.2.5109: mode not updated after CTRL-O CTRL-C in Insert mode
...
Problem: Mode not updated after CTRL-O CTRL-C in Insert mode.
Solution: Set redraw_mode and use it. (closes #10581 )
2022-06-16 13:04:45 +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
Bram Moolenaar
e2fa213cf5
patch 8.2.5024: using freed memory with "]d"
...
Problem: Using freed memory with "]d".
Solution: Copy the pattern before searching.
2022-05-26 16:32:44 +01:00
Bram Moolenaar
338f1fc0ee
patch 8.2.5023: substitute overwrites allocated buffer
...
Problem: Substitute overwrites allocated buffer.
Solution: Disallow undo when in a substitute command.
2022-05-26 15:56:23 +01:00
Bram Moolenaar
395bd1f6d3
patch 8.2.4956: reading past end of line with "gf" in Visual block mode
...
Problem: Reading past end of line with "gf" in Visual block mode.
Solution: Do not include the NUL in the length.
2022-05-14 21:29:44 +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
Shougo Matsushita
509142ab7a
patch 8.2.4881: "P" in Visual mode still changes some registers
...
Problem: "P" in Visual mode still changes some registers.
Solution: Make "P" in Visual mode not change any register. (Shougo
Matsushita, closes #10349 )
2022-05-06 11:45:09 +01:00
Bram Moolenaar
53ef573148
patch 8.2.4806: a mapping using <LeftDrag> does not start Select mode
...
Problem: A mapping using <LeftDrag> does not start Select mode.
Solution: When checking for starting select mode with the mouse also do this
when there is typeahead. (closes #10249 )
2022-04-22 21:20:26 +01:00
Bram Moolenaar
2ce97ae6aa
patch 8.2.4725: unused variable in tiny build
...
Problem: Unused variable in tiny build.
Solution: Add #ifdef.
2022-04-09 21:13:51 +01:00
LemonBoy
a43993897a
patch 8.2.4724: current instance of last search pattern not easily spotted
...
Problem: Current instance of last search pattern not easily spotted.
Solution: Add CurSearch highlighting. (closes #10133 )
2022-04-09 21:04:08 +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
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
zeertzjq
7a73252063
patch 8.2.4567: bracketed paste doesn't work well in Visual linewise mode
...
Problem: Bracketed paste doesn't work well in Visual linewise mode.
Solution: Handle linewise Visual mode differently. (closes #9947 )
2022-03-14 20:46:41 +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
ichizok
672776dbe8
patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
...
Problem: Generating nv_cmdidxs.h requires building Vim twice.
Solution: Move the table into a separate file and use a separate executable
to extract the command characters. (Ozaki Kiichi, closes #9669 )
2022-01-31 12:27:18 +00:00
Yegappan Lakshmanan
4dc0dd8699
patch 8.2.4252: generating the normal command table at runtime is inefficient
...
Problem: Generating the normal command table at runtime is inefficient.
Solution: Generate the table with a Vim script and put it in a header file.
(Yegappan Lakshmanan, closes #9648 )
2022-01-29 13:06:40 +00:00
Shougo Matsushita
fb55207ed1
patch 8.2.4242: put in Visual mode cannot be repeated
...
Problem: Put in Visual mode cannot be repeated.
Solution: Use "P" to put without yanking the deleted text into the unnamed
register. (Shougo Matsushita, closes #9591 )
2022-01-28 16:01:13 +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
zeertzjq
fbf4f1ca15
patch 8.2.4237: record buffer wrong if character in Select mode was not typed
...
Problem: Record buffer wrong if character in Select mode was not typed.
Solution: Only delete the tail from the record buffer if the character was
typed. (closes #9650 )
2022-01-28 12:50:43 +00:00
Yegappan Lakshmanan
b0ad2d92fd
patch 8.2.4228: no tests for clicking in the GUI tabline
...
Problem: No tests for clicking in the GUI tabline.
Solution: Add test functions to generate the events. Add tests using the
functions. (Yegappan Lakshmanan, closes #9638 )
2022-01-27 13:16:59 +00:00
Yegappan Lakshmanan
a827bf3ea8
patch 8.2.4221: some functions in normal.c are very long
...
Problem: Some functions in normal.c are very long.
Solution: Move code to separate functions. (Yegappan Lakshmanan,
closes #9628 )
2022-01-26 12:14:15 +00:00
Yegappan Lakshmanan
4663435074
patch 8.2.4205: the normal_cmd() function is too long
...
Problem: The normal_cmd() function is too long.
Solution: Move parts to separate functions. (Yegappan Lakshmanan,
closes #9608 )
2022-01-24 16:30:30 +00:00
Yegappan Lakshmanan
05386ca1d4
patch 8.2.4165: the nv_g_cmd() function is too long
...
Problem: The nv_g_cmd() function is too long.
Solution: Move code to separate functions. (Yegappan Lakshmanan,
closes #9576 )
2022-01-20 20:18:27 +00:00
Shougo Matsushita
4ede01f188
patch 8.2.4160: cannot change the register used for Select mode delete
...
Problem: Cannot change the register used for Select mode delete.
Solution: Make CTRL-R set the register to be used when deleting text for
Select mode. (Shougo Matsushita, closes #9531 )
2022-01-20 15:26:03 +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
Bram Moolenaar
a6f7929e62
patch 8.2.4005: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-04 21:30:47 +00:00
Bram Moolenaar
c88e977862
patch 8.2.3993: when recording a change in Select mode char appears twice
...
Problem: When recording a change in Select mode the first typed character
appears twice.
Solution: When putting the character back into typeahead remove it from
recorded characters. (closes #9462 )
2022-01-03 13:47:50 +00:00
Bram Moolenaar
ac78dd4a35
patch 8.2.3985: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 19:25:26 +00:00
Bram Moolenaar
eaaac014a0
patch 8.2.3983: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 17:00:40 +00:00
Bram Moolenaar
c97f9a55bd
patch 8.2.3930: getcmdline() argument has a misleading type
...
Problem: getcmdline() argument has a misleading type.
Solution: Use the correct type, even though the value is not used.
2021-12-28 20:59:56 +00:00
Bram Moolenaar
71c41255f6
patch 8.2.3903: "gM" does not count tabs as expected
...
Problem: "gM" does not count tabs as expected.
Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409 )
2021-12-26 15:00:07 +00:00
Bram Moolenaar
739f13a55b
patch 8.2.3795: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the jumplist feature.
2021-12-13 13:12:53 +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