| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Scrollbar thumb wrong in popup window.
Solution: Adjust thumb size and position when scrolled.
|
|
|
|
|
|
| |
Problem: Cursorline highlighting not updated in popup window. (Marko
Mahnič)
Solution: Check if the cursor position changed. (closes #4912)
|
|
|
|
|
| |
Problem: Redraw even when no popup window filter was invoked.
Solution: Only redraw when must_redraw was set to a larger value.
|
|
|
|
|
| |
Problem: No redraw after a popup window filter is invoked.
Solution: Redraw if needed.
|
|
|
|
|
| |
Problem: Popup window filter is used in all modes.
Solution: Add the "filtermode" property.
|
|
|
|
|
|
| |
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: 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: Not enough tests for text property popup window.
Solution: Add a few more tests. Make negative offset work. Close all
popups when window closes.
|
|
|
|
|
| |
Problem: Not enough tests for text property popup window.
Solution: Add a few more tests.
|
|
|
|
|
|
|
| |
Problem: Popup windows don't move with the text when making changes.
Solution: Add the 'textprop" property to the popup window options, position
the popup relative to a text property. (closes #4560)
No tests yet.
|
|
|
|
|
|
| |
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: Redrawing popups is inefficient.
Solution: Fix the logic to compute what window lines to redraw. Make it
work below the last line. Remove redrawing all windows.
|
|
|
|
|
| |
Problem: Non-current window is not redrawn when moving popup. (Ben Jackson)
Solution: Redraw all windows under a popup. (closes #4860)
|
|
|
|
|
|
| |
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: Missing index entry and option menu for 'completepopup'.
Solution: Add the entries. Adjust #ifdefs to avoid dead code.
|
|
|
|
|
| |
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
|
|
|
|
|
| |
Problem: Cannot specify properties of the info popup window.
Solution: Add the 'completepopup' option. Default to PmenuSel highlight.
|
|
|
|
|
| |
Problem: Cannot show extra info for completion in a popup window.
Solution: Add the "popup" entry in 'completeopt'.
|
|
|
|
|
| |
Problem: A long title in a popup window overflows.
Solution: Truncate the title. (closes #4770)
|
|
|
|
|
| |
Problem: Popup_getoptions() is missing an entry for "mapping".
Solution: Add the entry.
|
|
|
|
|
| |
Problem: Function call functions have too many arguments.
Solution: Pass values in a funcexe_T struct.
|
|
|
|
|
| |
Problem: Cannot avoid mapping for a popup window.
Solution: Add the "mapping" property, default TRUE.
|
|
|
|
|
| |
Problem: Cannot see file name of preview popup window.
Solution: Add the file name as the title.
|
|
|
|
|
| |
Problem: Cannot resize a popup window.
Solution: Allow for resizing by dragging the lower right corncer.
|
|
|
|
|
| |
Problem: Double click in popup scrollbar starts selection.
Solution: Ignore the double click.
|
|
|
|
|
| |
Problem: Not showing the popup window right border is confusing.
Solution: Also show the border when 'wrap' is off. (closes #4747)
|
|
|
|
|
| |
Problem: Not showing the popup window right border is confusing.
Solution: Also show the border when there is no close button. (closes #4747)
|
|
|
|
|
|
| |
Problem: The preview popup window may be too far to the right.
Solution: Keep it inside the screen. Also keep the close button and
scrollbar visible if possible.
|
|
|
|
|
| |
Problem: Cannot get the window ID of the popup preview window.
Solution: Add popup_getpreview().
|
|
|
|
|
| |
Problem: Use of popup window mask is inefficient.
Solution: Precompute and cache the mask.
|
|
|
|
|
| |
Problem: Resizing hashtable is inefficient.
Solution: Avoid resizing when the final size is predictable.
|
|
|
|
|
| |
Problem: When redrawing popups plines_win() may be called often.
Solution: Pass a cache to mouse_comp_pos().
|
|
|
|
|
| |
Problem: Popup too wide when 'showbreak' is set.
Solution: Set window width when computing line length. (closes #4701)
|
|
|
|
|
|
| |
Problem: Popup menu highlighting does not look good.
Solution: Highlight the whole window line. Fix that sign line HL is not
displayed in a window with a background color.
|
|
|
|
|
| |
Problem: Cannot preview a file in a popup window.
Solution: Add the 'previewpopup' option.
|
|
|
|
|
| |
Problem: Highlighting cursor line only works with popup_menu().
Solution: Add the "cursorline" property. (Naruhiko Nishino, closes #4671)
|
|
|
|
|
| |
Problem: Coverity warns for possibly using a NULL pointer.
Solution: Make sure no NULL pointer is used.
|
|
|
|
|
| |
Problem: Coverity warns for possibly using a NULL pointer.
Solution: Change the logic to make sure no NULL pointer is used.
|
|
|
|
|
| |
Problem: Default padding for popup window menu is too much.
Solution: Only add padding left and right.
|
|
|
|
|
| |
Problem: When using popup_menu() does not scroll to show the selected line.
Solution: Scroll the text. (Naruhiko Nishino, closes #4651)
|
|
|
|
|
| |
Problem: "maxwidth" of popup window does not always work properly.
Solution: Adjust the computation. (Naruhiko Nishino, closes #4653)
|
|
|
|
|
| |
Problem: Cannot easily find the popup window at a certain position.
Solution: Add popup_locate().
|
|
|
|
|
| |
Problem: Click in popup window scrollbar with border doesn't scroll.
Solution: Correct column for the border. (Naruhiko Nishino, closes #4650)
|