Bram Moolenaar
b0509c542e
patch 9.0.0293: messages window not hidden when starting a command line
...
Problem: Messages window not hidden when starting a command line.
Solution: Hide the messages window. (closes #10996 )
2022-08-28 12:06:21 +01:00
Shougo Matsushita
07ea5f1509
patch 9.0.0285: it is not easy to change the command line from a plugin
...
Problem: It is not easy to change the command line from a plugin.
Solution: Add setcmdline(). (Shougo Matsushita, closes #10869 )
2022-08-27 12:22:25 +01:00
Bram Moolenaar
5416232707
patch 9.0.0279: the tiny version has the popup menu but not 'wildmenu'
...
Problem: The tiny version has the popup menu but not 'wildmenu'.
Solution: Graduate the wildmenu feature.
2022-08-26 16:58:51 +01:00
zeertzjq
9b7d2a9596
patch 9.0.0271: using INIT() in non-header files
...
Problem: Using INIT() in non-header files.
Solution: Remove INIT(). (closes #10981 )
2022-08-26 10:33:54 +01:00
Bram Moolenaar
8884916043
patch 9.0.0239: build failure without the +wildmenu feature
...
Problem: Build failure without the +wildmenu feature.
Solution: Move parenthesis.
2022-08-21 19:08:50 +01:00
Bram Moolenaar
300175fd7f
patch 9.0.0238: Shift-Tab shows matches on cmdline when 'wildmenu' is off
...
Problem: Shift-Tab shows matches on cmdline when 'wildmenu' is off.
Solution: Only show matches when 'wildmode' contains "list". (closes #10951 )
2022-08-21 18:38:21 +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
6747cf1671
patch 9.0.0115: when 'cmdheight' is zero pressing ':' may scroll a window
...
Problem: When 'cmdheight' is zero pressing ':' may scroll a window.
Solution: Add the made_cmdheight_nonzero flag and set 'scrolloff' to zero.
2022-07-30 19:10:06 +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
zeertzjq
46af7bc08d
patch 9.0.0099: scrollback can be wrong after redrawing the command line
...
Problem: Scrollback can be wrong after redrawing the command line.
Solution: Clear unfinished scrollback when redrawing. (closes #10807 )
2022-07-28 12:34:09 +01:00
zeertzjq
6791adca53
patch 9.0.0086: tabline is not redrawn when entering command line
...
Problem: Tabline is not redrawn when entering command line.
Solution: Set "redraw_tabline". (closes #10771 )
2022-07-26 20:42:25 +01:00
zeertzjq
c9e8fd6fc7
patch 9.0.0083: ModeChanged event not triggered when leaving cmdline window
...
Problem: ModeChanged event not triggered when leaving the cmdline window.
Solution: Call may_trigger_modechanged(). (closes #10791 )
2022-07-26 18:12:38 +01:00
zeertzjq
3cfae39b08
patch 9.0.0082: cannot interrupt global command from command line
...
Problem: Cannot interrupt global command from command line.
Solution: Reset got_int in another place. (closes #10739 )
2022-07-26 17:48:13 +01:00
zeertzjq
f754fe6a3d
patch 9.0.0051: using CTRL-C wih :append may hang Vim
...
Problem: Using CTRL-C wih :append may hang Vim.
Solution: Reset got_int. (closes #10729 , closes #10728 )
2022-07-14 17:06:12 +01:00
Bram Moolenaar
6689df024b
patch 8.2.5149: cannot build without the +eval feature
...
Problem: Cannot build without the +eval feature. (Tony Mechelynck)
Solution: Add #ifdefs.
2022-06-22 18:14:29 +01:00
Bram Moolenaar
6046aded8d
patch 8.2.5148: invalid memory access when using expression on command line
...
Problem: Invalid memory access when using an expression on the command line.
Solution: Make sure the position does not go negative.
2022-06-22 13:51:54 +01:00
zeertzjq
44068e97db
patch 8.2.5106: default cmdwin mappings are re-mappable
...
Problem: Default cmdwin mappings are re-mappable.
Solution: Make the default mappings not re-mappable. (closes #10580 ) Use
symbols for the first do_map() argument.
2022-06-16 11:14:55 +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
Paul Ollis
6574577cac
patch 8.2.5057: using gettimeofday() for timeout is very inefficient
...
Problem: Using gettimeofday() for timeout is very inefficient.
Solution: Set a platform dependent timer. (Paul Ollis, closes #10505 )
2022-06-05 16:55:54 +01:00
Bram Moolenaar
be99042b03
patch 8.2.5044: command line test fails
...
Problem: Command line test fails.
Solution: Also beep when cmdline win can't be opened because of locks.
Make the test not beep. Make the test pass on MS-Windows.
2022-05-30 16:01:42 +01:00
Bram Moolenaar
71223e2db8
patch 8.2.5043: can open a cmdline window from a substitute expression
...
Problem: Can open a cmdline window from a substitute expression.
Solution: Disallow opening a command line window when text or buffer is
locked.
2022-05-30 15:23:09 +01:00
zeertzjq
cfe456543e
patch 8.2.5029: "textlock" is always zero
...
Problem: "textlock" is always zero.
Solution: Remove "textlock" and rename "textwinlock" to "textlock".
(closes #10489 )
2022-05-27 17:26:55 +01:00
Bram Moolenaar
51f0bfb88a
patch 8.2.4975: recursive command line loop may cause a crash
...
Problem: Recursive command line loop may cause a crash.
Solution: Limit recursion of getcmdline().
2022-05-17 20:11:02 +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
9ff7d717aa
patch 8.2.4910: imperfect coding
...
Problem: Imperfect coding.
Solution: Make code nicer.
2022-05-07 17:45:16 +01:00
Shougo Matsushita
79d599b877
patch 8.2.4903: cannot get the current cmdline completion type and position
...
Problem: Cannot get the current cmdline completion type and position.
Solution: Add getcmdcompltype() and getcmdscreenpos(). (Shougo Matsushita,
closes #10344 )
2022-05-07 12:48:29 +01:00
Bram Moolenaar
ef02f16609
patch 8.2.4899: with latin1 encoding CTRL-W might go before the cmdline
...
Problem: With latin1 encoding CTRL-W might go before the start of the
command line.
Solution: Check already being at the start of the command line.
2022-05-07 10:49:10 +01:00
Yegappan Lakshmanan
1fc6ea9bf3
patch 8.2.4804: expression in heredoc doesn't work for compiled function
...
Problem: Expression in heredoc doesn't work for compiled function.
Solution: Implement compiling the heredoc expressions. (Yegappan Lakshmanan,
closes #10232 )
2022-04-21 23:30:15 +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
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
Yegappan Lakshmanan
155b088208
patch 8.2.4585: cannot use keypad page-up/down for completion menu
...
Problem: Cannot use keypad page-up/down for completion menu.
Solution: Recognize the keypad keys. (Yegappan Lakshmanan, closes #9963 )
2022-03-17 13:03:09 +00:00
Yegappan Lakshmanan
5cffa8df7e
patch 8.2.4579: cannot use page-up and page-down in the cmdline popup menu
...
Problem: Cannot use page-up and page-down in the command line completion
popup menu.
Solution: Check for to page-up and page-down keys. (Yegappan Lakshmanan,
closes #9960 )
2022-03-16 13:33:53 +00:00
Bram Moolenaar
05c1734c4f
patch 8.2.4469: Coverity warns for uninitialized variable
...
Problem: Coverity warns for uninitialized variable.
Solution: Set the value to zero.
2022-02-25 20:57:11 +00:00
Yegappan Lakshmanan
b31aec3b93
patch 8.2.4398: some command completion functions are too long
...
Problem: Some command completion functions are too long.
Solution: Refactor code into separate functions. Add a few more tests.
(Yegappan Lakshmanan, closes #9785 )
2022-02-16 12:44:29 +00:00
Yegappan Lakshmanan
560dff49c0
patch 8.2.4339: CTRL-A does not work properly with the cmdline popup menu
...
Problem: CTRL-A does not work properly with the cmdline popup menu.
Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup
menu. Remove TermWait() before VeriryScreenDump(). Refactor the
cmdline popup code. (Yegappan Lakshmanan, closes #9735 )
2022-02-10 19:52:10 +00:00
Bram Moolenaar
73a16c22a4
patch 8.2.4328: command line complete matches cleard when typing character
...
Problem: Command line complete matches cleard when typing character.
(Dominique Pellé)
Solution: Only remove a popup menu if there is one.
2022-02-08 17:40:36 +00:00
Yegappan Lakshmanan
3908ef5017
patch 8.2.4325: 'wildmenu' only shows few matches
...
Problem: 'wildmenu' only shows few matches.
Solution: Add the "pum" option: use a popup menu to show the matches.
(Yegappan Lakshmanan et al., closes #9707 )
2022-02-08 12:08:07 +00:00
Bram Moolenaar
85b6747abc
patch 8.2.4214: illegal memory access with large 'tabstop' in Ex mode
...
Problem: Illegal memory access with large 'tabstop' in Ex mode.
Solution: Allocate enough memory.
2022-01-25 11:55:02 +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
Yegappan Lakshmanan
782b43d894
patch 8.2.4045: some global functions are only used in one file
...
Problem: Some global functions are only used in one file.
Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492 )
2022-01-08 18:43:40 +00:00
Bram Moolenaar
9d00e4a814
patch 8.2.4010: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-05 17:49:15 +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
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
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
6d0570117a
patch 8.2.3959: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 18:49:43 +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
e50507126f
patch 8.2.3763: when editing the cmdline a callback may cause a scroll up
...
Problem: When editing the command line a FocusLost callback may cause the
screen to scroll up.
Solution: Do not redraw at the last line but at the same place where the
command line was before. (closes #9295 )
2021-12-09 10:51:05 +00:00
mityu
a119812437
patch 8.2.3629: command completion in cmdline window uses global commands
...
Problem: Command completion in cmdline window uses global user commands,
not local commands for the window where it was opened from.
Solution: Use local commands. (closes #9168 )
2021-11-20 19:13:39 +00:00
Bram Moolenaar
21c1a0c2f1
patch 8.2.3530: ":buf \{a}" fails while ":edit \{a}" works
...
Problem: ":buf \{a}" fails while ":edit \{a}" works.
Solution: Unescape "\{". (closes #8917 )
2021-10-17 17:20:23 +01:00