summaryrefslogtreecommitdiff
path: root/src/popupmnu.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.0554: popup menu overlaps with preview windowv8.1.0554Bram Moolenaar2018-12-011-13/+4
| | | | | Problem: Popup menu overlaps with preview window. Solution: Adjust the height computation. (Hirohito Higashi, closes #3414)
* patch 8.1.0487: no menus specifically for the terminal windowv8.1.0487Bram Moolenaar2018-10-191-1/+1
| | | | | Problem: No menus specifically for the terminal window. Solution: Add :tlmenu. (Yee Cheng Chin, closes #3439) Add a menu test.
* patch 8.1.0355: incorrect adjusting the popup menu for the preview windowv8.1.0355Bram Moolenaar2018-09-091-6/+15
| | | | | | 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)
* patch 8.1.0065: balloon displayed at the wrong positionv8.1.0065Bram Moolenaar2018-06-171-4/+10
| | | | | Problem: Balloon displayed at the wrong position. Solution: Do not reposition the popup menu at the cursor position.
* patch 8.1.0062: popup menu broken if a callback changes the window layoutv8.1.0062Bram Moolenaar2018-06-171-11/+58
| | | | | | | 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.
* patch 8.0.1842: popup menu inside terminal window isn't clearedv8.0.1842Bram Moolenaar2018-05-141-1/+1
| | | | | | Problem: Popup menu inside terminal window isn't cleared. Solution: Use NOT_VALID in pum_undisplay(). (suggested by Christian Brabandt, closes #2908)
* patch 8.0.1588: popup menu hangs after typing CTRL-Cv8.0.1588Bram Moolenaar2018-03-071-2/+2
| | | | | Problem: Popup menu hangs after typing CTRL-C. Solution: Make CTRL-C exit the loop. (Ozaki Kiichi, closes #2697)
* patch 8.0.1574: show cursor in wrong place when using popup menuv8.0.1574Bram Moolenaar2018-03-061-5/+5
| | | | | | Problem: Show cursor in wrong place when using popup menu. (Wei Zhang) Solution: Force updating the cursor position. Fix skipping over unused entries.
* patch 8.0.1570: can't use :popup for a menu in the terminalv8.0.1570Bram Moolenaar2018-03-051-2/+24
| | | | | | 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.
* patch 8.0.1558: no right-click menu in a terminalv8.0.1558Bram Moolenaar2018-03-031-32/+191
| | | | | Problem: No right-click menu in a terminal. Solution: Implement the right click menu for the terminal.
* patch 8.0.1540: popup menu positioning fails with longer stringv8.0.1540Bram Moolenaar2018-02-241-15/+21
| | | | | | Problem: Popup menu positioning fails with longer string. Solution: Only align with right side of window when width is less than 'pumwidth' (closes #2661)
* patch 8.0.1538: popupmenu is too far left when completion is longv8.0.1538Bram Moolenaar2018-02-241-2/+2
| | | | | Problem: Popupmenu is too far left when completion is long. (Linwei) Solution: Adjust column computations. (Hirohito Higashi, closes #2661)
* patch 8.0.1522: popup menu is positioned in the wrong placev8.0.1522Bram Moolenaar2018-02-171-7/+11
| | | | | | | 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)
* patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar2018-02-101-2/+1
| | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
* patch 8.0.1495: having 'pumwidth' default to zero has no meritv8.0.1495Bram Moolenaar2018-02-101-24/+15
| | | | | Problem: Having 'pumwidth' default to zero has no merit. Solution: Make the default 15, as the actual default value.
* patch 8.0.1491: the minimum width of the popup menu is hard codedv8.0.1491Bram Moolenaar2018-02-101-8/+78
| | | | | | Problem: The minimum width of the popup menu is hard coded. Solution: Add the 'pumwidth' option. (Christian Brabandt, James McCoy, closes #2314)
* patch 8.0.1346: crash when passing 50 char string to balloon_split()v8.0.1346Bram Moolenaar2017-11-261-1/+1
| | | | | Problem: Crash when passing 50 char string to balloon_split(). Solution: Fix off-by-one error.
* patch 8.0.1318: terminal balloon only shows one linev8.0.1318Bram Moolenaar2017-11-191-13/+165
| | | | | | 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.
* patch 8.0.1312: balloon_show() only works in terminal when compiled with GUIv8.0.1312Bram Moolenaar2017-11-181-1/+1
| | | | | | 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.
* patch 8.0.1309: cannot use 'balloonexpr' in a terminalv8.0.1309Bram Moolenaar2017-11-181-35/+132
| | | | | | 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.
* patch 8.0.1223: crash when using autocomplete and tab pagesv8.0.1223Bram Moolenaar2017-10-261-1/+7
| | | | | | Problem: Crash when using autocomplete and tab pages. Solution: Check if the current tab changed. (Christian Brabandt, closes #2239)
* patch 8.0.1161: popup menu drawing problem when resizing terminalv8.0.1161Bram Moolenaar2017-09-291-161/+162
| | | | | | Problem: Popup menu drawing problem when resizing terminal. Solution: Redraw after resizing also when a popup menu is visible. (Ozaki Kiichi, closes #2110)
* patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar2017-09-221-2/+2
| | | | | Problem: W_WIDTH() is always the same. Solution: Expand the macro.
* patch 8.0.1135: W_WINCOL() is always the samev8.0.1135Bram Moolenaar2017-09-221-3/+3
| | | | | Problem: W_WINCOL() is always the same. Solution: Expand the macro.
* patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar2017-09-161-6/+4
| | | | | | 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.
* patch 8.0.0451: some macros are in lower casev8.0.0451Bram Moolenaar2017-03-121-2/+2
| | | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
* patch 8.0.0448: some macros are in lower casev8.0.0448Bram Moolenaar2017-03-121-1/+1
| | | | | Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
* patch 8.0.0099v8.0.0099Bram Moolenaar2016-11-241-1/+2
| | | | | | | 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)
* patch 8.0.0061v8.0.0061Bram Moolenaar2016-11-041-0/+2
| | | | | Problem: Compiler warning for unused variable. Solution: Add #ifdef. (John Marriott)
* patch 8.0.0058v8.0.0058Bram Moolenaar2016-11-041-24/+22
| | | | | Problem: Positioning of the popup menu is not good. Solution: Position it better. (Hirohito Higashi)
* patch 8.0.0047v8.0.0047Bram Moolenaar2016-10-271-1/+3
| | | | | | Problem: Crash when using the preview window from an unnamed buffer. (lifepillar) Solution: Do not clear the wrong buffer. (closes #1200)
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.1403v7.4.1403Bram Moolenaar2016-02-231-0/+6
| | | | | | Problem: Can't build without the quickfix feature. Solution: Add #ifdefs. Call ex_ni() for unimplemented commands. (Yegappan Lakshmanan)
* patch 7.4.1213v7.4.1213Bram Moolenaar2016-01-301-12/+10
| | | | | | Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
* patch 7.4.1199v7.4.1199Bram Moolenaar2016-01-291-1/+1
| | | | | Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
* patch 7.4.901v7.4.901Bram Moolenaar2015-10-301-0/+10
| | | | | | Problem: When a BufLeave autocommand changes folding in a way it syncs undo, undo can be corrupted. Solution: Prevent undo sync. (Jacob Niehus)
* updated for version 7.4.383v7.4.383Bram Moolenaar2014-07-231-0/+6
| | | | | Problem: Bad interaction between preview window and omnifunc. Solution: Avoid redrawing the status line. (Hirohito Higashi)
* updated for version 7.4.361v7.4.361Bram Moolenaar2014-07-091-0/+2
| | | | | Problem: Lots of flickering when filling the preview window for 'omnifunc'. Solution: Disable redrawing. (Hirohito Higashi)
* updated for version 7.4.072v7.4.072Bram Moolenaar2013-11-061-4/+4
| | | | | Problem: Crash when using Insert mode completion. Solution: Avoid going past the end of pum_array. (idea by Fransisco Lopes)
* updated for version 7.3.044v7.3.044Bram Moolenaar2010-10-271-1/+4
| | | | | | 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.
* Remove unused code.Bram Moolenaar2010-08-081-11/+0
|
* updated for version 7.2.396v7.2.396Bram Moolenaar2010-03-171-1/+1
| | | | | Problem: Get E38 errors. (Dasn) Solution: Set cursor to line 1 instead of 0. (Dominique Pelle)
* updated for version 7.2.342v7.2.342Bram Moolenaar2010-01-191-9/+24
| | | | | | Problem: Popup menu displayed wrong in 'rightleft' mode when there are multi-byte characters. Solution: Adjust the column computations. (Dominique Pelle)
* updated for version 7.2-041v7.2.041Bram Moolenaar2008-11-151-1/+1
|
* updated for version 7.2b-000v7.2b.000Bram Moolenaar2008-07-131-3/+2
|
* updated for version 7.2aBram Moolenaar2008-06-241-9/+23
|
* updated for version 7.1-283v7.1.283Bram Moolenaar2008-03-161-1/+1
|
* updated for version 7.1-058v7.1.058Bram Moolenaar2007-08-081-20/+126
|
* updated for version 7.1-016v7.1.016Bram Moolenaar2007-06-281-1/+1
|
* updated for version 7.0-223v7.0.223Bram Moolenaar2007-03-271-2/+14
|