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
Bram Moolenaar
ac1f1bc222
patch 8.1.1429: "pos" option of popup window not supported yet
...
Problem: "pos" option of popup window not supported yet.
Solution: Implement the option. Rename popup_getposition() to
popup_getpos().
2019-05-30 21:24:26 +02:00
Bram Moolenaar
cc31ad9f9b
patch 8.1.1428: popup_atcursor() not implemented yet
...
Problem: Popup_atcursor() not implemented yet.
Solution: Implement it. (Yasuhiro Matsumoto, closes #4456 )
2019-05-30 19:25:06 +02:00
Bram Moolenaar
54fabd4b5e
patch 8.1.1427: popup window screenshot test fails
...
Problem: Popup window screenshot test fails.
Solution: Add missing change to popup window code.
2019-05-30 19:03:22 +02:00
Bram Moolenaar
cacc6a5c98
patch 8.1.1423: popup windows use options from current window and buffer
...
Problem: Popup windows use options from current window and buffer.
Solution: Clear all local options when creating a popup window.
2019-05-30 15:22:43 +02:00
Bram Moolenaar
8c2a600f72
patch 8.1.1422: popup_getoptions() not implemented yet
...
Problem: Popup_getoptions() not implemented yet.
Solution: Implement it. (closes #4452 )
2019-05-30 14:29:45 +02:00
Bram Moolenaar
1714696600
patch 8.1.1421: drawing "~" line in popup window
...
Problem: Drawing "~" line in popup window.
Solution: Just draw text in the last line of the popup window.
2019-05-30 00:12:11 +02:00
Bram Moolenaar
88c4e1f069
patch 8.1.1420: popup window size only uses first line length
...
Problem: Popup window size only uses first line length.
Solution: Use the longest line. (Ben Jackson, closes #4451 ) Also deal with
wrapping lines.
2019-05-29 23:14:28 +02:00
Bram Moolenaar
868b7b6712
patch 8.1.1418: win_execute() is not implemented yet
...
Problem: Win_execute() is not implemented yet.
Solution: Implement it.
2019-05-29 21:44:40 +02:00
Bram Moolenaar
bc133543b8
patch 8.1.1416: popup_getposition() not implemented yet
...
Problem: Popup_getposition() not implemented yet.
Solution: Implement it. (Yasuhiro Matsumoto, closes #4449 )
2019-05-29 20:26:46 +02:00
Bram Moolenaar
60cdb3004a
patch 8.1.1410: popup_move() is not implemented yet
...
Problem: Popup_move() is not implemented yet.
Solution: Implement it. (Yasuhiro Matsumoto, closes #4441 ) Improve the
positioning and resizing.
2019-05-27 21:54:10 +02:00
Bram Moolenaar
bf0ecb2cb6
patch 8.1.1408: PFL_HIDDEN conflicts with system header file
...
Problem: PFL_HIDDEN conflicts with system header file.
Solution: Rename to POPF_HIDDEN.
2019-05-27 10:04:40 +02:00
Bram Moolenaar
7a8d0278bd
patch 8.1.1407: popup_create() does not support text properties
...
Problem: Popup_create() does not support text properties.
Solution: Support the third form of the text argument.
2019-05-26 23:32:06 +02:00
Bram Moolenaar
2cd0dce898
patch 8.1.1406: popup_hide() and popup_show() not implemented yet
...
Problem: popup_hide() and popup_show() not implemented yet.
Solution: Implement the functions.
2019-05-26 22:17:52 +02:00
Bram Moolenaar
20c023aee0
patch 8.1.1405: "highlight" option of popup windows not supported
...
Problem: "highlight" option of popup windows not supported.
Solution: Implement the "highlight" option.
2019-05-26 21:03:24 +02:00
Bram Moolenaar
35d5af6c0b
patch 8.1.1403: cannot build without the timer feature
...
Problem: Cannot build without the timer feature.
Solution: Add #ifdef.
2019-05-26 20:44:10 +02:00