aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/popupmnu.c
Commit message (Collapse)AuthorAge
* buffer: move BUFEMPTY to a functionThomas Vigouroux2021-07-06
|
* buffer: don't rely on curbuf in BUFEMPTYThomas Vigouroux2021-07-06
|
* fix(ui): Fix pum incorrect position in multigrid modeSerg Tereshchenko2021-06-12
| | | | Refs #12985
* floats: z-indexBjörn Linse2021-05-15
|
* vim-patch:8.1.0989: various small code uglinessJan Edmund Lazo2021-03-29
| | | | | | | Problem: Various small code ugliness. Solution: Remove pointless NULL checks. Fix function calls. Fix typos. (Dominique Pelle, closes vim/vim#4060) https://github.com/vim/vim/commit/bdace838c67c1bd94e55e34270a8325933891466
* floats: handle interaction with popupmenu and border correctlyBjörn Linse2021-03-25
|
* floats: add borders (MS-DOS MODE)Björn Linse2021-03-22
|
* w_grid_alloc: baseline implBjörn Linse2021-03-22
|
* refactor: de-curwin-ify update_topline/curs_columnsMatthieu Coudron2020-12-23
|
* vim-patch:8.2.2123: after using a complete popup the buffer is listedSean Dewar2020-12-09
| | | | | | | Problem: After using a complete popup the buffer is listed. (Boris Staletic) Solution: Make the buffer unlisted. https://github.com/vim/vim/commit/d356fc65d273959efa9b05bfa0f07ce1c9ff85a4
* vim-patch:8.2.1995: the popup menu can cause too much redrawingShougo Matsushita2020-11-17
| | | | | | | Problem: The popup menu can cause too much redrawing. Solution: Reduce the length of the displayed text. (Yasuhiro Matsumoto, closes vim/vim#7306) https://github.com/vim/vim/commit/714cbe5b212abbecb578b90424d89f47142e8f25
* api: add API for themesBjörn Linse2020-11-01
| | | | | | | | | | co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function) orange is sus?? NOVEMBER DAWN erase the lie that is redraw_later()
* vim-patch:8.2.0393: Coverity warns for not using return valueJan Edmund Lazo2020-10-25
| | | | | | Problem: Coverity warns for not using return value. Solution: Add (void). https://github.com/vim/vim/commit/c0300633292ee648c7154a7828eb1c76637bd9af
* Fix popupmenu position issueerw72020-10-23
|
* vim-patch:8.2.0007: popup menu positioned wrong with folding in two tabsJan Edmund Lazo2020-10-08
| | | | | | Problem: Popup menu positioned wrong with folding in two tabs. Solution: Update the cursor line height. (closes vim/vim#5353) https://github.com/vim/vim/commit/09dd2bb3364cc8fb5a8f2507bc2f4ceba481db3d
* vim-patch:8.2.0111: VAR_SPECIAL is also used for booleansBilly Su2020-06-06
| | | | | | Problem: VAR_SPECIAL is also used for booleans. Solution: Add VAR_BOOL for better type checking. https://github.com/vim/vim/commit/9b4a15d5dba354d2e1e02871470bad103f34769a
* vim-patch:8.2.0678: rare crash for popup menuJan Edmund Lazo2020-05-03
| | | | | | Problem: Rare crash for popup menu. Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes vim/vim#6027) https://github.com/vim/vim/commit/d58a662f44dc11475f4cf5922a948635da934cc4
* api/ui: simplify popup menu position get/set logic; fix testYatao Li2020-04-28
|
* external pum: use floating point geometry; typval: add tv_dict_add_floatYatao Li2020-04-28
|
* ui_pum_get_pos: return internal pum position if external pum pos not foundYatao Li2020-04-28
|
* API/UI: Allow UI to set PUM position and size, and pass the position to ↵Yatao Li2020-04-28
| | | | CompleteChanged
* popupmenu: don't use 'rightleft' option in cmdline modeBjörn Linse2020-03-23
| | | | | Cmdline is always drawn from the left to right, so using rightleft popupmenu is not useful here
* vim-patch:8.0.1540: popup menu positioning fails with longer stringJan Edmund Lazo2019-12-29
| | | | | | | Problem: Popup menu positioning fails with longer string. Solution: Only align with right side of window when width is less than 'pumwidth' (closes vim/vim#2661) https://github.com/vim/vim/commit/2b10bcbfc1c025bf7e6358326ee70105e7d30e96
* vim-patch:8.1.0554: popup menu overlaps with preview windowJan Edmund Lazo2019-12-29
| | | | | | | | Problem: Popup menu overlaps with preview window. Solution: Adjust the height computation. (Hirohito Higashi, closes vim/vim#3414) https://github.com/vim/vim/commit/614ab8aa00346724bfc27980d25985d482269b75 Cherry-picked "row -> pum_win_row" rename changes from patch 8.1.0062.
* vim-patch:8.0.1538: popupmenu is too far left when completion is longJan Edmund Lazo2019-12-29
| | | | | | Problem: Popupmenu is too far left when completion is long. (Linwei) Solution: Adjust column computations. (Hirohito Higashi, closes vim/vim#2661) https://github.com/vim/vim/commit/bb008dd3239c5fe3ac04501e38e4c950fa9426c8
* vim-patch:8.0.1522: popup menu is positioned in the wrong placeJan Edmund Lazo2019-12-29
| | | | | | | | 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 vim/vim#2640) https://github.com/vim/vim/commit/4287ed33ddc324d26dd05d3e19596dd74cf479d6
* vim-patch:8.1.0670: macro for popup menu width is unusedJan Edmund Lazo2019-12-29
| | | | | | Problem: Macro for popup menu width is unused. Solution: Remove it. (Hirohito Higashi) https://github.com/vim/vim/commit/3d631cb0b34b03c7bdf45ad852d3644c7cf62743
* vim-patch:8.0.1495: having 'pumwidth' default to zero has no meritJan Edmund Lazo2019-12-29
| | | | | | | | | Problem: Having 'pumwidth' default to zero has no merit. Solution: Make the default 15, as the actual default value. https://github.com/vim/vim/commit/42443c7d7fecc3a2a72154bb6139b028438617c2 Includes 'pumwidth' documentation changes from 8.0.1531. Sort 'pum*' option in alphabetical order.
* vim-patch:8.0.1491: the minimum width of the popup menu is hard codedJan Edmund Lazo2019-12-29
| | | | | | | Problem: The minimum width of the popup menu is hard coded. Solution: Add the 'pumwidth' option. (Christian Brabandt, James McCoy, closes vim/vim#2314) https://github.com/vim/vim/commit/a8f04aa275984183bab5bb583b128f38c64abb69
* vim-patch:8.0.1309: cannot use 'balloonexpr' in a terminal #10983Jan Edmund Lazo2019-09-09
| | | | | | | | (Port some refactoring, but ignore "balloon" changes.) 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. https://github.com/vim/vim/commit/51b0f3701ecb440aa72ab6017c1df6940c0e0f6f
* Add nvim_ui_pum_set_height to apierw72019-09-08
|
* vim-patch:8.1.1138: add CompleteChanged #10644Justin M. Keyes2019-07-29
| | | | | | (This was originally a Neovim patch, but this commit merges some changes from the Vim patch.) https://github.com/vim/vim/commit/d7f246c68cfb97406bcd4b098a2df2d870b3ef92
* ui: add 'winblend' to support blending of floating windowsBjörn Linse2019-06-25
| | | | Also add `hi blend=` attribute to override transparency of indiviual attributes.
* screen: showcmd should never move the cursorBjörn Linse2019-06-13
| | | | | Also restore the symmetry between grid_puts_line_start and grid_puts_line_flush.
* lintJan Edmund Lazo2019-04-30
|
* Allow using internal popupmenu or ext_popupmenu for wildmenuBjörn Linse2019-03-16
| | | | | Deprecate ext_wildmenu. ext_popupmenu already contains more state (anchor position), and will allow further expansion (info about items).
* autocmd: add MenuPopupChanged autocmdchemzqm2019-03-15
| | | | | | Update src/nvim/auevents.lua Co-Authored-By: chemzqm <chemzqm@gmail.com>
* floats: implement floating windowsBjörn Linse2019-03-02
| | | | Co-Author: Dongdong Zhou <dzhou121@gmail.com>
* UI: implement 'pumblend' option for semi-transparent popupmenuBjörn Linse2019-02-07
| | | | | | | | | | | | | Why? - Because we can. - Because the TUI is just another GUI™ - Because it looks kinda nice, and provides useful context like 1 out of 100 times Complies with "don't pay for what you don't use". Some crashes for resizing were unfolded, add tests for those.
* Merge pull request #9579 from bfredl/pum_fixBjörn Linse2019-02-03
|\ | | | | popupmenu: fix alignment of kind and extra after #9530
| * popupmenu: fix alignment of kind and extra after #9530Björn Linse2019-02-03
| |
* | rename ui_is_external to ui_has (#9576)Justin M. Keyes2019-02-03
|/
* ui/compositor: add redraws needed due to intersected doublewidth chars.Björn Linse2019-02-02
|
* Reduce pum redraws from edit.c by delaying undisplay of pumBjörn Linse2019-02-02
| | | | | This makes it possible for the compositor to compare the old pum with the new position, and only clear what is necessary.
* UI: add "compositor" layer to merge grids for TUI use in a correct wayBjörn Linse2019-02-02
| | | | | | | | Initially we will use this for the popupmenu, floating windows will follow soon NB: writedelay + compositor is weird, we need more flexible redraw introspection.
* popupmenu: fix positioning with vsplitsBjörn Linse2019-01-01
|
* multigrid: Fix lint errorsUtkarsh Maheshwari2018-12-31
|
* multigrid: use grid-based coordinates for ext_popupmenuBjörn Linse2018-12-31
|
* multigrid: Change screen_* functions to grid_* functionsUtkarsh Maheshwari2018-12-31
|
* vim-patch:8.1.0355 Incorrect adjusting the popup menu (#8996)Ronan Pigott2018-09-16
| | | | | 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 vim/vim#3414)