Bram Moolenaar
3b849af90a
patch 8.1.1658: debug statements included in patch
...
Problem: Debug statements included in patch.
Solution: Remove the debug statements.
2019-07-10 16:15:04 +02:00
Bram Moolenaar
7ba343e634
patch 8.1.1657: Terminal: screen updates from 'balloonexpr' are not displayed
...
Problem: Terminal: screen updates from 'balloonexpr' are not displayed.
Solution: Update the screen if needed. Fix the word position for
"mousemoved".
2019-07-09 23:22:15 +02:00
Bram Moolenaar
e089c3fd69
patch 8.1.1656: popup window width is wrong when using Tabs
...
Problem: Popup window width is wrong when using Tabs. (Paul Jolly)
Solution: Count tabs correctly. (closes #4637 )
2019-07-09 20:25:25 +02:00
Bram Moolenaar
3e35d05b1f
patch 8.1.1649: Illegal memory access when closing popup window
...
Problem: Illegal memory access when closing popup window.
Solution: Get w_next before closing the window.
2019-07-07 20:43:34 +02:00
Bram Moolenaar
b3d17a20d2
patch 8.1.1645: cannot use a popup window for a balloon
...
Problem: Cannot use a popup window for a balloon.
Solution: Add popup_beval(). Add the "mousemoved" property. Add the
screenpos() function.
2019-07-07 18:28:14 +02:00
Bram Moolenaar
437a746b4c
patch 8.1.1636: crash when popup has fitting scrollbar
...
Problem: Crash when popup has fitting scrollbar. (Trygve Aaberge)
Solution: Don't divide by zero if the scrollbar just fits. (closes #4615 )
2019-07-05 20:17:22 +02:00
Bram Moolenaar
e296e3177b
patch 8.1.1622: wrong width if displaying a lot of lines in a popup window
...
Problem: Wrong width if displaying a lot of lines in a popup window.
Solution: Accurately compute the line overflow.
2019-07-03 23:20:18 +02:00
Bram Moolenaar
ba45f1f4fb
patch 8.1.1620: no test for popup window with border and mask
...
Problem: No test for popup window with border and mask.
Solution: Add this popup window, fix problems.
2019-07-03 22:50:41 +02:00
Bram Moolenaar
d529ba58dc
patch 8.1.1617: no test for popup window with mask and position fixed
...
Problem: No test for popup window with mask and position fixed.
Solution: Add a couple of screenshots. Fix deteced problems.
2019-07-02 23:13:53 +02:00
Bram Moolenaar
7866b87958
patch 8.1.1615: crash when passing buffer number to popup_create()
...
Problem: Crash when passing buffer number to popup_create(). (Yasuhiro
Matsumoto)
Solution: Initialze the window properly.
2019-07-01 22:21:01 +02:00
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