Bram Moolenaar
cf0995d7d7
patch 9.0.0447: using :echowin while at the hit-enter prompt causes problems
...
Problem: Using :echowin while at the hit-enter prompt causes problems.
Solution: Do not prompt for :echowin. Postpone showing the message window.
Start the timer when the window is displayed.
2022-09-11 21:36:17 +01:00
Bram Moolenaar
87e74d0e03
patch 9.0.0446: message window may be positioned too low
...
Problem: Message window may be positioned too low.
Solution: Compute cmdline_row before computing the position.
2022-09-11 20:12:15 +01:00
Bram Moolenaar
7cf5839287
patch 9.0.0431: current mode shows in message window
...
Problem: Current mode shows in message window.
Solution: Reset in_echowindow before redrawing. (issue #11094 )
2022-09-09 20:19:40 +01:00
Yegappan Lakshmanan
8deb2b30c7
patch 9.0.0359: error message for wrong argument type is not specific
...
Problem: Error message for wrong argument type is not specific.
Solution: Include more information in the error. (Yegappan Lakshmanan,
closes #11037 )
2022-09-02 15:15:27 +01:00
Bram Moolenaar
b5b4f61cf1
patch 9.0.0351: message window may obscure the command line
...
Problem: Message window may obscure the command line.
Solution: Reduce the maximum height of the message window.
2022-09-01 16:43:17 +01:00
Bram Moolenaar
7d7ad7b2e8
patch 9.0.0350: :echowindow does not work in a compiled function
...
Problem: :echowindow does not work in a compiled function.
Solution: Handle the expression at compile time.
2022-09-01 16:00:53 +01:00
Bram Moolenaar
a2a8973e51
patch 9.0.0340: the 'cmdheight' zero support causes too much trouble
...
Problem: The 'cmdheight' zero support causes too much trouble.
Solution: Revert support for 'cmdheight' being zero.
2022-08-31 14:46:18 +01:00
Yegappan Lakshmanan
04c4c5746e
patch 9.0.0335: checks for Dictionary argument often give a vague error
...
Problem: Checks for Dictionary argument often give a vague error message.
Solution: Give a useful error message. (Yegappan Lakshmanan, closes #11009 )
2022-08-30 19:48:24 +01:00
Bram Moolenaar
37fef16c22
patch 9.0.0321: cannot use the message popup window directly
...
Problem: Cannot use the message popup window directly.
Solution: Add ":echowindow".
2022-08-29 18:16:32 +01:00
Bram Moolenaar
b13d3405ff
patch 9.0.0317: when updating the whole screen a popup may not be redrawn
...
Problem: When updating the whole screen a popup may not be redrawn.
Solution: Mark the screen and windows for redraw also when not clearing.
Also mark popup windows for redraw.
2022-08-29 13:44:28 +01:00
Bram Moolenaar
35a4fbc5d0
patch 9.0.0296: message in popup is shortened unnecessary
...
Problem: Message in popup is shortened unnecessary.
Solution: Do not use 'showcmd' and 'ruler' for a message in the popup.
Set the timer when unhiding the message popup.
2022-08-28 14:39:53 +01:00
Bram Moolenaar
43568648df
patch 9.0.0294: crash when 'cmdheight' is 0 and popup_clear() used
...
Problem: Crash when 'cmdheight' is 0 and popup_clear() used.
Solution: Reset "message_win" when the message popup is cleared. Close the
popup when 'cmdheight' is non-zero. Add a screendump test.
2022-08-28 13:02:45 +01:00
Bram Moolenaar
9198de3ae2
patch 9.0.0288: when 'cmdheight' is zero some messages are not displayed
...
Problem: When 'cmdheight' is zero some messages are not displayed.
Solution: Use a popup notification window.
2022-08-27 21:30:03 +01:00
Bram Moolenaar
a4d158b3c8
patch 9.0.0206: redraw flags are not named specifically
...
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-14 14:17:45 +01:00
Bram Moolenaar
113d9dec99
patch 9.0.0170: various minor code formatting issues
...
Problem: Various minor code formatting issues.
Solution: Improve code formatting.
2022-08-08 15:49:18 +01:00
Bram Moolenaar
7f9969c559
patch 9.0.0067: cannot show virtual text
...
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
2022-07-25 18:13:54 +01:00
Bram Moolenaar
d61efa50f8
patch 9.0.0063: too many type casts for dict_get functions
...
Problem: Too many type casts for dict_get functions.
Solution: Change the key argument from "char_u *" to "char *".
2022-07-23 09:52:04 +01:00
Bram Moolenaar
8088ae95bb
patch 8.2.5138: various small issues
...
Problem: Various small issues.
Solution: Various small improvments.
2022-06-20 11:38:17 +01:00
Bram Moolenaar
10db31f949
patch 8.2.5045: can escape a terminal popup window when the job is finished
...
Problem: Can escape a terminal popup window when the job is finished.
Solution: Only check for a finished job where it is relevant.
(closes #10253 )
2022-05-30 17:58:03 +01:00
Bram Moolenaar
89b25585cc
patch 8.2.5042: scrollbar thumb in tall scrolled popup not visible
...
Problem: Scrollbar thumb in tall scrolled popup not visible.
Solution: Show at least one thumb character. (fixes 10492)
2022-05-30 13:20:56 +01:00
Bram Moolenaar
fc376e0b1a
patch 8.2.5040: scrollbar thumb in scrolled popup not visible
...
Problem: Scrollbar thumb in scrolled popup not visible.
Solution: Show at least one thumb character. (fixes 10492)
2022-05-29 18:18:18 +01:00
Bram Moolenaar
83bd7a9740
patch 8.2.5039: confusing error if first argument of popup_create() is wrong
...
Problem: Confusing error if first argument of popup_create() is wrong.
Solution: Give a more informative error.
2022-05-29 17:13:24 +01:00
Bram Moolenaar
d28950f954
patch 8.2.5038: a finished terminal in a popup window does not show scrollbar
...
Problem: A finished terminal in a popup window does not show a scrollbar.
Solution: Show the scrollbar if the terminal job is finished. (closes
#10497 )
2022-05-29 14:13:04 +01:00
Bram Moolenaar
27724251bc
patch 8.2.4913: popup_hide() does not always have effect
...
Problem: Popup_hide() does not always have effect.
Solution: Add the POPF_HIDDEN_FORCE flag. (closes #10376 )
2022-05-08 15:00:04 +01:00
LemonBoy
0044e5100a
patch 8.2.4799: popup does not use correct topline
...
Problem: Popup does not use correct topline.
Solution: Also add one when firstline is negative. (closes #10229 )
2022-04-20 19:47:37 +01:00
Bram Moolenaar
188639d75c
patch 8.2.4685: when a swap file is found for a popup there is no dialog
...
Problem: When a swap file is found for a popup there is no dialog and the
buffer is loaded anyway.
Solution: Silently load the buffer read-only. (closes #10073 )
2022-04-04 16:57:21 +01:00
Yegappan Lakshmanan
4829c1c9e9
patch 8.2.4683: verbose check with dict_find() to see if a key is present
...
Problem: Verbose check with dict_find() to see if a key is present.
Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074 )
2022-04-04 15:16:54 +01:00
Yegappan Lakshmanan
0dac1ab579
patch 8.2.4668: buffer allocation failures insufficiently tested
...
Problem: Buffer allocation failures insufficiently tested.
Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan,
closes #10064 )
2022-04-02 21:46:19 +01:00
Bram Moolenaar
eabddc425e
patch 8.2.4665: popup with "minwidth" and scrollbar not updated properly
...
Problem: Popup with "minwidth" and scrollbar not updated properly.
Solution: Adjust the computation if the window width. (closes #10061 )
2022-04-02 15:32:16 +01:00
Bram Moolenaar
f8e43f6107
patch 8.2.4619: mapping is cancelled when mouse moves and popup is visible
...
Problem: Mapping is cancelled when mouse moves and popup is visible.
Solution: Only generate mouse moved events when a popup may use them.
(closes #10004 )
2022-03-24 15:15:15 +00:00
Bram Moolenaar
977525fea6
patch 8.2.4569: Coverity warning for not using a return value
...
Problem: Coverity warning for not using a return value.
Solution: Add "(void)".
2022-03-15 10:22:39 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
d5cec1f1f0
patch 8.2.4255: theoretical computation overflow
...
Problem: Theoretical computation overflow.
Solution: Perform multiplication in a wider type. (closes #9657 )
2022-01-29 15:19:23 +00:00
Bram Moolenaar
11de43d2d4
patch 8.2.4022: two error messages in the wrong file
...
Problem: Two error messages in the wrong file.
Solution: Use the error message from errors.h.
2022-01-06 21:41:11 +00:00
Bram Moolenaar
9d00e4a814
patch 8.2.4010: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-05 17:49:15 +00:00
Bram Moolenaar
b09feaa86e
patch 8.2.3986: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 20:20:45 +00:00
Bram Moolenaar
460ae5dfca
patch 8.2.3967: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 14:19:49 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
James McCoy
a80aad7174
patch 8.2.3874: cannot highlight the number column for a sign
...
Problem: Cannot highlight the number column for a sign.
Solution: Add the "numhl" argument. (James McCoy, closes #9381 )
2021-12-22 19:45:28 +00:00
Bram Moolenaar
e50507126f
patch 8.2.3763: when editing the cmdline a callback may cause a scroll up
...
Problem: When editing the command line a FocusLost callback may cause the
screen to scroll up.
Solution: Do not redraw at the last line but at the same place where the
command line was before. (closes #9295 )
2021-12-09 10:51:05 +00:00
Bram Moolenaar
40bcec1bac
patch 8.2.3750: error messages are everywhere
...
Problem: Error messages are everywhere.
Solution: Move more error messages to errors.h and adjust the names.
2021-12-05 22:19:27 +00:00
Bram Moolenaar
0b74d00693
patch 8.2.3697: cannot drag a popup without a border
...
Problem: Cannot drag a popup without a border.
Solution: Add the "dragall" option. (closes #9218 )
2021-11-29 17:38:02 +00:00
Bram Moolenaar
e413ea04b7
patch 8.2.3664: cannot adjust sign highlighting for 'cursorline'
...
Problem: Cannot adjust sign highlighting for 'cursorline'.
Solution: Add CursorLineSign and CursorLineFold highlight groups.
(Gregory Anders, closes #9201 )
2021-11-24 16:20:13 +00:00
Bram Moolenaar
87fd0924e2
patch 8.2.3628: looking terminal colors is a bit slow
...
Problem: Looking terminal colors is a bit slow.
Solution: Cache the terminal colors. (closes #9130 , closes #9058 )
2021-11-20 13:47:45 +00:00
Bakudankun
6555500bcf
patch 8.2.3614: zindex of popup windows not used when redrawing popup menu
...
Problem: zindex of popup windows not used when redrawing popup menu.
Solution: Check the zindex when redrawing the popup menu. (closes #9129 ,
closes #9089 )
2021-11-17 20:40:16 +00:00
Yegappan Lakshmanan
733b124a90
patch 8.2.3596: crash when using :pedit in Vim9 script
...
Problem: Crash when using :pedit in Vim9 script.
Solution: Move check for arguments to after checking there are arguments.
(Yegappan Lakshmanan, closes #9134 , closes #9135 )
2021-11-15 11:22:09 +00:00
rbtnn
c611941c60
patch 8.2.3304: popup window title with wide characters is truncated
...
Problem: Popup window title with wide characters is truncated.
Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino,
closes #8721 )
2021-08-07 13:08:45 +02:00
Yegappan Lakshmanan
4490ec4e83
patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
...
Problem: Vim9: runtime and compile time type checks are not the same.
Solution: Add more runtime type checks for builtin functions. (Yegappan
Lakshmanan, closes #8646 )
2021-07-27 22:00:44 +02:00
Yegappan Lakshmanan
a764e73d4f
patch 8.2.3221: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632 )
2021-07-25 15:57:32 +02:00
Yegappan Lakshmanan
0ad871dc4d
patch 8.2.3206: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611 )
2021-07-23 20:37:56 +02:00
Bram Moolenaar
9bb0dad0d8
patch 8.2.3187: Vim9: popup timer callback is not compiled
...
Problem: Vim9: popup timer callback is not compiled.
Solution: Compile the callback when creating the timer.
2021-07-19 22:19:29 +02:00