summaryrefslogtreecommitdiff
path: root/src/testdir/test_popupwin.vim
Commit message (Collapse)AuthorAgeFilesLines
...
* patch 8.1.2324: with of scrollbar in popup menu not taken into accountv8.1.2324Bram Moolenaar2019-11-211-0/+6
| | | | | Problem: With of scrollbar in popup menu not taken into account. Solution: Add the width of the scrollbar.
* patch 8.1.2304: cannot get the mouse position when getting a mouse clickv8.1.2304Bram Moolenaar2019-11-161-26/+90
| | | | | Problem: Cannot get the mouse position when getting a mouse click. Solution: Add getmousepos().
* patch 8.1.2300: redraw breaks going through list of popup windowsv8.1.2300Bram Moolenaar2019-11-131-0/+34
| | | | | Problem: Redraw breaks going through list of popup windows. Solution: Use different flags for popup_reset_handled(). (closes #5216)
* patch 8.1.2295: if buffer of popup is in another window cursorline sign showsv8.1.2295Bram Moolenaar2019-11-121-0/+17
| | | | | Problem: If buffer of popup is in another window cursorline sign shows. Solution: Check the group of the sign.
* patch 8.1.2292: v:mouse_winid not set on click in popup windowv8.1.2292Bram Moolenaar2019-11-111-0/+3
| | | | | Problem: v:mouse_winid not set on click in popup window. Solution: Set v:mouse_winid. (closes #5171)
* patch 8.1.2288: not using all space when popup with "topleft" flips to abovev8.1.2288Bram Moolenaar2019-11-101-2/+2
| | | | | | Problem: Not using all space when popup with "topleft" flips to above. Solution: Recompute the height when a popup flips from below to above. (closes #5151)
* patch 8.1.2287: using EndOfBuffer highlight in popup does not look goodv8.1.2287Bram Moolenaar2019-11-101-0/+1
| | | | | Problem: Using EndOfBuffer highlight in popup does not look good. Solution: Do not EndOfBuffer highlight. (closes #5204)
* patch 8.1.2273: wrong default when "pos" is changed with popup_atcursor()v8.1.2273Bram Moolenaar2019-11-091-0/+36
| | | | | | Problem: Wrong default when "pos" is changed with popup_atcursor(). Solution: Adjust the default line and col when "pos" is not the default value. (#5151)
* patch 8.1.2266: position unknown for a mouse click in a popup windowv8.1.2266Bram Moolenaar2019-11-061-0/+38
| | | | | Problem: Position unknown for a mouse click in a popup window. Solution: Set v:mouse_col and v:mouse_lnum. (closes #5171)
* patch 8.1.2265: when popup with "botleft" does not fit it flips incorrectlyv8.1.2265Bram Moolenaar2019-11-061-0/+94
| | | | | | | Problem: When popup with "botleft" does not fit it flips incorrectly. Solution: Only flip when there is more space on the other side. Add the "posinvert" option to disable flipping and do it in both directions if enabled. (closes #5151)
* patch 8.1.2250: CTRL-U and CTRL-D don't work in popup windowv8.1.2250Bram Moolenaar2019-11-031-0/+21
| | | | | | Problem: CTRL-U and CTRL-D don't work in popup window. Solution: Initialize 'scroll'. Add "lastline" in popup_getpos(). (closes #5170)
* patch 8.1.2241: match highlight does not combine with 'wincolor'v8.1.2241Bram Moolenaar2019-11-021-2/+3
| | | | | Problem: Match highlight does not combine with 'wincolor'. Solution: Apply 'wincolor' last on top of any other attribute. (closes #5159)
* patch 8.1.2240: popup window width changes when scrollingv8.1.2240Bram Moolenaar2019-11-021-0/+45
| | | | | | Problem: Popup window width changes when scrolling. Solution: Also adjust maxwidth when applying minwidth and there is a scrollbar. Fix off-by-one error. (closes #5162)
* patch 8.1.2210: using negative offset for popup_create() does not workv8.1.2210Bram Moolenaar2019-10-241-3/+11
| | | | | Problem: Using negative offset for popup_create() does not work. Solution: Use -1 instead of zero. (closes #5111)
* patch 8.1.2193: popup_setoptions(popup_getoptions()) does not workv8.1.2193Bram Moolenaar2019-10-201-0/+4
| | | | | | Problem: Popup_setoptions(popup_getoptions()) does not work. Solution: Also accept a list with three entries for "moved" and "mousemoved". (closes #5081)
* patch 8.1.2192: cannot easily fill the info popup asynchronouslyv8.1.2192Bram Moolenaar2019-10-201-0/+59
| | | | | Problem: Cannot easily fill the info popup asynchronously. Solution: Add the "popuphidden" value to 'completeopt'. (closes #4924)
* patch 8.1.2164: stuck when using "j" in a popupwin with popup_filter_menuv8.1.2164Bram Moolenaar2019-10-161-0/+32
| | | | | | Problem: Stuck when using "j" in a popupwin with popup_filter_menu if a line wraps. Solution: Check the cursor line is visible. (closes #4577)
* patch 8.1.2110: CTRL-C closes two popups instead of onev8.1.2110Bram Moolenaar2019-10-031-0/+22
| | | | | Problem: CTRL-C closes two popups instead of one. Solution: Reset got_int when the filter consumed the key.
* patch 8.1.2109: popup_getoptions() hangs with tab-local popupv8.1.2109Bram Moolenaar2019-10-021-0/+12
| | | | | Problem: popup_getoptions() hangs with tab-local popup. Solution: Correct pointer name. (Marko Mahnič, closes #5006)
* patch 8.1.2079: popup window test fails without +terminalv8.1.2079Bram Moolenaar2019-09-251-0/+2
| | | | | Problem: Popup window test fails without +terminal. Solution: Check for the +terminal feature.
* patch 8.1.2076: crash when trying to put a terminal in a popup windowv8.1.2076Bram Moolenaar2019-09-251-0/+6
| | | | | | Problem: Crash when trying to put a terminal buffer in a popup window. Solution: Check for NULL buffer. Do not allow putting a terminal in a popup window.
* patch 8.1.2063: some tests fail when +balloon_eval_term is missingv8.1.2063Bram Moolenaar2019-09-211-1/+1
| | | | | | Problem: Some tests fail when +balloon_eval_term is missing but _balloon_eval is present. (Dominique Pelle) Solution: Check the right feature in the test. (closes #4962)
* patch 8.1.2050: popup window test fails in some configurationsv8.1.2050Bram Moolenaar2019-09-171-0/+1
| | | | | Problem: Popup window test fails in some configurations. (James McCoy) Solution: Clear the command line.
* patch 8.1.2039: character from 'showbreak' does not use 'wincolor'v8.1.2039Bram Moolenaar2019-09-151-2/+3
| | | | | Problem: Character from 'showbreak' does not use 'wincolor'. (Nick Jensen) Solution: Mix with 'wincolor'. (closes #4938)
* patch 8.1.2030: tests fail when build with normal features and terminalv8.1.2030Bram Moolenaar2019-09-141-0/+1
| | | | | | Problem: Tests fail when build with normal features and terminal. (Dominique Pelle) Solution: Disable tests that won't work. (closes #4932)
* patch 8.1.2009: cursorline highlighting not updated in popup windowv8.1.2009Bram Moolenaar2019-09-081-0/+14
| | | | | | Problem: Cursorline highlighting not updated in popup window. (Marko Mahnič) Solution: Check if the cursor position changed. (closes #4912)
* patch 8.1.1997: no redraw after a popup window filter is invokedv8.1.1997Bram Moolenaar2019-09-071-3/+6
| | | | | Problem: No redraw after a popup window filter is invoked. Solution: Redraw if needed.
* patch 8.1.1993: more functions can be used as methodsv8.1.1993Bram Moolenaar2019-09-061-1/+1
| | | | | Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
* patch 8.1.1982: more functions can be used as methodsv8.1.1982Bram Moolenaar2019-09-041-15/+16
| | | | | Problem: More functions can be used as methods. Solution: Make popup functions usable as a method.
* patch 8.1.1969: popup window filter is used in all modesv8.1.1969Bram Moolenaar2019-09-031-0/+66
| | | | | Problem: Popup window filter is used in all modes. Solution: Add the "filtermode" property.
* patch 8.1.1967: line() only works for the current windowv8.1.1967Bram Moolenaar2019-09-021-0/+4
| | | | | Problem: Line() only works for the current window. Solution: Add an optional argument for the window to use.
* patch 8.1.1963: popup window filter may be called recursivelyv8.1.1963Bram Moolenaar2019-09-011-0/+25
| | | | | | Problem: Popup window filter may be called recursively when using a Normal mode command. Solution: Prevent recursiveness. (closes #4887) Also restore KeyTyped.
* patch 8.1.1959: when using "firstline" in popup window text may jumpv8.1.1959Bram Moolenaar2019-09-011-2/+25
| | | | | | Problem: When using "firstline" in popup window text may jump when redrawing it. (Nick Jensen) Solution: Set 'scrolloff' to zero in a popup window. (closes #4882)
* patch 8.1.1956: screenshot tests may use a different encodingv8.1.1956Bram Moolenaar2019-09-011-6/+6
| | | | | | Problem: Screenshot tests may use a different encoding. (Dominique Pelle) Solution: Always set 'encoding' to "utf-8" when running Vim in a terminal. (closes #4884)
* patch 8.1.1955: tests contain typosv8.1.1955Bram Moolenaar2019-09-011-1/+1
| | | | | Problem: Tests contain typos. Solution: Correct the typos. (Dominique Pelle)
* patch 8.1.1949: cannot scroll a popup window to the very bottomv8.1.1949Bram Moolenaar2019-08-301-2/+10
| | | | | | Problem: Cannot scroll a popup window to the very bottom. Solution: Scroll to the bottom when the "firstline" property was set to -1. (closes #4577) Allow resetting min/max width/height.
* patch 8.1.1945: popup window "firstline" cannot be resetv8.1.1945Bram Moolenaar2019-08-301-1/+31
| | | | | | Problem: Popup window "firstline" cannot be reset. Solution: Allow for setting "firstline" to zero. Fix that the text jumps to the top when using win_execute(). (closes #4876)
* patch 8.1.1920: cannot always close a popup when filter consumes all eventsv8.1.1920Bram Moolenaar2019-08-241-0/+17
| | | | | | Problem: Cannot close a popup by the X when a filter consumes all events. Solution: Check for a click on the close button before invoking filters. (closes #4858)
* patch 8.1.1919: using window options when passing a buffer to popup_create()v8.1.1919Bram Moolenaar2019-08-241-0/+10
| | | | | | Problem: Using current window option values when passing a buffer to popup_create(). Solution: Clear the window-local options. (closes #4857)
* patch 8.1.1917: non-current window is not redrawn when moving popupv8.1.1917Bram Moolenaar2019-08-241-3/+8
| | | | | Problem: Non-current window is not redrawn when moving popup. (Ben Jackson) Solution: Redraw all windows under a popup. (closes #4860)
* patch 8.1.1909: more functions can be used as methodsv8.1.1909Bram Moolenaar2019-08-211-2/+1
| | | | | Problem: More functions can be used as methods. Solution: Make a few more functions usable as a method.
* patch 8.1.1908: every popup window consumes a buffer numberv8.1.1908Bram Moolenaar2019-08-211-0/+9
| | | | | | Problem: Every popup window consumes a buffer number. Solution: Recycle buffers only used for popup windows. Do not list popup window buffers.
* patch 8.1.1907: wrong position for info popup with scrollbar on the leftv8.1.1907Bram Moolenaar2019-08-211-0/+5
| | | | | Problem: Wrong position for info popup with scrollbar on the left. Solution: Take the scrollbar into account.
* patch 8.1.1905: cannot set all properties of the info popupv8.1.1905Bram Moolenaar2019-08-211-1/+6
| | | | | | Problem: Cannot set all properties of the info popup. Solution: Add popup_findinfo(). Rename popup_getpreview() to popup_findpreview().
* patch 8.1.1904: cannot have an info popup align with the popup menuv8.1.1904Bram Moolenaar2019-08-211-0/+29
| | | | | Problem: Cannot have an info popup align with the popup menu. Solution: Add the "align" item to 'completepopup'.
* patch 8.1.1902: cannot have an info popup without a borderv8.1.1902Bram Moolenaar2019-08-211-4/+27
| | | | | Problem: Cannot have an info popup without a border. Solution: Add the "border" item to 'completepopup'.
* patch 8.1.1882: cannot specify properties of the info popup windowv8.1.1882Bram Moolenaar2019-08-181-1/+3
| | | | | Problem: Cannot specify properties of the info popup window. Solution: Add the 'completepopup' option. Default to PmenuSel highlight.
* patch 8.1.1881: popup window test fails in some configurationsv8.1.1881Bram Moolenaar2019-08-181-0/+2
| | | | | Problem: Popup window test fails in some configurations. Solution: Check that screendumps can be made.
* patch 8.1.1880: cannot show extra info for completion in a popup windowv8.1.1880Bram Moolenaar2019-08-181-0/+72
| | | | | Problem: Cannot show extra info for completion in a popup window. Solution: Add the "popup" entry in 'completeopt'.
* patch 8.1.1874: modeless selection in popup window overlaps scrollbarv8.1.1874Bram Moolenaar2019-08-171-1/+2
| | | | | Problem: Modeless selection in popup window overlaps scrollbar. Solution: Subtract scrollbar from max_col. (closes #4773)