Bram Moolenaar
ce416b453a
patch 8.2.4672: using :normal with Ex mode may make :substitute hang
...
Problem: Using :normal with Ex mode may make :substitute hang.
Solution: When getting an empty line behave like 'q' was typed.
(closes #10070 )
2022-04-03 12:59:34 +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
fe154990c1
patch 8.2.4610: some conditions are always true
...
Problem: Some conditions are always true.
Solution: Remove the useless conditions. (closes #9993 )
2022-03-22 20:42:12 +00:00
Bram Moolenaar
9fb7b42935
patch 8.2.4515: old subsitute syntax is still supported
...
Problem: Old subsitute syntax is still supported.
Solution: Disallow using backslash after ":s" in Vim9 script.
2022-03-05 21:13:26 +00:00
Bram Moolenaar
24d9c0557e
patch 8.2.4506: "pattern not found" for :global is not an error message
...
Problem: "pattern not found" for :global is not an error message.
Solution: In Vim9 script make this an actual error, so that try/catch can be
used as expected.
2022-03-04 21:34:31 +00:00
K.Takata
6e1d31e9e3
patch 8.2.4288: preprocessor indents are inconsistent
...
Problem: Preprocessor indents are inconsistent.
Solution: Fix preprocessor indents. (Ken Takata, closes #9691 )
2022-02-03 13:05:32 +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
Bram Moolenaar
37f47958b8
patch 8.2.4253: using freed memory when substitute with function call
...
Problem: Using freed memory when substitute uses a recursive function call.
Solution: Make a copy of the substitute text.
2022-01-29 14:21:51 +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
dc5490e2cb
patch 8.2.4215: illegal memory access when copying lines in Visual mode
...
Problem: Illegal memory access when copying lines in Visual mode.
Solution: Adjust the Visual position after copying lines.
2022-01-25 13:52:53 +00:00
Bram Moolenaar
677658ae49
patch 8.2.4008: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-05 16:09:06 +00:00
Bram Moolenaar
b09feaa86e
patch 8.2.3986: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 20:20:45 +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
460ae5dfca
patch 8.2.3967: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 14:19:49 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Bram Moolenaar
eb822a280c
patch 8.2.3955: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 15:09:27 +00:00
zeertzjq
1fa3de1ce8
patch 8.2.3952: first line not redrawn when adding lines to an empty buffer
...
Problem: First line not redrawn when adding lines to an empty buffer.
Solution: Adjust the argument to appended_lines(). (closes #9439 ,
closes #9438 )
2021-12-31 12:19:22 +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
c553a21e18
patch 8.2.3907: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move error messages to errors.h. Avoid duplicates.
2021-12-26 20:20:34 +00:00
Bram Moolenaar
5937c7505f
patch 8.2.3883: crash when switching to other regexp engine fails
...
Problem: Crash when switching to other regexp engine fails.
Solution: Check for regprog being NULL.
2021-12-24 16:46:14 +00:00
Bram Moolenaar
651fca85c7
patch 8.2.3699: the +title feature adds a lot of #ifdef but little code
...
Problem: The +title feature adds a lot of #ifdef but little code.
Solution: Graduate the +title feature.
2021-11-29 20:39:38 +00:00
Bram Moolenaar
1d30fde3c9
patch 8.2.3547: opening the quickfix window triggers BufWinEnter twice
...
Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick
Peterse)
Solution: Only trigger BufWinEnter with "quickfix". (closes #9022 )
2021-10-20 21:58:42 +01:00
Bram Moolenaar
3be69bf539
patch 8.2.3505: Vim9: build failure without the +eval feature
...
Problem: Vim9: build failure without the +eval feature.
Solution: Add #ifdef.
2021-10-13 15:37:15 +01:00
Bram Moolenaar
7b82926892
patch 8.2.3503: Vim9: using g:pat:cmd is confusing
...
Problem: Vim9: using g:pat:cmd is confusing.
Solution: Do not recognize g: as the :global command. Also for s:pat:repl.
(closes #8982 )
2021-10-13 15:04:34 +01:00
Dominique Pelle
7f2dd1e90c
patch 8.2.3400: ":z!" is not supported
...
Problem: ":z!" is not supported.
Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836 )
Use display height instead of current window height.
2021-09-04 13:44:01 +02:00
Bram Moolenaar
b8bd2e6eba
patch 8.2.3363: when :edit reuses the current buffer the alternate file is set
...
Problem: When :edit reuses the current buffer the alternate file is set to
the same buffer.
Solution: Only set the alternate file when not reusing the buffer.
(closes #8783 )
2021-08-21 17:13:14 +02:00
Bram Moolenaar
63b9173693
patch 8.2.3297: cannot use all commands inside a {} block
...
Problem: Cannot use all commands inside a {} block after :command and
:autocmd.
Solution: Do consider \n to separate commands. (closes #8620 )
2021-08-05 20:40:03 +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
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
Bram Moolenaar
419a40ac96
patch 8.2.3033: no error when using alpha delimiter with :global
...
Problem: No error when using alpha delimiter with :global.
Solution: Check the delimiter like with :substitute. (closes #8415 )
2021-06-21 21:55:18 +02:00
Bram Moolenaar
e729ce294f
patch 8.2.2955: Vim9: using filter in compiled command does not work
...
Problem: Vim9: using filter in compiled command does not work.
Solution: Generate EXEC including the command modifier.
2021-06-06 21:38:09 +02:00
Bram Moolenaar
50157ef1c2
patch 8.2.2856: get readonly error for device that can't be written to
...
Problem: Get readonly error for device that can't be written to.
Solution: Check for being able to write first. (closes #8205 )
2021-05-15 23:21:05 +02:00
Yegappan Lakshmanan
bb01a1ef3a
patch 8.2.2813: cannot grep using fuzzy matching
...
Problem: Cannot grep using fuzzy matching.
Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152 )
2021-04-26 21:17:52 +02:00
Bram Moolenaar
4c13721482
patch 8.2.2784: Vim9: cannot use \=expr in :substitute
...
Problem: Vim9: cannot use \=expr in :substitute.
Solution: Compile the expression into instructions and execute them when
invoked.
2021-04-19 16:48:48 +02:00
Bram Moolenaar
e5b0b98a90
patch 8.2.2732: prompt for s///c in Ex mode can be wrong
...
Problem: Prompt for s///c in Ex mode can be wrong.
Solution: Position the cursor before showing the prompt. (closes #8073 )
2021-04-07 19:42:57 +02:00
Bram Moolenaar
aad5f9d79a
patch 8.2.2472: crash when using command line window in an autocommand
...
Problem: Crash when using command line window in an autocommand.
(houyunsong)
Solution: Save and restore au_new_curbuf.
2021-02-06 17:30:31 +01:00
Bram Moolenaar
8ab375706e
patch 8.2.2464: using freed memory if window closed in autocommand
...
Problem: Using freed memory if window closed in autocommand. (houyunsong)
Solution: Check the window still exists.
2021-02-03 21:56:59 +01:00
Bram Moolenaar
b63f3ca66d
patch 8.2.2433: opening cmdline window gives error in BufLeave autocommand
...
Problem: Opening cmdline window gives error in BufLeave autocommand.
Solution: Reset cmdwin_type when triggering the autocommand.
2021-01-30 21:40:03 +01:00
Bram Moolenaar
df2c2988bb
patch 8.2.2425: cursor on invalid line with range and :substitute
...
Problem: Cursor on invalid line with range and :substitute.
Solution: Do not move the cursor when skipping commands. (closes #3434 )
2021-01-28 20:18:08 +01:00
Bram Moolenaar
7c886db915
patch 8.2.2361: Vim9: no highlight for "s///gc" when using 'opfunc'
...
Problem: Vim9: no highlight for "s///gc" when using 'opfunc'.
Solution: Reset 'lazyredraw' temporarily. (closes #7687 )
2021-01-16 14:34:45 +01:00
Bram Moolenaar
797e63b9f2
patch 8.2.2354: crash with a weird combination of autocommands
...
Problem: Crash with a weird combination of autocommands.
Solution: Increment b_nwindows when needed. (closes #7674 )
2021-01-15 16:22:52 +01:00
Bram Moolenaar
ebbf11c119
patch 8.2.2307: a shell command in the vimrc causes terminal output
...
Problem: A shell command in the vimrc causes terminal output.
Solution: Do not call starttermcap() after a shell command if the termcap
wasn't active before.
2021-01-07 14:45:03 +01:00
Bram Moolenaar
d93a7fc1a9
patch 8.2.2295: incsearch does not detect empty pattern properly
...
Problem: Incsearch does not detect empty pattern properly.
Solution: Return magic state when skipping over a pattern. (Christian
Brabandt, closes #7612 , closes #6420 )
2021-01-04 12:42:13 +01:00
Bram Moolenaar
e4862a0fe6
patch 8.2.2231: when "--remote file" is used "file" is not reloaded
...
Problem: When "--remote file" is used "file" is not reloaded.
Solution: When a :drop command is used for a file that is already displayed
in a window and it has not been changed, check if it needs to be
reloaded. (closes #7560 )
2020-12-27 19:00:24 +01:00
Bram Moolenaar
60f63100b9
patch 8.2.2183: Vim9: value of 'edcompatible' and 'gdefault' are used
...
Problem: Vim9: value of 'edcompatible' and 'gdefault' are used.
Solution: Ignore these deprecated options in Vim9 script. (closes #7508 )
2020-12-21 20:32:43 +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
47a2abf0bc
patch 8.2.2052: Vim9: "edit +4 fname" gives an error
...
Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino)
Solution: Allow using a range in the +cmd argument. (closes #7364 )
2020-11-25 20:12:11 +01:00
Bram Moolenaar
59d8e56e04
patch 8.2.1967: the session file does not restore the alternate file
...
Problem: The session file does not restore the alternate file.
Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
alternate file. Use it in the session file. (closes #7269 ,
closes #6714 )
2020-11-07 18:41:10 +01:00