summaryrefslogtreecommitdiff
path: root/src/testdir/test_popupwin.vim
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.0335: checks for Dictionary argument often give a vague errorv9.0.0335Yegappan Lakshmanan2022-08-301-5/+5
| | | | | Problem: Checks for Dictionary argument often give a vague error message. Solution: Give a useful error message. (Yegappan Lakshmanan, closes #11009)
* patch 8.2.5045: can escape a terminal popup window when the job is finishedv8.2.5045Bram Moolenaar2022-05-301-1/+8
| | | | | | Problem: Can escape a terminal popup window when the job is finished. Solution: Only check for a finished job where it is relevant. (closes #10253)
* patch 8.2.5042: scrollbar thumb in tall scrolled popup not visiblev8.2.5042Bram Moolenaar2022-05-301-2/+2
| | | | | Problem: Scrollbar thumb in tall scrolled popup not visible. Solution: Show at least one thumb character. (fixes 10492)
* patch 8.2.5041: cannot close a terminal popup with "NONE" jobv8.2.5041Bram Moolenaar2022-05-291-0/+18
| | | | | | Problem: Cannot close a terminal popup with "NONE" job. Solution: Adjust the conditions for whether a job is running. (closes #10498)
* patch 8.2.5040: scrollbar thumb in scrolled popup not visiblev8.2.5040Bram Moolenaar2022-05-291-2/+11
| | | | | Problem: Scrollbar thumb in scrolled popup not visible. Solution: Show at least one thumb character. (fixes 10492)
* patch 8.2.5039: confusing error if first argument of popup_create() is wrongv8.2.5039Bram Moolenaar2022-05-291-1/+6
| | | | | Problem: Confusing error if first argument of popup_create() is wrong. Solution: Give a more informative error.
* patch 8.2.5038: a finished terminal in a popup window does not show scrollbarv8.2.5038Bram Moolenaar2022-05-291-1/+37
| | | | | | Problem: A finished terminal in a popup window does not show a scrollbar. Solution: Show the scrollbar if the terminal job is finished. (closes #10497)
* patch 8.2.4913: popup_hide() does not always have effectv8.2.4913Bram Moolenaar2022-05-081-1/+7
| | | | | Problem: Popup_hide() does not always have effect. Solution: Add the POPF_HIDDEN_FORCE flag. (closes #10376)
* patch 8.2.4799: popup does not use correct toplinev8.2.4799LemonBoy2022-04-201-0/+13
| | | | | Problem: Popup does not use correct topline. Solution: Also add one when firstline is negative. (closes #10229)
* patch 8.2.4685: when a swap file is found for a popup there is no dialogv8.2.4685Bram Moolenaar2022-04-041-0/+20
| | | | | | Problem: When a swap file is found for a popup there is no dialog and the buffer is loaded anyway. Solution: Silently load the buffer read-only. (closes #10073)
* patch 8.2.4665: popup with "minwidth" and scrollbar not updated properlyv8.2.4665Bram Moolenaar2022-04-021-0/+44
| | | | | Problem: Popup with "minwidth" and scrollbar not updated properly. Solution: Adjust the computation if the window width. (closes #10061)
* patch 8.2.4260: Vim9: can still use a global function without g:v8.2.4260Bram Moolenaar2022-01-301-2/+2
| | | | | | Problem: Vim9: can still use a global function without g: at the script level. Solution: Also check for g: at the script level. (issue #9637)
* patch 8.2.4257: Vim9: finding global function without g: prefix inconsistentv8.2.4257Bram Moolenaar2022-01-291-1/+1
| | | | | | | | Problem: Vim9: finding global function without g: prefix but not finding global variable is inconsistent. Solution: Require using g: for a global function. Change the vim9.vim script into a Vim9 script with exports. Fix that import in legacy script does not work.
* patch 8.2.3697: cannot drag a popup without a borderv8.2.3697Bram Moolenaar2021-11-291-9/+24
| | | | | Problem: Cannot drag a popup without a border. Solution: Add the "dragall" option. (closes #9218)
* patch 8.2.3681: cannot drag popup window after click on a status linev8.2.3681Bram Moolenaar2021-11-261-0/+11
| | | | | | Problem: Cannot drag popup window after click on a status line. (Sergey Vlasov) Solution: Reset on_status_line. (closes #9221)
* patch 8.2.3614: zindex of popup windows not used when redrawing popup menuv8.2.3614Bakudankun2021-11-171-0/+49
| | | | | | Problem: zindex of popup windows not used when redrawing popup menu. Solution: Check the zindex when redrawing the popup menu. (closes #9129, closes #9089)
* patch 8.2.3304: popup window title with wide characters is truncatedv8.2.3304rbtnn2021-08-071-1/+1
| | | | | | Problem: Popup window title with wide characters is truncated. Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino, closes #8721)
* patch 8.2.3098: popup window test is flaky on MS-Windows with GUIv8.2.3098Bram Moolenaar2021-07-041-2/+10
| | | | | Problem: Popup window test is flaky on MS-Windows with GUI. Solution: Skip the check in this situation.
* patch 8.2.3094: Test_popup_atcursor_pos() fails without the conceal featurev8.2.3094Dominique Pelle2021-07-031-0/+1
| | | | | | Problem: Test_popup_atcursor_pos() fails without the conceal feature. Solution: Add a check for the conceal feature. (Dominique Pellé, closes #8505)
* patch 8.2.3074: popup_atcursor() uses wrong position with concealingv8.2.3074Bram Moolenaar2021-06-291-0/+7
| | | | | Problem: popup_atcursor() uses wrong position with concealing. Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476)
* patch 8.2.3036: Vim9: builtin function arguments not checked at compile timev8.2.3036Yegappan Lakshmanan2021-06-221-2/+2
| | | | | | Problem: Vim9: builtin function arguments not checked at compile time. Solution: Add more argument type specs. Check arguments to test_setmouse() and test_gui_mouse_event(). (Yegappan Lakshmanan, closes #8425)
* patch 8.2.2980: popup window test is a bit flakyv8.2.2980Bram Moolenaar2021-06-121-0/+1
| | | | | Problem: Popup window test is a bit flaky. Solution: Add a redraw command.
* patch 8.2.2972: "%bd" tries to delete popup window buffers, which failsv8.2.2972Bram Moolenaar2021-06-101-0/+6
| | | | | | Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf Schandl) Solution: Do not try to delete a popup window buffer. (closes #8349)
* patch 8.2.2893: multi-byte text in popup title shows up wrongv8.2.2893Ralf Schandl2021-05-281-0/+5
| | | | | | Problem: Multi-byte text in popup title shows up wrong. Solution: Use the character width instead of the byte length. (Ralf Schandl, closes #8267, closes #8264)
* patch 8.2.2568: second time a preview popup is opened highlight is not setv8.2.2568Bram Moolenaar2021-03-041-0/+3
| | | | | | Problem: Second time a preview popup is opened highlight is not set. (Gabriel Dupras) Solution: Apply 'previewpopup' after getting the file. (closes #7928)
* patch 8.2.2541: popup_create() does not allow boolean for "cursorline"v8.2.2541Bram Moolenaar2021-02-211-0/+13
| | | | | Problem: Popup_create() does not allow boolean for "cursorline". Solution: Use dict_get_bool(). (issue #7869)
* patch 8.2.2510: internal error when popup with mask is zero height or widthv8.2.2510Bram Moolenaar2021-02-131-0/+19
| | | | | Problem: Internal error when popup with mask is zero height or width. Solution: Bail out if width or height is zero. (closes #7831)
* patch 8.2.2491: popup window for text property may show in first screen linev8.2.2491Bram Moolenaar2021-02-101-0/+43
| | | | | | Problem: Popup window for text property may show in first screen line. Solution: If the text position is invisible do not show the popup window. (closes #7807)
* patch 8.2.2471: popup_setoptions() does not set textprop in other tabv8.2.2471Bram Moolenaar2021-02-061-0/+19
| | | | | Problem: Popup_setoptions() does not set textprop in other tab. Solution: use win_valid_any_tab(). (closes #7788)
* patch 8.2.2470: popup_getoptions() does not get textprop from other tabv8.2.2470Bram Moolenaar2021-02-061-0/+14
| | | | | Problem: Popup_getoptions() does not get textprop from other tab. Solution: use win_valid_any_tab(). (closes #7786)
* patch 8.2.2296: cannot use CTRL-N and CTRL-P in a popup menuv8.2.2296Bram Moolenaar2021-01-041-0/+6
| | | | | Problem: Cannot use CTRL-N and CTRL-P in a popup menu. Solution: Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614)
* patch 8.2.2243: crash when popup mask contains zeroesv8.2.2243Bram Moolenaar2020-12-291-0/+4
| | | | | Problem: Crash when popup mask contains zeroes. Solution: Check boundaries properly. (closes #7569)
* patch 8.2.2160: various typosv8.2.2160Bram Moolenaar2020-12-181-1/+1
| | | | | Problem: Various typos. Solution: Fix spelling mistakes. (closes #7494)
* patch 8.2.2154: popupwin test for terminal buffer fails sometimesv8.2.2154Bram Moolenaar2020-12-171-3/+4
| | | | | Problem: Popupwin test for terminal buffer fails sometimes. Solution: Wait for the prompt to appear.
* patch 8.2.2153: popupwin test for latin1 still fails sometimesv8.2.2153Bram Moolenaar2020-12-171-0/+4
| | | | | Problem: Popupwin test for latin1 still fails sometimes. Solution: Wait for the "cat" command to finish.
* patch 8.2.2149: popupwin test for latin1 sometimes failsv8.2.2149Bram Moolenaar2020-12-171-0/+3
| | | | | Problem: Popupwin test for latin1 sometimes fails. Solution: Wait for the script to finish.
* patch 8.2.2132: padding not drawn properly for popup window with titlev8.2.2132Bram Moolenaar2020-12-121-0/+10
| | | | | Problem: Padding not drawn properly for popup window with title. Solution: Draw the padding below the title. (closes #7460)
* patch 8.2.2123: after using a complete popup the buffer is listedv8.2.2123Bram Moolenaar2020-12-091-0/+3
| | | | | | Problem: After using a complete popup the buffer is listed. (Boris Staletic) Solution: Make the buffer unlisted.
* patch 8.2.2082: Vim9: can still use the depricated #{} dict syntaxv8.2.2082Bram Moolenaar2020-12-021-2/+2
| | | | | Problem: Vim9: can still use the depricated #{} dict syntax. Solution: Remove support for #{} in Vim9 script. (closes #7406, closes #7405)
* patch 8.2.2067: cursor position in popup terminal is wrongv8.2.2067Bram Moolenaar2020-11-281-3/+11
| | | | | Problem: Cursor position in popup terminal is wrong. Solution: Don't check the flags.
* patch 8.2.2030: some tests fail on Macv8.2.2030Bram Moolenaar2020-11-211-0/+1
| | | | | | Problem: Some tests fail on Mac. Solution: Avoid Mac test failures. Add additional test for wildmenu. (Yegappan Lakshmanan, closes #7341)
* patch 8.2.1989: info popup triggers WinEnter and WinLeave autocommandsv8.2.1989Bram Moolenaar2020-11-151-0/+4
| | | | | Problem: Info popup triggers WinEnter and WinLeave autocommands. Solution: Suppress autocommands for the info popup. (closes #7296)
* patch 8.2.1966: popup becomes current window after closing a terminal windowv8.2.1966Bram Moolenaar2020-11-071-0/+21
| | | | | | | Problem: Popup becomes current window after closing a terminal window. Solution: When restoring the window after executing autocommands, check that the window ID is still the same. (Naruhiko Nishino, closes #7272)
* patch 8.2.1963: crash when using a popup window with "latin1" encodingv8.2.1963Bram Moolenaar2020-11-061-0/+22
| | | | | Problem: Crash when using a popup window with "latin1" encoding. Solution: Don't use ScreenLinesUC when enc_utf8 is false. (closes #7241)
* patch 8.2.1886: using ":silent!" in a popup filter has unexpected effectv8.2.1886Bram Moolenaar2020-10-221-0/+1
| | | | | Problem: Using ":silent!" in a popup filter has unexpected effect. Solution: Use did_emsg instead of called_emsg. (closes #7178)
* patch 8.2.1848: crash when passing a NULL string or list to popup_settext()v8.2.1848Bram Moolenaar2020-10-151-0/+10
| | | | | Problem: Crashyyyyy passing a NULL string or list to popup_settext(). Solution: Check for NULL pointers. (closes #7132)
* patch 8.2.1807: can use :help in a terminal popup windowv8.2.1807Bram Moolenaar2020-10-061-0/+6
| | | | | Problem: Can use :help in a terminal popup window. Solution: Give an error. (closes #7088)
* patch 8.2.1769: popup filter interferes with using :normal to move the cursorv8.2.1769Bram Moolenaar2020-09-281-3/+4
| | | | | | Problem: A popup filter interferes with using :normal to move the cursor in a popup. Solution: Do not invoke the filter when ex_normal_busy is set.
* patch 8.2.1766: Vim9: Some tests are still using :letv8.2.1766Bram Moolenaar2020-09-271-1/+1
| | | | | Problem: Vim9: Some tests are still using :let. Solution: Change the last few declarations to use :var.
* patch 8.2.1763: Vim9: cannot use "true" for popup window scrollbar optionv8.2.1763Bram Moolenaar2020-09-271-12/+16
| | | | | Problem: Vim9: cannot use "true" for popup window scrollbar option. Solution: use dict_get_bool(). (closes #7029)