zeertzjq
d3de178e53
patch 9.0.0346: :horizontal modifier not fully supported
...
Problem: :horizontal modifier not fully supported.
Solution: Also use :horizontal for completion and user commands.
(closes #11025 )
2022-09-01 12:58:52 +01:00
Bram Moolenaar
21c3a80a7f
patch 9.0.0342: ":wincmd =" equalizes in two directions
...
Problem: ":wincmd =" equalizes in two directions.
Solution: Make ":vertical wincmd =" equalize vertically only and
":horizontal wincmd =" equalize horizontally only.
2022-08-31 17:49:14 +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
13608d851a
patch 9.0.0318: clearing screen causes flicker
...
Problem: Clearing screen causes flicker.
Solution: Do not clear but redraw in more cases. Add () to "wait_return".
2022-08-29 15:06:50 +01:00
Bram Moolenaar
134b86553c
patch 9.0.0307: :echomsg doesn't work properly with cmdheight=0
...
Problem: :echomsg doesn't work properly with cmdheight=0.
Solution: Improve scrolling and displaying.
2022-08-28 21:36:43 +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
6d4b2f54df
patch 9.0.0263: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Make some functions always available.
2022-08-25 15:11:15 +01:00
Bram Moolenaar
471c0fa3ee
patch 9.0.0245: mechanism to prevent recursive screen updating is incomplete
...
Problem: Mechanism to prevent recursive screen updating is incomplete.
Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl().
(issue #10952 )
2022-08-22 15:19:16 +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
da70cf30ef
patch 9.0.0159: cannot build with small features
...
Problem: Cannot build with small features.
Solution: Check for E1170 only with FEAT_EVAL.
2022-08-06 22:13:03 +01:00
Bram Moolenaar
3f74c0ab32
patch 9.0.0156: giving E1170 only in an expression is confusing
...
Problem: Giving E1170 only in an expression is confusing.
Solution: Give E1170 for any "#{ comment". (closes #10855 )
2022-08-06 18:12:06 +01:00
Bram Moolenaar
b8329db36a
patch 9.0.0044: typos in comments, wrapping lines
...
Problem: Typos in comments, wrapping lines.
Solution: Adjust comments. Wrap lines.
2022-07-06 13:31:28 +01:00
Bram Moolenaar
c6fdb15d42
patch 9.0.0025: accessing beyond allocated memory with the cmdline window
...
Problem: Accessing beyond allocated memory when using the cmdline window in
Ex mode.
Solution: Use "*" instead of "'<,'>" for Visual mode.
2022-07-02 13:43:21 +01:00
Bram Moolenaar
f7c7c3fad6
patch 8.2.5150: read past the end of the first line with ":0;'{"
...
Problem: Read past the end of the first line with ":0;'{".
Solution: When on line zero check the column is valid for line one.
2022-06-22 19:08:38 +01:00
Bram Moolenaar
d6211a52ab
patch 8.2.5126: substitute may overrun destination buffer
...
Problem: Substitute may overrun destination buffer.
Solution: Disallow switching buffers in a substitute expression.
2022-06-18 19:48:14 +01:00
Bram Moolenaar
6ce1b59228
patch 8.2.5093: error message for unknown command may have the command twice
...
Problem: Error message for unknown command may mention the command twice.
(Malcolm Rowe)
Solution: Add the did_append_cmd flag. (closes #10570 )
2022-06-14 16:06:07 +01:00
Bram Moolenaar
48ce135e6d
patch 8.2.5092: using "'<,'>" in Ex mode may compare unrelated pointers
...
Problem: Using "'<,'>" in Ex mode may compare unrelated pointers.
Solution: Set eap->cmd to "+" only later.
2022-06-14 15:43:18 +01:00
zeertzjq
cd7496382e
patch 8.2.5088: value of cmod_verbose is a bit complicated to use
...
Problem: Value of cmod_verbose is a bit complicated to use.
Solution: Use zero for not set, value + 1 when set. (closes #10564 )
2022-06-14 13:30:35 +01:00
Bram Moolenaar
d8c9d32c89
patch 8.2.5079: DirChanged autocommand may use freed memory
...
Problem: DirChanged autocommand may use freed memory. (Shane-XB Qian)
Solution: Free the memory later. (closes #10555 )
2022-06-12 11:49:16 +01:00
Bram Moolenaar
44a3f3353e
patch 8.2.5063: error for a command may go over the end of IObuff
...
Problem: Error for a command may go over the end of IObuff.
Solution: Truncate the message.
2022-06-06 15:38:21 +01:00
Bram Moolenaar
4d97a565ae
patch 8.2.5037: cursor position may be invalid after "0;" range
...
Problem: Cursor position may be invalid after "0;" range.
Solution: Check the cursor position when it was set by ";" in the range.
2022-05-28 14:25:35 +01:00
Bram Moolenaar
bf79a4e48d
patch 8.2.5027: error for missing :endif when an exception was thrown
...
Problem: Error for missing :endif when an exception was thrown. (Dani
Dickstein)
Solution: Do not give an error when aborting. (closes #10490 )
2022-05-27 13:52:08 +01:00
Bram Moolenaar
31d9948e3a
patch 8.2.5026: Vim9: a few lines not covered by tests
...
Problem: Vim9: a few lines not covered by tests.
Solution: Delete dead code. Add a few test cases. make "12->func()" work.
2022-05-26 22:24:43 +01:00
Bram Moolenaar
40c141d333
patch 8.2.4971: Vim9: interpolated string seen as range
...
Problem: Vim9: interpolated string seen as range.
Solution: Recognize an interpolated string at the start of a command line.
(closes #10434 )
2022-05-17 13:14: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
Bram Moolenaar
d88934406c
patch 8.2.4895: buffer overflow with invalid command with composing chars
...
Problem: Buffer overflow with invalid command with composing chars.
Solution: Check that the whole character fits in the buffer.
2022-05-06 20:38:47 +01:00
Bram Moolenaar
bc6f2bf78a
patch 8.2.4886: Vim9: redir in skipped block seen as assignment
...
Problem: Vim9: redir in skipped block seen as assignment.
Solution: Check for valid assignment.
2022-05-06 14:29:09 +01:00
Bram Moolenaar
211a5bb235
patch 8.2.4842: expand("%:p") is not empty when there is no buffer name
...
Problem: expand("%:p") is not empty when there is no buffer name.
Solution: When ignoring errors still return NULL. (closes #10311 )
2022-04-28 19:09:03 +01:00
Bram Moolenaar
a96edb736d
patch 8.2.4841: empty string considered an error for expand()
...
Problem: Empty string considered an error for expand() when 'verbose' is
set. (Christian Brabandt)
Solution: Do not give an error for an empty result. (closes #10307 )
2022-04-28 17:52:24 +01:00
Bram Moolenaar
a653e53b1f
patch 8.2.4789: cursor pos wrong when using :redraw while editing the cmdline
...
Problem: The cursor may be in the in wrong place when using :redraw while
editing the cmdline.
Solution: When editing the command line let :redraw update the command line
too. (closes #10210 )
2022-04-19 11:38:24 +01:00
Bram Moolenaar
f50808ed13
patch 8.2.4763: using invalid pointer with "V:" in Ex mode
...
Problem: Using invalid pointer with "V:" in Ex mode.
Solution: Correctly handle the command being changed to "+".
2022-04-16 18:52:17 +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
Bram Moolenaar
60895f3e36
patch 8.2.4741: startup test fails
...
Problem: Startup test fails.
Solution: Avoid an error for verbose expansion. Fix that the "0verbose"
command modifier doesn't work.
2022-04-12 14:23:19 +01:00
LemonBoy
6013d0045d
patch 8.2.4726: cannot use expand() to get the script name
...
Problem: Cannot use expand() to get the script name.
Solution: Support expand('<script>'). (closes #10121 )
2022-04-09 21:42:10 +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
Bram Moolenaar
5017c66bd4
patch 8.2.4709: after :redraw the statusline highlight might be used
...
Problem: After :redraw the statusline highlight might be used.
Solution: Clear the screen attribute after redrawing the screen.
(closes #10108 )
2022-04-07 18:06:08 +01:00
zeertzjq
6d4e725a34
patch 8.2.4705: jump list marker disappears
...
Problem: Jump list marker disappears.
Solution: Reset reg_executing later. (closes #10111 , closes #10100 )
2022-04-07 13:58:04 +01:00
Bram Moolenaar
7a411a306f
patch 8.2.4682: Vim9: can use :unlockvar for const variable
...
Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael)
Solution: Check whether the variable is a const.
2022-04-04 14:58:06 +01:00
Bram Moolenaar
4dea2d92e4
patch 8.2.4653: "import autoload" does not check the file name
...
Problem: "import autoload" does not check the file name.
Solution: Give an error if the file is not readable. (closes #10049 )
2022-03-31 11:37:57 +01:00
Bram Moolenaar
565d1278cb
patch 8.2.4637: warning for using uninitialized variable
...
Problem: Warning for using uninitialized variable. (Tony Mechelynck)
Solution: Initialize it.
2022-03-27 18:11:05 +01:00
Bram Moolenaar
1501b63f8d
patch 8.2.4636: not using Visual range
...
Problem: Not using Visual range.
Solution: Put the command pointer back to the range.
2022-03-27 16:56:21 +01:00
Bram Moolenaar
c75bca3ee9
patch 8.2.4633: Visual range does not work before command modifiers
...
Problem: Visual range does not work before command modifiers.
Solution: Move Visual range to after command modifiers.
2022-03-27 13:36:50 +01:00
Bram Moolenaar
03a297c63f
patch 8.2.4623: Coverity warns for using uninitialized field
...
Problem: Coverity warns for using uninitialized field.
Solution: Initialize he field to zero.
2022-03-25 14:39:51 +00:00
Bram Moolenaar
1e2c4175dc
patch 8.2.4620: two letter substitute commands don't work
...
Problem: Two letter substitute commands don't work. (Yegappan Lakshmanan)
Solution: Invert condition.
2022-03-24 15:24:45 +00:00
Bram Moolenaar
f4f0525c34
patch 8.2.4618: cmdline completion does not recognize single letter commands
...
Problem: Command line completion does not recognize single letter commands.
Solution: Use the condition from find_ex_command().
2022-03-24 13:08:36 +00:00
Bram Moolenaar
ac48506ac6
patch 8.2.4615: mapping with escaped bar does not work in :def function
...
Problem: Mapping with escaped bar does not work in :def function. (Sergey
Vlasov)
Solution: Do not remove the backslash. (closes #10002 )
2022-03-23 19:45:01 +00:00
Yegappan Lakshmanan
85b43c6cb7
patch 8.2.4603: sourcing buffer lines is too complicated
...
Problem: Sourcing buffer lines is too complicated.
Solution: Simplify the code. Make it possible to source Vim9 script lines.
(Yegappan Lakshmanan, closes #9974 )
2022-03-21 19:45:17 +00:00
Bram Moolenaar
2e17fef225
patch 8.2.4589: cannot index the g: dictionary
...
Problem: Cannot index the g: dictionary.
Solution: Recognize using "g:[key]". (closes #9969 )
2022-03-18 19:44:48 +00:00
Bram Moolenaar
b2175220da
patch 8.2.4514: Vim9: some flow commands can be shortened
...
Problem: Vim9: some flow commands can be shortened.
Solution: Also require using the full name for ":return", ":enddef",
":continue", ":export" and ":import".
2022-03-05 20:24:41 +00:00