| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Popup menu overlaps with preview window.
Solution: Adjust the height computation. (Hirohito Higashi, closes #3414)
|
|
|
|
|
| |
Problem: No menus specifically for the terminal window.
Solution: Add :tlmenu. (Yee Cheng Chin, closes #3439) Add a menu test.
|
|
|
|
|
|
| |
Problem: Incorrect adjusting the popup menu for the preview window.
Solution: Compute position and height properl. (Ronan Pigott) Also show at
least ten items. (closes #3414)
|
|
|
|
|
| |
Problem: Balloon displayed at the wrong position.
Solution: Do not reposition the popup menu at the cursor position.
|
|
|
|
|
|
|
| |
Problem: Popup menu broken if a callback changes the window layout. (Qiming
Zhao)
Solution: Recompute the popup menu position if needed. Redraw the ruler
even when the popup menu is displayed.
|
|
|
|
|
|
| |
Problem: Popup menu inside terminal window isn't cleared.
Solution: Use NOT_VALID in pum_undisplay(). (suggested by Christian
Brabandt, closes #2908)
|
|
|
|
|
| |
Problem: Popup menu hangs after typing CTRL-C.
Solution: Make CTRL-C exit the loop. (Ozaki Kiichi, closes #2697)
|
|
|
|
|
|
| |
Problem: Show cursor in wrong place when using popup menu. (Wei Zhang)
Solution: Force updating the cursor position. Fix skipping over unused
entries.
|
|
|
|
|
|
| |
Problem: Can't use :popup for a menu in the terminal. (Wei Zhang)
Solution: Make :popup work in the terminal. Also fix that entries were
included that don't work in the current state.
|
|
|
|
|
| |
Problem: No right-click menu in a terminal.
Solution: Implement the right click menu for the terminal.
|
|
|
|
|
|
| |
Problem: Popup menu positioning fails with longer string.
Solution: Only align with right side of window when width is less than
'pumwidth' (closes #2661)
|
|
|
|
|
| |
Problem: Popupmenu is too far left when completion is long. (Linwei)
Solution: Adjust column computations. (Hirohito Higashi, closes #2661)
|
|
|
|
|
|
|
| |
Problem: Popup menu is positioned in the wrong place. (Davit Samvelyan,
Boris Staletic)
Solution: Correct computation of the column and the conditions for that.
(Hirohito Higashi, closes #2640)
|
|
|
|
|
|
| |
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629)
|
|
|
|
|
| |
Problem: Having 'pumwidth' default to zero has no merit.
Solution: Make the default 15, as the actual default value.
|
|
|
|
|
|
| |
Problem: The minimum width of the popup menu is hard coded.
Solution: Add the 'pumwidth' option. (Christian Brabandt, James McCoy,
closes #2314)
|
|
|
|
|
| |
Problem: Crash when passing 50 char string to balloon_split().
Solution: Fix off-by-one error.
|
|
|
|
|
|
| |
Problem: Terminal balloon only shows one line.
Solution: Split into several lines in a clever way. Add balloon_split().
Make balloon_show() accept a list in the terminal.
|
|
|
|
|
|
| |
Problem: balloon_show() only works in terminal when compiled with the GUI.
Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI
specific file.
|
|
|
|
|
|
| |
Problem: Cannot use 'balloonexpr' in a terminal.
Solution: Add 'balloonevalterm' and add code to handle mouse movements in a
terminal. Initial implementation for Unix with GUI.
|
|
|
|
|
|
| |
Problem: Crash when using autocomplete and tab pages.
Solution: Check if the current tab changed. (Christian Brabandt, closes
#2239)
|
|
|
|
|
|
| |
Problem: Popup menu drawing problem when resizing terminal.
Solution: Redraw after resizing also when a popup menu is visible. (Ozaki
Kiichi, closes #2110)
|
|
|
|
|
| |
Problem: W_WIDTH() is always the same.
Solution: Expand the macro.
|
|
|
|
|
| |
Problem: W_WINCOL() is always the same.
Solution: Expand the macro.
|
|
|
|
|
|
| |
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always
enabled and only adds 7% to the binary size of the tiny build.
Solution: Graduate FEAT_WINDOWS.
|
|
|
|
|
|
| |
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
|
|
|
|
|
| |
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
|
|
|
|
|
|
|
| |
Problem: Popup menu always appears above the cursor when it is in the lower
half of the screen. (Matt Gardner)
Solution: Compute the available space better. (Hirohito Higashi,
closes #1241)
|
|
|
|
|
| |
Problem: Compiler warning for unused variable.
Solution: Add #ifdef. (John Marriott)
|
|
|
|
|
| |
Problem: Positioning of the popup menu is not good.
Solution: Position it better. (Hirohito Higashi)
|
|
|
|
|
|
| |
Problem: Crash when using the preview window from an unnamed buffer.
(lifepillar)
Solution: Do not clear the wrong buffer. (closes #1200)
|
|
|
|
|
| |
Problem: Modelines in source code are inconsistant.
Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
|
|
|
|
|
|
| |
Problem: Can't build without the quickfix feature.
Solution: Add #ifdefs. Call ex_ni() for unimplemented commands. (Yegappan
Lakshmanan)
|
|
|
|
|
|
| |
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
|
|
|
|
|
| |
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
|
|
|
|
|
|
| |
Problem: When a BufLeave autocommand changes folding in a way it syncs
undo, undo can be corrupted.
Solution: Prevent undo sync. (Jacob Niehus)
|
|
|
|
|
| |
Problem: Bad interaction between preview window and omnifunc.
Solution: Avoid redrawing the status line. (Hirohito Higashi)
|
|
|
|
|
| |
Problem: Lots of flickering when filling the preview window for 'omnifunc'.
Solution: Disable redrawing. (Hirohito Higashi)
|
|
|
|
|
| |
Problem: Crash when using Insert mode completion.
Solution: Avoid going past the end of pum_array. (idea by Fransisco Lopes)
|
|
|
|
|
|
| |
Problem: The preview window opened by the popup menu is larger than
specified with 'previewheight'. (Benjamin Haskell)
Solution: Use 'previewheight' if it's set and smaller.
|
| |
|
|
|
|
|
| |
Problem: Get E38 errors. (Dasn)
Solution: Set cursor to line 1 instead of 0. (Dominique Pelle)
|
|
|
|
|
|
| |
Problem: Popup menu displayed wrong in 'rightleft' mode when there are
multi-byte characters.
Solution: Adjust the column computations. (Dominique Pelle)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|