| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Problem: With of scrollbar in popup menu not taken into account.
Solution: Add the width of the scrollbar.
|
|
|
|
|
| |
Problem: Cannot get the mouse position when getting a mouse click.
Solution: Add getmousepos().
|
|
|
|
|
| |
Problem: Redraw breaks going through list of popup windows.
Solution: Use different flags for popup_reset_handled(). (closes #5216)
|
|
|
|
|
| |
Problem: If buffer of popup is in another window cursorline sign shows.
Solution: Check the group of the sign.
|
|
|
|
|
| |
Problem: v:mouse_winid not set on click in popup window.
Solution: Set v:mouse_winid. (closes #5171)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Using EndOfBuffer highlight in popup does not look good.
Solution: Do not EndOfBuffer highlight. (closes #5204)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Position unknown for a mouse click in a popup window.
Solution: Set v:mouse_col and v:mouse_lnum. (closes #5171)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
Problem: CTRL-U and CTRL-D don't work in popup window.
Solution: Initialize 'scroll'. Add "lastline" in popup_getpos().
(closes #5170)
|
|
|
|
|
| |
Problem: Match highlight does not combine with 'wincolor'.
Solution: Apply 'wincolor' last on top of any other attribute. (closes #5159)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Using negative offset for popup_create() does not work.
Solution: Use -1 instead of zero. (closes #5111)
|
|
|
|
|
|
| |
Problem: Popup_setoptions(popup_getoptions()) does not work.
Solution: Also accept a list with three entries for "moved" and
"mousemoved". (closes #5081)
|
|
|
|
|
| |
Problem: Cannot easily fill the info popup asynchronously.
Solution: Add the "popuphidden" value to 'completeopt'. (closes #4924)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: CTRL-C closes two popups instead of one.
Solution: Reset got_int when the filter consumed the key.
|
|
|
|
|
| |
Problem: popup_getoptions() hangs with tab-local popup.
Solution: Correct pointer name. (Marko Mahnič, closes #5006)
|
|
|
|
|
| |
Problem: Popup window test fails without +terminal.
Solution: Check for the +terminal feature.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Popup window test fails in some configurations. (James McCoy)
Solution: Clear the command line.
|
|
|
|
|
| |
Problem: Character from 'showbreak' does not use 'wincolor'. (Nick Jensen)
Solution: Mix with 'wincolor'. (closes #4938)
|
|
|
|
|
|
| |
Problem: Tests fail when build with normal features and terminal.
(Dominique Pelle)
Solution: Disable tests that won't work. (closes #4932)
|
|
|
|
|
|
| |
Problem: Cursorline highlighting not updated in popup window. (Marko
Mahnič)
Solution: Check if the cursor position changed. (closes #4912)
|
|
|
|
|
| |
Problem: No redraw after a popup window filter is invoked.
Solution: Redraw if needed.
|
|
|
|
|
| |
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
|
|
|
|
|
| |
Problem: More functions can be used as methods.
Solution: Make popup functions usable as a method.
|
|
|
|
|
| |
Problem: Popup window filter is used in all modes.
Solution: Add the "filtermode" property.
|
|
|
|
|
| |
Problem: Line() only works for the current window.
Solution: Add an optional argument for the window to use.
|
|
|
|
|
|
| |
Problem: Popup window filter may be called recursively when using a Normal
mode command.
Solution: Prevent recursiveness. (closes #4887) Also restore KeyTyped.
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Tests contain typos.
Solution: Correct the typos. (Dominique Pelle)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
Problem: Using current window option values when passing a buffer to
popup_create().
Solution: Clear the window-local options. (closes #4857)
|
|
|
|
|
| |
Problem: Non-current window is not redrawn when moving popup. (Ben Jackson)
Solution: Redraw all windows under a popup. (closes #4860)
|
|
|
|
|
| |
Problem: More functions can be used as methods.
Solution: Make a few more functions usable as a method.
|
|
|
|
|
|
| |
Problem: Every popup window consumes a buffer number.
Solution: Recycle buffers only used for popup windows. Do not list popup
window buffers.
|
|
|
|
|
| |
Problem: Wrong position for info popup with scrollbar on the left.
Solution: Take the scrollbar into account.
|
|
|
|
|
|
| |
Problem: Cannot set all properties of the info popup.
Solution: Add popup_findinfo(). Rename popup_getpreview() to
popup_findpreview().
|
|
|
|
|
| |
Problem: Cannot have an info popup align with the popup menu.
Solution: Add the "align" item to 'completepopup'.
|
|
|
|
|
| |
Problem: Cannot have an info popup without a border.
Solution: Add the "border" item to 'completepopup'.
|
|
|
|
|
| |
Problem: Cannot specify properties of the info popup window.
Solution: Add the 'completepopup' option. Default to PmenuSel highlight.
|
|
|
|
|
| |
Problem: Popup window test fails in some configurations.
Solution: Check that screendumps can be made.
|
|
|
|
|
| |
Problem: Cannot show extra info for completion in a popup window.
Solution: Add the "popup" entry in 'completeopt'.
|
|
|
|
|
| |
Problem: Modeless selection in popup window overlaps scrollbar.
Solution: Subtract scrollbar from max_col. (closes #4773)
|