79cdf026f1
patch 9.0.1571: RedrawingDisabled not used consistently
...
Problem: RedrawingDisabled not used consistently.
Solution: Avoid RedrawingDisabled going negative. Set RedrawingDisabled in
win_split_ins(). (closes #11961 )
2023-05-20 14:07:00 +01:00
411da64e77
patch 9.0.1538: :wqall does not trigger ExitPre
...
Problem: :wqall does not trigger ExitPre. (Bart Libert)
Solution: Move preparations for :qall to a common function. (closes #12374 )
2023-05-10 16:53:27 +01:00
70e8028a4d
patch 9.0.1510: misleading variable name for error message
...
Problem: Misleading variable name for error message.
Solution: Change "name" to "number". (closes #12345 )
2023-05-05 22:58:34 +01:00
7e5fe38efc
patch 9.0.1454: code indenting is confused by macros
...
Problem: Code indenting is confused by macros.
Solution: Put semicolon after the macros instead of inside. (Ozaki Kiichi,
closes #12257 )
2023-04-15 13:17:50 +01:00
e764d1b421
patch 9.0.1403: unused variables and functions
...
Problem: Unused variables and functions.
Solution: Delete items and adjust #ifdefs. (Dominique Pellé, closes #12145 )
2023-03-12 21:20:59 +00:00
5145c9a829
patch 9.0.1400: find_file_in_path() is not reentrant
...
Problem: find_file_in_path() is not reentrant.
Solution: Instead of global variables pass pointers to the functions.
(closes #12093 )
2023-03-11 13:55:53 +00:00
a23a11b5bf
patch 9.0.1336: functions without arguments are not always declared properly
...
Problem: Functions without arguments are not always declared properly.
Solution: Use "(void)" instead of "()". (Yegappan Lakshmanan, closes #12031 )
2023-02-21 14:27:41 +00:00
af93691b53
patch 9.0.1330: handling new value of an option has a long "else if" chain
...
Problem: Handling new value of an option has a long "else if" chain.
Solution: Use a function pointer. (Yegappan Lakshmanan, closes #12015 )
2023-02-20 12:16:39 +00:00
0ef9a5c094
patch 9.0.1215: using isalpha() adds dependency on current locale
...
Problem: Using isalpha() adds dependency on current locale.
Solution: Do not use isalpha() for recognizing a URL or the end of an Ex
command. (closes #11835 )
2023-01-17 21:38:25 +00:00
554d031302
patch 9.0.1150: :interface is not implemented yet
...
Problem: :interface is not implemented yet.
Solution: Implement the basics of :interface.
2023-01-05 19:59:18 +00:00
dc4daa3a39
patch 9.0.1132: code is indented more than needed
...
Problem: Code is indented more than needed.
Solution: Use an early return to reduce indentation. (Yegappan Lakshmanan,
closes #11769 )
2023-01-02 16:54:53 +00:00
ed0c1d5d4b
patch 9.0.1115: code is indented more than needed
...
Problem: Code is indented more than needed.
Solution: Use an early return to reduce indenting. (Yegappan Lakshmanan,
closes #11758 )
2022-12-30 18:07:46 +00:00
c1c365c1ca
patch 9.0.1001: classes are not documented or implemented yet
...
Problem: Classes are not documented or implemented yet.
Solution: Make the first steps at documenting Vim9 objects, classes and
interfaces. Make initial choices for the syntax. Add a skeleton
implementation. Add "public" and "this" in the command table.
2022-12-04 20:13:24 +00:00
e76062c078
patch 9.0.0965: using one window for executing autocommands is insufficient
...
Problem: Using one window for executing autocommands is insufficient.
Solution: Use up to five windows for executing autocommands.
2022-11-28 18:51:43 +00:00
9fda81515b
patch 9.0.0909: error message for layout change does not match action
...
Problem: Error message for layout change does not match action.
Solution: Pass the command to where the error is given. (closes #11573 )
2022-11-19 13:14:10 +00:00
d63a85592c
patch 9.0.0907: restoring window after WinScrolled may fail
...
Problem: Restoring window after WinScrolled may fail.
Solution: Lock the window layout when triggering WinScrolled.
2022-11-19 11:41:30 +00:00
9954dc39ea
patch 9.0.0861: solution for "!!sort" in closed fold is not optimal
...
Problem: Solution for "!!sort" in closed fold is not optimal.
Solution: Use a different range instead of the subtle difference in handling
a range with an offset. (issue #11487 )
2022-11-11 22:58:36 +00:00
fd3084b6e2
patch 9.0.0859: compiler warning for unused variable
...
Problem: Compiler warning for unused variable.
Solution: Add #ifdef.
2022-11-11 01:40:48 +00:00
f00112d558
patch 9.0.0858: "!!sort" in a closed fold sorts too many lines
...
Problem: "!!sort" in a closed fold sorts too many lines.
Solution: Round to end of fold after adding the line count. (closes #11487 )
2022-11-11 01:20:35 +00:00
15b314ffbb
patch 9.0.0708: :confirm does not work properly for a terminal buffer
...
Problem: :confirm does not work properly for a terminal buffer.
Solution: Handle :confirm for a terminal buffer differently. (Yee Cheng
Chin, closes #11312 )
2022-10-09 18:53:32 +01:00
33b55b562b
patch 9.0.0688: debugger does not display the whole command
...
Problem: Debugger does not display the whole command.
Solution: Set ea.cmd before checking for a breakpoint.
2022-10-07 18:51:23 +01:00
5ab300195b
patch 9.0.0687: "export def" does not work in a nested block
...
Problem: "export def" does not work in a nested block.
Solution: Do not handle "export" with a separate function but in the same
command stack. (closes #11304 )
2022-10-07 17:26:22 +01:00
7904fa420e
patch 9.0.0657: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +cmdwin feature. Now the tiny and small builds are
equal, drop the small build. (Martin Tournoij, closes #11268 )
2022-10-04 16:28:45 +01:00
eda29c971c
patch 9.0.0637: syntax of commands in Vim9 script depends on +eval feature
...
Problem: Syntax of commands in Vim9 script depends on +eval feature.
Solution: Use same syntax with and without the +eval feature.
2022-10-02 12:59:00 +01:00
a4e0b9785e
patch 9.0.0634: evaluating "expr" options has more overhead than needed
...
Problem: Evaluating "expr" options has more overhead than needed.
Solution: Use call_simple_func() for 'foldtext', 'includeexpr', 'printexpr',
"expr" of 'spellsuggest', 'diffexpr', 'patchexpr', 'balloonexpr',
'formatexpr', 'indentexpr' and 'charconvert'.
2022-10-01 19:43:52 +01:00
62de54b48d
patch 9.0.0550: crash when closing a tabpage and buffer is NULL
...
Problem: Crash when closing a tabpage and buffer is NULL.
Solution: Adjust how autocommands are triggered when closing a window.
(closes #11198 , closes #11197 )
2022-09-22 18:08:37 +01:00
320d910064
patch 9.0.0517: when at the command line :redrawstatus does not work well
...
Problem: When at the command line :redrawstatus does not work well.
Solution: Only update the statuslines instead of the screen. (closes #11180 )
2022-09-20 17:12:13 +01:00
c14bfc31d9
patch 9.0.0512: cannot redraw the status lines when editing a command
...
Problem: Cannot redraw the status lines when editing a command.
Solution: Only postpone the redraw when messages have scrolled.
(closes #11170 )
2022-09-20 13:17:57 +01:00
bcd6924245
patch 9.0.0507: cmdline cleared when using :redrawstatus in CmdlineChanged
...
Problem: Command line cleared when using :redrawstatus in CmdlineChanged
autocommand event.
Solution: Postpone the redraw. (closes #11162 )
2022-09-19 21:16:12 +01:00
aa5341477c
patch 9.0.0473: fullcommand() only works for the current script version
...
Problem: fullcommand() only works for the current script version.
Solution: Add an optional argument for the script version.
2022-09-15 21:46:02 +01:00
9510d22463
patch 9.0.0444: trying to declare g:variable gives confusing error
...
Problem: Trying to declare g:variable gives confusing error.
Solution: Give a better error message. (closes #11108 )
2022-09-11 15:14:05 +01:00
9132426334
patch 9.0.0423: "for" and "while" not recognized after :vim9cmd and :legacy
...
Problem: "for" and "while" not recognized after :vim9cmd and :legacy.
(Emanuele Torre)
Solution: Recognize all the command modifiers. (closes #11087 )
Add a test to check the list of modifiers.
2022-09-09 13:27:59 +01:00
35d21c6830
patch 9.0.0360: crash when invalid line number on :for is ignored
...
Problem: Crash when invalid line number on :for is ignored.
Solution: Do not check breakpoint for non-existing line.
2022-09-02 16:47:16 +01:00
7d7ad7b2e8
patch 9.0.0350: :echowindow does not work in a compiled function
...
Problem: :echowindow does not work in a compiled function.
Solution: Handle the expression at compile time.
2022-09-01 16:00:53 +01:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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