| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Stuck when win_execute() for a popup causes an error.
Solution: Disable the filter callback on error. (issue #6999)
|
|
|
|
|
| |
Problem: Endless loop when ":normal" feeds popup window filter.
Solution: Add the ex_normal_busy_done flag.
|
|
|
|
|
|
|
| |
Problem: A popup created with "cursorline" will ignore "firstline".
Solution: When both "cursorline" and "firstline" are present put the cursor
on "firstline". (closes #7000) Add the "winid" argument to
getcurpos().
|
|
|
|
|
|
| |
Problem: Get stuck if a popup filter causes an error.
Solution: Check whether the function can be called and does not cause an
error. (closes #6902)
|
|
|
|
|
| |
Problem: Tests do not check the error number properly.0
Solution: Add a colon after the error number. (closes #6869)
|
|
|
|
|
| |
Problem: Using line() for global popup window doesn't work.
Solution: Set tabpage to "curtab". (closes #6847)
|
|
|
|
|
| |
Problem: Vim9: popup_clear() does not take "true" as argument.
Solution: Use tv_get_bool(). (closes #6826)
|
|
|
|
|
|
| |
Problem: On slow systems tests can be flaky.
Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan,
closes #6756)
|
|
|
|
|
|
| |
Problem: Closing a popup window with CTRL-C interrupts 'statusline' if it
calls a function.
Solution: Reset got_int while redrawing. (closes #6675)
|
|
|
|
|
|
| |
Problem: Popupwindow missing last couple of lines when cursor is in the
first line.
Solution: Compute the max height also when top aligned. (closes #6664)
|
|
|
|
|
| |
Problem: Popupwindow lacks scrollbar if no "maxheight" is used.
Solution: Compute the max height depending on the position. (closes #6664)
|
|
|
|
|
|
| |
Problem: Vim9: skipping over white space after list.
Solution: Do not skip white space, a following [] would be misinterpreted.
(closes #6552) Fix a few side effects.
|
|
|
|
|
|
| |
Problem: popup window width does not include number, fold of sign column
width.
Solution: Take number, fold and sign column with into account.
|
|
|
|
|
| |
Problem: Calling popup_setoptions() resets 'signcolumn'.
Solution: Only set 'signcolumn' when creating the popup. (closes #6542)
|
|
|
|
|
|
| |
Problem: Changing 'completepopup' after opening a popup has no effect. (Jay
Sitter)
Solution: Close the popup when the options are changed. (closes #6471)
|
|
|
|
|
|
| |
Problem: memory access error when dragging a popup window over a buffer
with folding.
Solution: Avoid going over the end of the cache. (closes #6438)
|
|
|
|
|
| |
Problem: Test failure because shell prompt differs.
Solution: Set the shell prompt.
|
|
|
|
|
| |
Problem: Terminal window not redrawn when dragging a popup window over it.
Solution: Redraw terminal window. (fixes #6438)
|
|
|
|
|
| |
Problem: Insufficient testing for src/window.c.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6345)
|
|
|
|
|
| |
Problem: Popupwin test fails.
Solution: Fix WaitForAssert() argument.
|
|
|
|
|
| |
Problem: Popupwin test fails sometimes.
Solution: Use WaitForAssert() instead of a sleep.
|
|
|
|
|
| |
Problem: Popupwin test fails in the GUI.
Solution: Send GUI byte sequence for <C-S-a>.
|
|
|
|
|
|
|
| |
Problem: Popup filter gets key with modifier prepended when using
modifyOtherKeys.
Solution: Remove the shift modifier when it is included in the key, also
when the Alt or Meta modifier is used.
|
|
|
|
|
| |
Problem: Not using previous window when closing a shell popup window.
Solution: Use "prevwin" if it was set. (closes #6267)
|
|
|
|
|
| |
Problem: :drop command in terminal popup causes problems.
Solution: Check for using a popup window. (closes #6151)
|
|
|
|
|
|
| |
Problem: A second popup window with terminal causes trouble.
Solution: Disallow opening a second terminal-popup window. (closes #6101,
closes #6103) Avoid defaulting to an invalid line number.
|
|
|
|
|
| |
Problem: Terminal in popup window test is a bit flaky.
Solution: Wait for shell job status to be "run". Mark as flaky test.
|
|
|
|
|
| |
Problem: Cannot get a list of all popups.
Solution: Add popup_list(). Use it in the test runner.
|
|
|
|
|
| |
Problem: Can move to another buffer from a terminal in popup window.
Solution: Do not allow "gf" or editing a file. (closes #6072)
|
|
|
|
|
|
| |
Problem: Regexp benchmark stest is old style.
Solution: Make it a new style test. Fix using a NULL list. Add more tests.
(Yegappan Lakshmanan, closes #5963)
|
|
|
|
|
|
|
| |
Problem: Tests using term_wait() can still be flaky.
Solution: Increase the wait time when rerunning a test. (James McCoy,
closes #5899) Halve the initial times to make tests run faster
when there is no rerun.
|
|
|
|
|
| |
Problem: Crash when passing popup window to win_splitmove(). (john Devin)
Solution: Disallow moving a popup window. (closes #5816)
|
|
|
|
|
| |
Problem: Can use :pedit in a popup window.
Solution: Disallow it.
|
|
|
|
|
| |
Problem: popup_atcursor() may hang. (Yasuhiro Matsumoto)
Solution: Take the decoration into account. (closes #5728)
|
|
|
|
|
|
| |
Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly.
Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken
Takata, closes #5726)
|
|
|
|
|
| |
Problem: Popup filter converts 0x80 bytes.
Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706)
|
|
|
|
|
|
| |
Problem: Preview popup window test fails with long directory name. (Jakub
Kądziołka)
Solution: Use "silent cd". (closes #5615)
|
|
|
|
|
| |
Problem: Crash when using winnr('j') in a popup window.
Solution: Do not search for neighbors in a popup window. (closes #5568)
|
|
|
|
|
| |
Problem: Blocking commands for a finished job in a popup window.
Solution: Do not block commands if the job has finished. Adjust test.
|
|
|
|
|
| |
Problem: Still a few places where range() does not work.
Solution: Fix using range() causing problems.
|
|
|
|
|
| |
Problem: Possible to enter popup window with CTRL-W p. (John Devin)
Solution: Check entered window is not a popup window. (closes #5515)
|
|
|
|
|
| |
Problem: Some buffer commands work in a popup window.
Solution: Disallow :bnext, :bprev, etc. (Naruhiko Nishino, closes #5494)
|
|
|
|
|
| |
Problem: Crash when cycling to buffers involving popup window .
Solution: Do not decrement buffer reference count.
|
|
|
|
|
| |
Problem: Cannot create tiny popup window in last column. (Daniel Steinberg)
Solution: Remove position limit. (closes #5447)
|
|
|
|
|
|
| |
Problem: Crash when calling popup_close() in win_execute().
Solution: Disallow popup_close() in popup window. (Yasuhiro Matsumoto,
closes #5345)
|
|
|
|
|
| |
Problem: bufnr('$') is wrong after recycling popup buffer.
Solution: Sort the buffer list by buffer number. (closes #5335)
|
|
|
|
|
| |
Problem: Info popup on top of cursor if it doesn't fit.
Solution: Hide the popup if it doesn't fit.
|
|
|
|
|
| |
Problem: Cannot build with +popupwin but without +quickfix. (John Marriott)
Solution: Adjust #ifdefs.
|
|
|
|
|
| |
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
|
|
|
|
|
| |
Problem: Missing tests for recent popupwin changes.
Solution: Add test cases.
|