summaryrefslogtreecommitdiffstats
path: root/src/ex_getln.c
AgeCommit message (Collapse)Author
2023-04-17patch 9.0.1460: insufficient testing for getcmdcompltype()v9.0.1460zeertzjq
Problem: Insufficient testing for getcmdcompltype(). Solution: Add a few more test cases. (closes #12268)
2023-04-12patch 9.0.1444: crash when passing NULL to setcmdline()v9.0.1444zeertzjq
Problem: Crash when passing NULL to setcmdline(). (Andreas Louv) Solution: Use tv_get_string() instead of using v_string directly. (closes #12231, closes #12227)
2023-03-04patch 9.0.1380: CTRL-X on 2**64 subtracts twov9.0.1380Bram Moolenaar
Problem: CTRL-X on 2**64 subtracts two. (James McCoy) Solution: Correct computation for large number. (closes #12103)
2023-02-20patch 9.0.1330: handling new value of an option has a long "else if" chainv9.0.1330Yegappan Lakshmanan
Problem: Handling new value of an option has a long "else if" chain. Solution: Use a function pointer. (Yegappan Lakshmanan, closes #12015)
2023-02-11patch 9.0.1299: change for triggering incsearch not sufficiently testedv9.0.1299zeertzjq
Problem: Change for triggering incsearch not sufficiently tested. Solution: Add a test case. Simplify the code. (closes #11971)
2023-02-10patch 9.0.1298: inserting register on the cmdline does not trigger incsearchv9.0.1298K.Takata
Problem: Inserting a register on the command line does not trigger incsearch or update hlsearch. Solution: Have cmdline_insert_reg() return CMDLINE_CHANGED when appropriate and handle it correctly. (Ken Takata, closes #11960)
2023-02-06patch 9.0.1290: CTRL-N and -P on cmdline don't trigger CmdlineChangedv9.0.1290zeertzjq
Problem: CTRL-N and -P on cmdline don't trigger CmdlineChanged. Solution: Jump to cmdline_changed instead of cmdline_not_changed. (closes #11956)
2023-01-09patch 9.0.1166: code is indented more than necessaryv9.0.1166Yegappan Lakshmanan
Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11792)
2023-01-02patch 9.0.1132: code is indented more than neededv9.0.1132Yegappan Lakshmanan
Problem: Code is indented more than needed. Solution: Use an early return to reduce indentation. (Yegappan Lakshmanan, closes #11769)
2022-12-30patch 9.0.1115: code is indented more than neededv9.0.1115Yegappan Lakshmanan
Problem: Code is indented more than needed. Solution: Use an early return to reduce indenting. (Yegappan Lakshmanan, closes #11758)
2022-12-09patch 9.0.1040: test for <Cmd> mapping with CmdlineChanged failsv9.0.1040Bram Moolenaar
Problem: Test for <Cmd> mapping with CmdlineChanged fails. Solution: Put back the check for the cmdline length not changing.
2022-12-09patch 9.0.1039: using a <Cmd> mapping CmdlineChanged may be triggered twicev9.0.1039Bram Moolenaar
Problem: Using a <Cmd> mapping CmdlineChanged may be triggered twice. Solution: Count the number of times CmdlineChanged is triggered and avoid doing it twice. (closes #116820
2022-12-09patch 9.0.1038: function name does not match what it is used forv9.0.1038zeertzjq
Problem: Function name does not match what it is used for. Solution: Include the modifier in the name. (closes #11679)
2022-12-01patch 9.0.0980: the keyboard state response may end up in a shell commandv9.0.0980Bram Moolenaar
Problem: The keyboard state response may end up in a shell command. Solution: Only request the keyboard protocol state when the typeahead is empty, no more commands are following and not exiting. Add the t_RK termcap entry for this.
2022-11-17patch 9.0.0892: may redraw when not neededv9.0.0892Bram Moolenaar
Problem: May redraw when not needed, causing slow scrolling. Solution: Do not redraw when w_skipcol doesn't change. When w_skipcol changes only redraw from the top. (issue #11559)
2022-11-15patch 9.0.0886: horizontal mouse scroll only works in the GUIv9.0.0886Christopher Plewright
Problem: Horizontal mouse scroll only works in the GUI. Solution: Make horizontal mouse scroll also work in a terminal. (Christopher Plewright, closes #11448)
2022-10-04patch 9.0.0657: too many #ifdefsv9.0.0657Martin Tournoij
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-09-18patch 9.0.0500: when quitting cmdline window with CTRL-C it remains visiblev9.0.0500Bram Moolenaar
Problem: When quitting the cmdline window with CTRL-C it remains visible. Solution: Redraw to avoid confusion. Adjust the error message. (closes #11152) Adjust the cursor position after CTRL-C.
2022-09-17patch 9.0.0490: using freed memory with cmdwin and BufEnter autocmdv9.0.0490Bram Moolenaar
Problem: Using freed memory with cmdwin and BufEnter autocmd. Solution: Make sure pointer to b_p_iminsert is still valid.
2022-09-15patch 9.0.0469: cursor moves if cmdwin is closed when 'splitscroll' is offv9.0.0469Luuk van Baal
Problem: Cursor moves if cmdwin is closed when 'splitscroll' is off. Solution: Skip win_fix_cursor if called when cmdwin is open or closing. (Luuk van Baal, closes #11134)
2022-09-14patch 9.0.0465: cursor moves when cmdwin is closed when 'splitscroll' is offv9.0.0465mityu
Problem: Cursor moves when cmdwin is closed when 'splitscroll' is off. Solution: Temporarily set 'splitscroll' when jumping back to the original window. (closes #11128)
2022-09-11patch 9.0.0447: using :echowin while at the hit-enter prompt causes problemsv9.0.0447Bram Moolenaar
Problem: Using :echowin while at the hit-enter prompt causes problems. Solution: Do not prompt for :echowin. Postpone showing the message window. Start the timer when the window is displayed.
2022-08-31patch 9.0.0340: the 'cmdheight' zero support causes too much troublev9.0.0340Bram Moolenaar
Problem: The 'cmdheight' zero support causes too much trouble. Solution: Revert support for 'cmdheight' being zero.
2022-08-29patch 9.0.0321: cannot use the message popup window directlyv9.0.0321Bram Moolenaar
Problem: Cannot use the message popup window directly. Solution: Add ":echowindow".
2022-08-29patch 9.0.0320: command line type of CmdlineChange differs from getcmdtype()v9.0.0320zeertzjq
Problem: Command line type of CmdlineChange differs from getcmdtype(). Solution: Use the same type. (closes #11005)
2022-08-29patch 9.0.0318: clearing screen causes flickerv9.0.0318Bram Moolenaar
Problem: Clearing screen causes flicker. Solution: Do not clear but redraw in more cases. Add () to "wait_return".
2022-08-29patch 9.0.0316: screen flickers when 'cmdheight' is zerov9.0.0316Bram Moolenaar
Problem: Screen flickers when 'cmdheight' is zero. Solution: Redraw over existing text instead of clearing.
2022-08-28patch 9.0.0299: error messages for setcmdline() could be betterv9.0.0299Yegappan Lakshmanan
Problem: Error messages for setcmdline() could be better. Solution: Use more specific error messages. (Yegappan Lakshmanan, closes #10995)
2022-08-28patch 9.0.0293: messages window not hidden when starting a command linev9.0.0293Bram Moolenaar
Problem: Messages window not hidden when starting a command line. Solution: Hide the messages window. (closes #10996)
2022-08-27patch 9.0.0285: it is not easy to change the command line from a pluginv9.0.0285Shougo Matsushita
Problem: It is not easy to change the command line from a plugin. Solution: Add setcmdline(). (Shougo Matsushita, closes #10869)
2022-08-26patch 9.0.0279: the tiny version has the popup menu but not 'wildmenu'v9.0.0279Bram Moolenaar
Problem: The tiny version has the popup menu but not 'wildmenu'. Solution: Graduate the wildmenu feature.
2022-08-26patch 9.0.0271: using INIT() in non-header filesv9.0.0271zeertzjq
Problem: Using INIT() in non-header files. Solution: Remove INIT(). (closes #10981)
2022-08-21patch 9.0.0239: build failure without the +wildmenu featurev9.0.0239Bram Moolenaar
Problem: Build failure without the +wildmenu feature. Solution: Move parenthesis.
2022-08-21patch 9.0.0238: Shift-Tab shows matches on cmdline when 'wildmenu' is offv9.0.0238Bram Moolenaar
Problem: Shift-Tab shows matches on cmdline when 'wildmenu' is off. Solution: Only show matches when 'wildmode' contains "list". (closes #10951)
2022-08-14patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar
Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-07-30patch 9.0.0115: when 'cmdheight' is zero pressing ':' may scroll a windowv9.0.0115Bram Moolenaar
Problem: When 'cmdheight' is zero pressing ':' may scroll a window. Solution: Add the made_cmdheight_nonzero flag and set 'scrolloff' to zero.
2022-07-30patch 9.0.0114: the command line takes up space even when not usedv9.0.0114Shougo Matsushita
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-28patch 9.0.0099: scrollback can be wrong after redrawing the command linev9.0.0099zeertzjq
Problem: Scrollback can be wrong after redrawing the command line. Solution: Clear unfinished scrollback when redrawing. (closes #10807)
2022-07-26patch 9.0.0086: tabline is not redrawn when entering command linev9.0.0086zeertzjq
Problem: Tabline is not redrawn when entering command line. Solution: Set "redraw_tabline". (closes #10771)
2022-07-26patch 9.0.0083: ModeChanged event not triggered when leaving cmdline windowv9.0.0083zeertzjq
Problem: ModeChanged event not triggered when leaving the cmdline window. Solution: Call may_trigger_modechanged(). (closes #10791)
2022-07-26patch 9.0.0082: cannot interrupt global command from command linev9.0.0082zeertzjq
Problem: Cannot interrupt global command from command line. Solution: Reset got_int in another place. (closes #10739)
2022-07-14patch 9.0.0051: using CTRL-C wih :append may hang Vimv9.0.0051zeertzjq
Problem: Using CTRL-C wih :append may hang Vim. Solution: Reset got_int. (closes #10729, closes #10728)
2022-06-22patch 8.2.5149: cannot build without the +eval featurev8.2.5149Bram Moolenaar
Problem: Cannot build without the +eval feature. (Tony Mechelynck) Solution: Add #ifdefs.
2022-06-22patch 8.2.5148: invalid memory access when using expression on command linev8.2.5148Bram Moolenaar
Problem: Invalid memory access when using an expression on the command line. Solution: Make sure the position does not go negative.
2022-06-16patch 8.2.5106: default cmdwin mappings are re-mappablev8.2.5106zeertzjq
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-14patch 8.2.5088: value of cmod_verbose is a bit complicated to usev8.2.5088zeertzjq
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-05patch 8.2.5057: using gettimeofday() for timeout is very inefficientv8.2.5057Paul Ollis
Problem: Using gettimeofday() for timeout is very inefficient. Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
2022-05-30patch 8.2.5044: command line test failsv8.2.5044Bram Moolenaar
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-30patch 8.2.5043: can open a cmdline window from a substitute expressionv8.2.5043Bram Moolenaar
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-27patch 8.2.5029: "textlock" is always zerov8.2.5029zeertzjq
Problem: "textlock" is always zero. Solution: Remove "textlock" and rename "textwinlock" to "textlock". (closes #10489)