Bram Moolenaar
5b8cfedfbd
patch 8.1.1612: cannot show an existing buffer in a popup window
...
Problem: Cannot show an existing buffer in a popup window.
Solution: Support buffer number argument in popup_create().
2019-06-30 22:16:10 +02:00
Bram Moolenaar
2e62b568e9
patch 8.1.1609: the user cannot easily close a popup window
...
Problem: The user cannot easily close a popup window.
Solution: Add the "close" property. (mostly by Masato Nishihata,
closes #4601 )
2019-06-30 18:07:00 +02:00
Bram Moolenaar
f9c85f580b
patch 8.1.1608: the evalfunc.c file is too big
...
Problem: The evalfunc.c file is too big.
Solution: Move sign functionality to sign.c.
2019-06-29 07:41:35 +02:00
Bram Moolenaar
711d02c96d
patch 8.1.1602: popup window cannot overflow on the left or right
...
Problem: Popup window cannot overflow on the left or right.
Solution: Only set the "fixed" option when it is in the dict. Set w_leftcol
to allow for the popup overflowing on the left and use it when
applying the mask.
2019-06-28 04:06:50 +02:00
Bram Moolenaar
4cd583c6da
patch 8.1.1600: cannot specify highlighting for popup window scrollbar
...
Problem: Cannot specify highlighting for popup window scrollbar.
Solution: Add "scrollbarhighlight" and "thumbhighlight" options.
2019-06-26 05:13:57 +02:00
Bram Moolenaar
6efd76ae4a
patch 8.1.1599: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Add a dummy assignment.
2019-06-26 04:06:57 +02:00
Bram Moolenaar
68acb41f99
patch 8.1.1597: cannot scroll a popup window with the mouse
...
Problem: Cannot scroll a popup window with the mouse.
Solution: If the popup window has a scrollbar let the mouse scroll wheel
scroll the window.
2019-06-26 03:40:36 +02:00
Bram Moolenaar
c2a4316500
patch 8.1.1596: when resizing the screen may draw popup in wrong position
...
Problem: When resizing the screen may draw popup in wrong position. (Masato
Nishihata)
Solution: Check the popup is not outside of the screen. (fixes #4592 )
2019-06-26 01:03:53 +02:00
Bram Moolenaar
75fb0854e9
patch 8.1.1589: popup window does not indicate scroll position
...
Problem: Popup window does not indicate scroll position.
Solution: Add a scrollbar.
2019-06-25 05:15:58 +02:00
Bram Moolenaar
b2cda0dd1d
patch 8.1.1586: error number used in two places
...
Problem: Error number used in two places.
Solution: Renumber one. (Ken Takata)
2019-06-24 05:06:36 +02:00
Bram Moolenaar
7be3ab2589
patch 8.1.1583: set_ref_in_list() only sets ref in items
...
Problem: Set_ref_in_list() only sets ref in items.
Solution: Rename to set_ref_in_list_items() to avoid confusion.
2019-06-23 01:46:15 +02:00
Bram Moolenaar
0fcf26ba4f
patch 8.1.1582: cannot build with +textprop but without +timers
...
Problem: Cannot build with +textprop but without +timers.
Solution: Add #ifdef. (Ola Söder, closes #4574 )
2019-06-23 01:03:51 +02:00
Bram Moolenaar
c662ec9978
patch 8.1.1580: cannot make part of a popup transparent
...
Problem: Cannot make part of a popup transparent.
Solution: Add the "mask" option.
2019-06-23 00:15:57 +02:00
Bram Moolenaar
75a1a9415b
patch 8.1.1575: callbacks may be garbage collected
...
Problem: Callbacks may be garbage collected.
Solution: Set reference in callbacks. (Ozaki Kiichi, closes #4564 )
2019-06-20 03:45:36 +02:00
Bram Moolenaar
a3fce62c91
patch 8.1.1574: tabpage option not yet implemented for popup window
...
Problem: Tabpage option not yet implemented for popup window.
Solution: Implement tabpage option, also for popup_getoptions().
2019-06-20 02:31:49 +02:00
Bram Moolenaar
ad24a71e22
patch 8.1.1562: popup window not always redrawn after popup_setoptions()
...
Problem: Popup window not always redrawn after popup_setoptions().
Solution: Force a redraw.
2019-06-17 20:05:45 +02:00
Bram Moolenaar
ae943150d3
patch 8.1.1561: popup_setoptions() is not implemented yet
...
Problem: Popup_setoptions() is not implemented yet.
Solution: Implement popup_setoptions(). Also add more fields to
popup_getoptions().
2019-06-16 22:54:14 +02:00
Bram Moolenaar
6313c4f41d
patch 8.1.1560: popup window hidden option not implemented yet
...
Problem: Popup window hidden option not implemented yet.
Solution: Implement the hidden option.
2019-06-16 20:39:13 +02:00
Bram Moolenaar
eb2310d47d
patch 8.1.1559: popup window title property not implemented yet
...
Problem: Popup window title property not implemented yet.
Solution: Implement the title property.
2019-06-16 20:09:10 +02:00
Bram Moolenaar
a730e55cc2
patch 8.1.1558: popup_menu() and popup_filter_menu() are not implemented yet
...
Problem: Popup_menu() and popup_filter_menu() are not implemented yet.
Solution: Implement the functions. Fix that centering didn't take the border
and padding into account.
2019-06-16 19:05:31 +02:00
Bram Moolenaar
8cdbd5b3c4
patch 8.1.1555: NOT_IN_POPUP_WINDOW is confusing
...
Problem: NOT_IN_POPUP_WINDOW is confusing. (Andy Massimino)
Solution: Rename to ERROR_IF_POPUP_WINDOW().
2019-06-16 15:50:45 +02:00
Bram Moolenaar
dc2ce58b5a
patch 8.1.1553: not easy to change the text in a popup window
...
Problem: Not easy to change the text in a popup window.
Solution: Add popup_settext(). (Ben Jackson, closes #4549 )
Also display a space for an empty popup.
2019-06-16 15:32:14 +02:00
Bram Moolenaar
51c3131040
patch 8.1.1550: when a popup has left padding text may be cut off
...
Problem: When a popup has left padding text may be cut off.
Solution: Add the border and padding when computing the size.
2019-06-15 22:27:23 +02:00
Bram Moolenaar
a42d945efc
patch 8.1.1548: popup_dialog() is not implemented
...
Problem: Popup_dialog() is not implemented.
Solution: Implement popup_dialog() and popup_filter_yesno().
2019-06-15 21:46:30 +02:00
Bram Moolenaar
dfa97f2aed
patch 8.1.1538: cannot specify highlighting for notifications
...
Problem: Cannot specify highlighting for notifications.
Solution: Use the PopupNotification group if it exists. Add a minimal width
to notifications.
2019-06-15 14:31:55 +02:00
Bram Moolenaar
fc06cbbf86
patch 8.1.1537: using "tab" for popup window can be confusing
...
Problem: Using "tab" for popup window can be confusing.
Solution: Use "tabpage". (Hirohito Higashi, closes #4532 )
2019-06-15 14:14:31 +02:00
Bram Moolenaar
b4086ffa32
patch 8.1.1528: popup_any_visible() is unused
...
Problem: Popup_any_visible() is unused.
Solution: Remove it.
2019-06-14 20:00:48 +02:00
Bram Moolenaar
a540f8aa3b
patch 8.1.1527: when moving popup window over the cmdline it is not redrawn
...
Problem: When moving a popup window over the command line it is not
redrawn.
Solution: Redraw the command line. Move popup redrawing code to the popupwin
file.
2019-06-14 19:23:57 +02:00
Bram Moolenaar
b53fb31a1e
patch 8.1.1525: cannot move a popup window with the mouse
...
Problem: Cannot move a popup window with the mouse.
Solution: Add the "drag" property and make it possible to drag a popup
window by its border.
2019-06-13 23:59:52 +02:00
Bram Moolenaar
8d24104031
patch 8.1.1523: cannot show range of buffer lines in popup window
...
Problem: Cannot show range of buffer lines in popup window.
Solution: Add the "firstline" property. (closes #4523 )
2019-06-12 23:40:01 +02:00
Bram Moolenaar
68d48f40a4
patch 8.1.1522: poup_notification() not implemented yet
...
Problem: Popup_notification() not implemented yet.
Solution: Implement it.
2019-06-12 22:42:41 +02:00
Bram Moolenaar
451d4b5b7c
patch 8.1.1520: popup windows are ignored when dealing with mouse position
...
Problem: Popup windows are ignored when dealing with mouse position
Solution: Find the mouse position inside a popup window. Allow for modeless
selection.
2019-06-12 20:22:27 +02:00
Bram Moolenaar
4c063a0dab
patch 8.1.1517: when a popup changes all windows are redrawn
...
Problem: When a popup changes all windows are redrawn.
Solution: Only update the lines that were affected. Add a file for
profiling popup windows efficiency.
2019-06-10 21:24:12 +02:00
Bram Moolenaar
3ff5f0f05d
patch 8.1.1513: all popup functionality is in functions, except :popupclear
...
Problem: All popup functionality is in functions, except :popupclear.
Solution: Add popup_clear() for consistency. Also rename sound_stopall() to
sound_clear().
2019-06-10 13:11:22 +02:00
Bram Moolenaar
acc682bd7c
patch 8.1.1496: popup window height is not recomputed
...
Problem: Popup window height is not recomputed.
Solution: Recompute the height when needed.
2019-06-08 17:15:51 +02:00
Bram Moolenaar
33796b39b9
patch 8.1.1493: redrawing with popups is slow and causes flicker
...
Problem: Redrawing with popups is slow and causes flicker.
Solution: Avoid clearing and redrawing using a zindex mask.
2019-06-08 16:01:13 +02:00
Bram Moolenaar
1762731f20
patch 8.1.1455: popup_atcursor() not completely implemented
...
Problem: Popup_atcursor() not completely implemented.
Solution: Add the default for the "moved" property.
2019-06-02 19:53:44 +02:00
Bram Moolenaar
3397f74ac2
patch 8.1.1453: popup window "moved" property not implemented yet
...
Problem: Popup window "moved" property not implemented yet.
Solution: Implement it.
2019-06-02 18:40:06 +02:00
Bram Moolenaar
b0ebbda06c
patch 8.1.1452: line and col property of popup windows not properly checked
...
Problem: Line and col property of popup windows not properly checked.
Solution: Check for "+" or "-" sign.
2019-06-02 16:51:21 +02:00
Bram Moolenaar
399d898ac1
patch 8.1.1450: popup window positioning wrong when using padding or borders
...
Problem: Popup window positioning wrong when using padding or borders.
Solution: Fix computing the position.
2019-06-02 15:34:29 +02:00
Bram Moolenaar
042fb4b449
patch 8.1.1449: popup text truncated at end of screen
...
Problem: Popup text truncated at end of screen.
Solution: Move popup left if needed. Add the "fixed" property to disable
that. (Ben Jackson , closes #4466 )
2019-06-02 14:49:56 +02:00
Bram Moolenaar
7b29dd8507
patch 8.1.1447: not allowed to create an empty popup
...
Problem: Not allowed to create an empty popup.
Solution: Remove restriction that there is some text. (closes #4470 )
2019-06-02 13:22:11 +02:00
Bram Moolenaar
9eaac89650
patch 8.1.1446: popup window callback not implemented yet
...
Problem: Popup window callback not implemented yet.
Solution: Implement the callback.
2019-06-01 22:49:29 +02:00
Bram Moolenaar
790498b509
patch 8.1.1445: popup window border highlight not implemented yet
...
Problem: Popup window border highlight not implemented yet.
Solution: Implement the "borderhighlight" option.
2019-06-01 22:15:29 +02:00
Bram Moolenaar
2fd8e35e16
patch 8.1.1443: popup window padding and border not implemented yet
...
Problem: Popup window padding and border not implemented yet.
Solution: Implement padding and border. Add core position and size to
popup_getpos().
2019-06-01 20:16:48 +02:00
Bram Moolenaar
bf0eff0b72
patch 8.1.1441: popup window filter not yet implemented
...
Problem: Popup window filter not yet implemented.
Solution: Implement the popup filter.
2019-06-01 17:13:36 +02:00
Bram Moolenaar
815b76bff6
patch 8.1.1438: some commands cause trouble in a popup window
...
Problem: Some commands cause trouble in a popup window.
Solution: Add NOT_IN_POPUP_WINDOW.
2019-06-01 14:15:52 +02:00
Bram Moolenaar
3a97bb3f0f
patch 8.1.1437: code to handle callbacks is duplicated
...
Problem: Code to handle callbacks is duplicated.
Solution: Add callback_T and functions to deal with it.
2019-06-01 13:28:35 +02:00
Bram Moolenaar
c6896e20f8
patch 8.1.1431: popup window listed as "Scratch"
...
Problem: Popup window listed as "Scratch".
Solution: List them as "Popup".
2019-05-30 22:32:34 +02:00
Bram Moolenaar
402502d0e4
patch 8.1.1430: popup window option "wrap" not supported
...
Problem: Popup window option "wrap" not supported.
Solution: Implement it.
2019-05-30 22:07:36 +02:00