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
Bram Moolenaar
f65b35b446
patch 8.2.1954: Vim9: not all command modifiers are tested
...
Problem: Vim9: not all command modifiers are tested.
Solution: Add tests for "keep" modifiers. Fix that marks are lost even
though ":lockmarks" is used.
2020-11-04 18:02:44 +01:00
Bram Moolenaar
55e29611d2
patch 8.2.1933: cannot sort using locale ordering
...
Problem: Cannot sort using locale ordering.
Solution: Add a flag for :sort and sort() to use the locale. (Dominique
Pellé, closes #7237 )
2020-11-01 13:57:44 +01:00
Bram Moolenaar
89b693e562
patch 8.2.1904: still using default option values after using ":badd +1"
...
Problem: Still using default option values after using ":badd +1".
Solution: Find a window where options were set. Don't set the window when
using ":badd".
2020-10-25 17:09:50 +01:00
Bram Moolenaar
e974fa7b2b
patch 8.2.1902: default option values changed with :badd for existing buffer
...
Problem: Default option values are changed when using :badd for an existing
buffer.
Solution: When calling buflist_new() pass a zero line number. (closes #7195 )
2020-10-25 15:02:51 +01:00
Bram Moolenaar
67def64a4e
patch 8.2.1899: crash in out-of-memory situation
...
Problem: Crash in out-of-memory situation.
Solution: Bail out if shell_name is NULL. (Dominique Pellé, closes #7196 )
2020-10-24 20:58:06 +02:00
Bram Moolenaar
e100440158
patch 8.2.1898: command modifier parsing always uses global cmdmod
...
Problem: Command modifier parsing always uses global cmdmod.
Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-10-24 20:49:43 +02:00
Bram Moolenaar
21cbe175ee
patch 8.2.1842: crash when USE_FNAME_CASE is defined and using :browse
...
Problem: Crash when USE_FNAME_CASE is defined and using :browse.
Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan,
closes #7123 )
2020-10-13 19:08:24 +02:00
Bram Moolenaar
55b419b871
patch 8.2.1801: undo file not found when using ":args" or ":next"
...
Problem: Undo file not found when using ":args" or ":next".
Solution: Handle like editing another file. (closes #7072 )
2020-10-04 19:56:39 +02:00
Bram Moolenaar
451c2e3536
patch 8.2.1460: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more messages into errors.h.
2020-08-15 16:33:28 +02:00
Bram Moolenaar
66e0014ba6
patch 8.2.1436: function implementing :substitute has unexpected name
...
Problem: Function implementing :substitute has unexpected name.
Solution: Rename from do_sub() to ex_substitute().
2020-08-12 21:58:12 +02:00
Bram Moolenaar
461f21242a
patch 8.2.1309: build failure with tiny version
...
Problem: Build failure with tiny version.
Solution: Add #ifdef.
2020-07-28 20:25:47 +02:00
Bram Moolenaar
ae616494d7
patch 8.2.1308: Vim9: accidentally using "x" causes Vim to exit
...
Problem: Vim9: accidentally using "x" causes Vim to exit.
Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399 )
2020-07-28 20:07:27 +02:00
Bram Moolenaar
2d06bfde29
patch 8.2.1281: the "trailing characters" error can be hard to understand
...
Problem: The "trailing characters" error can be hard to understand.
Solution: Add the trailing characters to the message.
2020-07-23 17:16:18 +02:00
Bram Moolenaar
f868ba8903
patch 8.2.1262: src/ex_cmds.c file is too big
...
Problem: src/ex_cmds.c file is too big.
Solution: Move help related code to src/help.c. (Yegappan Lakshmanan,
closes #6506 )
2020-07-21 21:07:20 +02:00
Bram Moolenaar
71ccd03ee8
patch 8.2.0967: unnecessary type casts for vim_strnsave()
...
Problem: Unnecessary type casts for vim_strnsave().
Solution: Remove the type casts.
2020-06-12 22:59:11 +02:00
Bram Moolenaar
32ee627750
patch 8.2.0943: displaying ^M or ^J depends on current buffer
...
Problem: Displaying ^M or ^J depends on current buffer.
Solution: Pass the displayed buffer to transchar(). (closes #6225 )
2020-06-10 14:16:49 +02:00