summaryrefslogtreecommitdiff
path: root/src/popupmenu.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.1432: completion popup in wrong position with virtual text "above"v9.0.1432Bram Moolenaar2023-03-311-5/+8
| | | | | Problem: Completion popup in wrong position with virtual text "above". Solution: Adjust the column. (closes #12210)
* patch 9.0.1404: compilation error with some compilersv9.0.1404Bram Moolenaar2023-03-151-4/+11
| | | | | Problem: Compilation error with some compilers. Solution: Adjust array initialization. (John Marriott)
* patch 9.0.1397: highlight for popupmenu kind and extra cannot be setv9.0.1397Gianmaria Bajo2023-03-101-12/+21
| | | | | | Problem: Highlight for popupmenu kind and extra cannot be set. Solution: Add PmenuKind, PmenuKindSel, PmenuExtra and PmenuExtraSel highlight groups and use them. (Gianmaria Bajo, closes #12114)
* patch 9.0.1336: functions without arguments are not always declared properlyv9.0.1336Yegappan Lakshmanan2023-02-211-1/+1
| | | | | Problem: Functions without arguments are not always declared properly. Solution: Use "(void)" instead of "()". (Yegappan Lakshmanan, closes #12031)
* patch 9.0.1221: code is indented more than necessaryv9.0.1221Yegappan Lakshmanan2023-01-181-19/+19
| | | | | | Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11833)
* patch 9.0.0279: the tiny version has the popup menu but not 'wildmenu'v9.0.0279Bram Moolenaar2022-08-261-2/+0
| | | | | Problem: The tiny version has the popup menu but not 'wildmenu'. Solution: Graduate the wildmenu feature.
* patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar2022-08-141-3/+3
| | | | | Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
* patch 9.0.0076: no test for what patch 8.1.1424 fixesv9.0.0076zeertzjq2022-07-261-2/+2
| | | | | Problem: No test for what patch 8.1.1424 fixes. Solution: Add a test. (closes #10789)
* patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar2022-05-071-5/+5
| | | | | Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
* patch 8.2.4753: error from setting an option is silently ignoredv8.2.4753Bram Moolenaar2022-04-151-8/+10
| | | | | Problem: Error from setting an option is silently ignored. Solution: Handle option value errors better. Fix uses of N_().
* patch 8.2.4655: cmdline completion popup menu positioned wrongv8.2.4655Yegappan Lakshmanan2022-03-311-26/+39
| | | | | | | Problem: Command line completion popup menu positioned wrong when using a terminal window. Solution: Position the popup menu differently when editing the command line. (Yegappan Lakshmanan, closes #10050, closes #10035)
* patch 8.2.4339: CTRL-A does not work properly with the cmdline popup menuv8.2.4339Yegappan Lakshmanan2022-02-101-0/+2
| | | | | | | Problem: CTRL-A does not work properly with the cmdline popup menu. Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup menu. Remove TermWait() before VeriryScreenDump(). Refactor the cmdline popup code. (Yegappan Lakshmanan, closes #9735)
* patch 8.2.4325: 'wildmenu' only shows few matchesv8.2.4325Yegappan Lakshmanan2022-02-081-1/+9
| | | | | | Problem: 'wildmenu' only shows few matches. Solution: Add the "pum" option: use a popup menu to show the matches. (Yegappan Lakshmanan et al., closes #9707)
* patch 8.2.3972: error messages are spread outv8.2.3972Bram Moolenaar2022-01-011-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move the last errors from globals.h to errors.h.
* patch 8.2.3614: zindex of popup windows not used when redrawing popup menuv8.2.3614Bakudankun2021-11-171-2/+2
| | | | | | Problem: zindex of popup windows not used when redrawing popup menu. Solution: Check the zindex when redrawing the popup menu. (closes #9129, closes #9089)
* patch 8.2.2815: status line flickers when redrawing popup menu infov8.2.2815Bram Moolenaar2021-04-271-0/+9
| | | | | | Problem: Status line flickers when redrawing popup menu info. Solution: Do not redraw the status line when the focus is in the popup window. (issue #8144)
* patch 8.2.2803: flicker when the popup menu has an info popupv8.2.2803Bram Moolenaar2021-04-231-10/+28
| | | | | | Problem: Flicker when the popup menu has an info popup. Solution: Avoid drawing over the popup when it's going to be redrawn in the same position. (closes #8131) Also avoid redrawing the scrollbar.
* patch 8.2.2207: illegal memory access if popup menu items are changedv8.2.2207Bram Moolenaar2020-12-241-2/+15
| | | | | | Problem: Illegal memory access if popup menu items are changed while the menu is visible. (Tomáš Janoušek) Solution: Make a copy of the text. (closes #7537)
* patch 8.2.2123: after using a complete popup the buffer is listedv8.2.2123Bram Moolenaar2020-12-091-0/+1
| | | | | | Problem: After using a complete popup the buffer is listed. (Boris Staletic) Solution: Make the buffer unlisted.
* patch 8.2.1995: the popup menu can cause too much redrawingv8.2.1995Bram Moolenaar2020-11-161-5/+19
| | | | | | Problem: The popup menu can cause too much redrawing. Solution: Reduce the length of the displayed text. (Yasuhiro Matsumoto, closes #7306)
* patch 8.2.1989: info popup triggers WinEnter and WinLeave autocommandsv8.2.1989Bram Moolenaar2020-11-151-0/+8
| | | | | Problem: Info popup triggers WinEnter and WinLeave autocommands. Solution: Suppress autocommands for the info popup. (closes #7296)
* patch 8.2.1239: "maxwidth" in 'completepopup' not obeyedv8.2.1239Bram Moolenaar2020-07-181-1/+8
| | | | | Problem: "maxwidth" in 'completepopup' not obeyed. (Jay Sitter) Solution: Add separate field for value from option. (closes #6470)
* patch 8.2.0853: ml_delete() often called with FALSE argumentv8.2.0853Bram Moolenaar2020-05-301-2/+2
| | | | | Problem: ml_delete() often called with FALSE argument. Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
* patch 8.2.0751: Vim9: performance can be improvedv8.2.0751Bram Moolenaar2020-05-131-1/+1
| | | | | | Problem: Vim9: performance can be improved. Solution: Don't call break. Inline check for list materialize. Make an inline version of ga_grow().
* patch 8.2.0678: rare crash for popup menuv8.2.0678Bram Moolenaar2020-05-021-3/+6
| | | | | Problem: Rare crash for popup menu. Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes #6027)
* patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar2020-04-121-1/+1
| | | | | Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
* patch 8.2.0523: loops are repeatedv8.2.0523Bram Moolenaar2020-04-061-3/+3
| | | | | Problem: Loops are repeated. Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)
* patch 8.2.0393: Coverity warns for not using return valuev8.2.0393Bram Moolenaar2020-03-161-6/+7
| | | | | Problem: Coverity warns for not using return value. Solution: Add (void).
* patch 8.2.0159: non-materialized range() list causes problemsv8.2.0159Bram Moolenaar2020-01-271-0/+1
| | | | | Problem: Non-materialized range() list causes problems. (Fujiwara Takuya) Solution: Materialize the list where needed.
* patch 8.2.0111: VAR_SPECIAL is also used for booleansv8.2.0111Bram Moolenaar2020-01-111-1/+1
| | | | | Problem: VAR_SPECIAL is also used for booleans. Solution: Add VAR_BOOL for better type checking.
* patch 8.2.0011: screen updating wrong when opeing preview windowv8.2.0011Bram Moolenaar2019-12-151-4/+5
| | | | | Problem: Screen updating wrong when opeing preview window. Solution: Redraw the window when the preview window opens.
* patch 8.2.0007: popup menu positioned wrong with folding in two tabsv8.2.0007Bram Moolenaar2019-12-141-0/+1
| | | | | Problem: Popup menu positioned wrong with folding in two tabs. Solution: Update the cursor line height. (closes #5353)
* patch 8.1.2415: popup menu flickers if an info popup is usedv8.1.2415Bram Moolenaar2019-12-101-13/+27
| | | | | Problem: Popup menu flickers if an info popup is used. (Nick Spoons) Solution: Set the pum_skip_redraw flag.
* patch 8.1.2399: info popup on top of cursor if it doesn't fitv8.1.2399Bram Moolenaar2019-12-061-1/+7
| | | | | Problem: Info popup on top of cursor if it doesn't fit. Solution: Hide the popup if it doesn't fit.
* patch 8.1.2394: using old C style commentsv8.1.2394Bram Moolenaar2019-12-051-91/+91
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2373: cannot build with +popupwin but without +quickfixv8.1.2373Bram Moolenaar2019-12-011-2/+2
| | | | | Problem: Cannot build with +popupwin but without +quickfix. (John Marriott) Solution: Adjust #ifdefs.
* patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar2019-11-301-14/+14
| | | | | Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
* patch 8.1.2369: cannot build with quickfix and without text propertiesv8.1.2369Bram Moolenaar2019-11-301-1/+1
| | | | | Problem: Cannot build with quickfix and without text properties. Solution: Fix typo. (Naruhiko Nishino)
* patch 8.1.2325: crash when using balloon with empty linev8.1.2325Bram Moolenaar2019-11-211-31/+35
| | | | | Problem: Crash when using balloon with empty line. Solution: Handle empty lines. (Markus Braun)
* patch 8.1.2324: with of scrollbar in popup menu not taken into accountv8.1.2324Bram Moolenaar2019-11-211-2/+2
| | | | | Problem: With of scrollbar in popup menu not taken into account. Solution: Add the width of the scrollbar.
* patch 8.1.2274: newlines in 'balloonexpr' result only work in the GUIv8.1.2274Bram Moolenaar2019-11-091-1/+5
| | | | | Problem: Newlines in 'balloonexpr' result only work in the GUI. Solution: Also recognize newlines in the terminal. (closes #5193)
* patch 8.1.2192: cannot easily fill the info popup asynchronouslyv8.1.2192Bram Moolenaar2019-10-201-18/+34
| | | | | Problem: Cannot easily fill the info popup asynchronously. Solution: Add the "popuphidden" value to 'completeopt'. (closes #4924)
* patch 8.1.2120: some MB_ macros are more complicated than necessaryv8.1.2120Bram Moolenaar2019-10-061-2/+2
| | | | | | Problem: Some MB_ macros are more complicated than necessary. (Dominique Pelle) Solution: Simplify the macros. Expand inline.
* patch 8.1.2082: some files have a weird name to fit in 8.3 charactersv8.1.2082Bram Moolenaar2019-09-271-0/+1489
| | | | | Problem: Some files have a weird name to fit in 8.3 characters. Solution: Use a nicer names.
* updated for version 7.0bv7.0bBram Moolenaar2006-03-241-565/+0
|
* updated for version 7.0226Bram Moolenaar2006-03-161-4/+11
|
* updated for version 7.0225Bram Moolenaar2006-03-151-9/+27
|
* updated for version 7.0224Bram Moolenaar2006-03-141-0/+1
|
* updated for version 7.0223Bram Moolenaar2006-03-131-1/+6
|
* updated for version 7.0222Bram Moolenaar2006-03-121-2/+2
|