summaryrefslogtreecommitdiff
path: root/src/testdir/test_popupwin.vim
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.1732: stuck when win_execute() for a popup causes an errorv8.2.1732Bram Moolenaar2020-09-231-0/+24
| | | | | Problem: Stuck when win_execute() for a popup causes an error. Solution: Disable the filter callback on error. (issue #6999)
* patch 8.2.1729: endless loop when ":normal" feeds popup window filterv8.2.1729Bram Moolenaar2020-09-231-0/+17
| | | | | Problem: Endless loop when ":normal" feeds popup window filter. Solution: Add the ex_normal_busy_done flag.
* patch 8.2.1727: a popup created with "cursorline" will ignore "firstline"v8.2.1727Bram Moolenaar2020-09-221-0/+13
| | | | | | | 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().
* patch 8.2.1636: get stuck if a popup filter causes an errorv8.2.1636Bram Moolenaar2020-09-081-1/+38
| | | | | | 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)
* patch 8.2.1593: tests do not check the error number properlyv8.2.1593Bram Moolenaar2020-09-041-2/+2
| | | | | Problem: Tests do not check the error number properly.0 Solution: Add a colon after the error number. (closes #6869)
* patch 8.2.1581: using line() for global popup window doesn't workv8.2.1581Bram Moolenaar2020-09-031-0/+12
| | | | | Problem: Using line() for global popup window doesn't work. Solution: Set tabpage to "curtab". (closes #6847)
* patch 8.2.1578: Vim9: popup_clear() does not take "true" as argumentv8.2.1578Bram Moolenaar2020-09-021-7/+10
| | | | | Problem: Vim9: popup_clear() does not take "true" as argument. Solution: Use tv_get_bool(). (closes #6826)
* patch 8.2.1498: on slow systems tests can be flakyv8.2.1498Bram Moolenaar2020-08-201-1/+1
| | | | | | Problem: On slow systems tests can be flaky. Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan, closes #6756)
* patch 8.2.1415: closing a popup window with CTRL-C interrupts 'statusline'v8.2.1415Bram Moolenaar2020-08-101-0/+25
| | | | | | Problem: Closing a popup window with CTRL-C interrupts 'statusline' if it calls a function. Solution: Reset got_int while redrawing. (closes #6675)
* patch 8.2.1414: popupwindow missing last couple of linesv8.2.1414Bram Moolenaar2020-08-101-0/+7
| | | | | | 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)
* patch 8.2.1406: popupwindow lacks scrollbar if no "maxheight" is usedv8.2.1406Bram Moolenaar2020-08-091-0/+30
| | | | | Problem: Popupwindow lacks scrollbar if no "maxheight" is used. Solution: Compute the max height depending on the position. (closes #6664)
* patch 8.2.1326: Vim9: skipping over white space after listv8.2.1326Bram Moolenaar2020-07-301-1/+1
| | | | | | 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.
* patch 8.2.1307: popup window width does not include number of sign columnsv8.2.1307Bram Moolenaar2020-07-271-0/+10
| | | | | | Problem: popup window width does not include number, fold of sign column width. Solution: Take number, fold and sign column with into account.
* patch 8.2.1303: calling popup_setoptions() resets 'signcolumn'v8.2.1303Bram Moolenaar2020-07-261-0/+10
| | | | | Problem: Calling popup_setoptions() resets 'signcolumn'. Solution: Only set 'signcolumn' when creating the popup. (closes #6542)
* patch 8.2.1237: changing 'completepopup' after opening popup has no effectv8.2.1237Bram Moolenaar2020-07-181-0/+6
| | | | | | Problem: Changing 'completepopup' after opening a popup has no effect. (Jay Sitter) Solution: Close the popup when the options are changed. (closes #6471)
* patch 8.2.1220: memory access error when dragging a popup windowv8.2.1220Bram Moolenaar2020-07-151-4/+25
| | | | | | 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)
* patch 8.2.1194: test failure because shell prompt differsv8.2.1194Bram Moolenaar2020-07-121-0/+1
| | | | | Problem: Test failure because shell prompt differs. Solution: Set the shell prompt.
* patch 8.2.1193: terminal window not redrawn when dragging a popup windowv8.2.1193Bram Moolenaar2020-07-121-0/+34
| | | | | Problem: Terminal window not redrawn when dragging a popup window over it. Solution: Redraw terminal window. (fixes #6438)
* patch 8.2.1061: insufficient testing for src/window.cv8.2.1061Bram Moolenaar2020-06-261-0/+2
| | | | | Problem: Insufficient testing for src/window.c. Solution: Add more tests. (Yegappan Lakshmanan, closes #6345)
* patch 8.2.1038: popupwin test failsv8.2.1038Bram Moolenaar2020-06-221-2/+1
| | | | | Problem: Popupwin test fails. Solution: Fix WaitForAssert() argument.
* patch 8.2.1036: popupwin test fails sometimesv8.2.1036Bram Moolenaar2020-06-221-1/+3
| | | | | Problem: Popupwin test fails sometimes. Solution: Use WaitForAssert() instead of a sleep.
* patch 8.2.1020: popupwin test fails in the GUIv8.2.1020Bram Moolenaar2020-06-201-1/+5
| | | | | Problem: Popupwin test fails in the GUI. Solution: Send GUI byte sequence for <C-S-a>.
* patch 8.2.1015: popup filter gets key with modifier prependedv8.2.1015Bram Moolenaar2020-06-191-1/+7
| | | | | | | 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.
* patch 8.2.0984: not using previous window when closing a shell popup windowv8.2.0984Bram Moolenaar2020-06-151-0/+17
| | | | | Problem: Not using previous window when closing a shell popup window. Solution: Use "prevwin" if it was set. (closes #6267)
* patch 8.2.0834: :drop command in terminal popup causes problemsv8.2.0834Bram Moolenaar2020-05-271-0/+3
| | | | | Problem: :drop command in terminal popup causes problems. Solution: Check for using a popup window. (closes #6151)
* patch 8.2.0791: a second popup window with terminal causes troublev8.2.0791Bram Moolenaar2020-05-181-4/+9
| | | | | | 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.
* patch 8.2.0752: terminal in popup window test is a bit flakyv8.2.0752Bram Moolenaar2020-05-131-1/+4
| | | | | Problem: Terminal in popup window test is a bit flaky. Solution: Wait for shell job status to be "run". Mark as flaky test.
* patch 8.2.0748: cannot get a list of all popupsv8.2.0748Bram Moolenaar2020-05-131-2/+11
| | | | | Problem: Cannot get a list of all popups. Solution: Add popup_list(). Use it in the test runner.
* patch 8.2.0743: can move to another buffer from a terminal in popup windowv8.2.0743Bram Moolenaar2020-05-121-0/+8
| | | | | Problem: Can move to another buffer from a terminal in popup window. Solution: Do not allow "gf" or editing a file. (closes #6072)
* patch 8.2.0615: regexp benchmark stest is old stylev8.2.0615Bram Moolenaar2020-04-211-0/+14
| | | | | | 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)
* patch 8.2.0533: tests using term_wait() can still be flakyv8.2.0533Bram Moolenaar2020-04-081-8/+8
| | | | | | | 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.
* patch 8.2.0422: crash when passing popup window to win_splitmove()v8.2.0422Bram Moolenaar2020-03-201-0/+12
| | | | | Problem: Crash when passing popup window to win_splitmove(). (john Devin) Solution: Disallow moving a popup window. (closes #5816)
* patch 8.2.0367: can use :pedit in a popup windowv8.2.0367Bram Moolenaar2020-03-091-0/+1
| | | | | Problem: Can use :pedit in a popup window. Solution: Disallow it.
* patch 8.2.0359: popup_atcursor() may hangv8.2.0359Bram Moolenaar2020-03-061-0/+13
| | | | | Problem: popup_atcursor() may hang. (Yasuhiro Matsumoto) Solution: Take the decoration into account. (closes #5728)
* patch 8.2.0356: MS-Windows: feedkeys() with VIMDLL cannot handle CSIv8.2.0356Bram Moolenaar2020-03-041-5/+3
| | | | | | Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly. Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken Takata, closes #5726)
* patch 8.2.0329: popup filter converts 0x80 bytesv8.2.0329Bram Moolenaar2020-02-281-3/+27
| | | | | Problem: Popup filter converts 0x80 bytes. Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706)
* patch 8.2.0242: preview popup window test fails with long directory namev8.2.0242Bram Moolenaar2020-02-111-2/+2
| | | | | | Problem: Preview popup window test fails with long directory name. (Jakub Kądziołka) Solution: Use "silent cd". (closes #5615)
* patch 8.2.0204: crash when using winnr('j') in a popup windowv8.2.0204Bram Moolenaar2020-02-031-1/+6
| | | | | Problem: Crash when using winnr('j') in a popup window. Solution: Do not search for neighbors in a popup window. (closes #5568)
* patch 8.2.0196: blocking commands for a finished job in a popup windowv8.2.0196Bram Moolenaar2020-02-021-2/+12
| | | | | Problem: Blocking commands for a finished job in a popup window. Solution: Do not block commands if the job has finished. Adjust test.
* patch 8.2.0179: still a few places where range() does not workv8.2.0179Bram Moolenaar2020-01-301-2/+21
| | | | | Problem: Still a few places where range() does not work. Solution: Fix using range() causing problems.
* patch 8.2.0142: possible to enter popup window with CTRL-W pv8.2.0142Bram Moolenaar2020-01-231-0/+6
| | | | | Problem: Possible to enter popup window with CTRL-W p. (John Devin) Solution: Check entered window is not a popup window. (closes #5515)
* patch 8.2.0127: some buffer commands work in a popup windowv8.2.0127Bram Moolenaar2020-01-181-0/+4
| | | | | Problem: Some buffer commands work in a popup window. Solution: Disallow :bnext, :bprev, etc. (Naruhiko Nishino, closes #5494)
* patch 8.2.0118: crash when cycling to buffers involving popup windowv8.2.0118Bram Moolenaar2020-01-141-1/+11
| | | | | Problem: Crash when cycling to buffers involving popup window . Solution: Do not decrement buffer reference count.
* patch 8.2.0096: cannot create tiny popup window in last columnv8.2.0096Bram Moolenaar2020-01-061-25/+53
| | | | | Problem: Cannot create tiny popup window in last column. (Daniel Steinberg) Solution: Remove position limit. (closes #5447)
* patch 8.1.2420: crash when calling popup_close() in win_execute()v8.1.2420Bram Moolenaar2019-12-111-0/+4
| | | | | | Problem: Crash when calling popup_close() in win_execute(). Solution: Disallow popup_close() in popup window. (Yasuhiro Matsumoto, closes #5345)
* patch 8.1.2418: bufnr('$') is wrong after recycling popup bufferv8.1.2418Bram Moolenaar2019-12-101-0/+17
| | | | | Problem: bufnr('$') is wrong after recycling popup buffer. Solution: Sort the buffer list by buffer number. (closes #5335)
* patch 8.1.2399: info popup on top of cursor if it doesn't fitv8.1.2399Bram Moolenaar2019-12-061-0/+52
| | | | | Problem: Info popup on top of cursor if it doesn't fit. Solution: Hide the popup if it doesn't fit.
* patch 8.1.2373: cannot build with +popupwin but without +quickfixv8.1.2373Bram Moolenaar2019-12-011-0/+5
| | | | | Problem: Cannot build with +popupwin but without +quickfix. (John Marriott) Solution: Adjust #ifdefs.
* patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar2019-11-301-1/+1
| | | | | Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
* patch 8.1.2365: missing tests for recent popupwin changesv8.1.2365Bram Moolenaar2019-11-301-0/+58
| | | | | Problem: Missing tests for recent popupwin changes. Solution: Add test cases.