Bram Moolenaar
4f57eefe1e
patch 8.1.1922: in diff mode global operations can be very slow
...
Problem: In diff mode global operations can be very slow.
Solution: Do not call diff_redraw() many times, call it once when redrawing.
And also don't update folds multiple times.
2019-08-24 20:54:19 +02:00
Bram Moolenaar
e2c453d38f
patch 8.1.1901: the +insert_expand feature is not always available
...
Problem: The +insert_expand feature is not always available.
Solution: Graduate the +insert_expand feature.
2019-08-21 14:37:09 +02:00
Bram Moolenaar
62a0cb443c
patch 8.1.1882: cannot specify properties of the info popup window
...
Problem: Cannot specify properties of the info popup window.
Solution: Add the 'completepopup' option. Default to PmenuSel highlight.
2019-08-18 16:35:23 +02:00
Bram Moolenaar
69cbbecf54
patch 8.1.1868: multi-byte chars in 'listchars' fail with 'linebreak' set
...
Problem: Multibyte characters in 'listchars' don't work correctly if
'linebreak' is also enabled. (Martin Tournoij)
Solution: Make it work correctly. (Christian Brabandt, closes #4822 ,
closes #4812 )
2019-08-17 14:10:56 +02:00
Bram Moolenaar
6ace95e981
patch 8.1.1845: may use NULL pointer when running out of memory
...
Problem: May use NULL pointer when running out of memory.
Solution: Do not clear popup buffers when NULL. (closes #4802 )
2019-08-13 23:09:49 +02:00
Bram Moolenaar
c363fe1599
patch 8.1.1811: popup window color cannot be set to "Normal"
...
Problem: Popup window color cannot be set to "Normal".
Solution: Check for non-empty 'wincolor' instead of zero attribute.
(closes #4772 )
2019-08-04 18:13:46 +02:00
Bram Moolenaar
13d5c3f616
patch 8.1.1773: the preview popup window may be too far to the right
...
Problem: The preview popup window may be too far to the right.
Solution: Keep it inside the screen. Also keep the close button and
scrollbar visible if possible.
2019-07-28 21:42:38 +02:00
Bram Moolenaar
fbfb757d4c
patch 8.1.1747: compiler warning for unused variables
...
Problem: Compiler warning for unused variables. (Tony Mechelynck)
Solution: Add #ifdef.
2019-07-25 20:53:03 +02:00
Bram Moolenaar
07d1356648
patch 8.1.1744: build error without the conceal feature
...
Problem: Build error without the conceal feature.
Solution: Define variables also without the conceal feature.
2019-07-24 18:43:08 +02:00
Bram Moolenaar
bbca7732e8
patch 8.1.1743: 'hlsearch' and match highlighting in the wrong place
...
Problem: 'hlsearch' and match highlighting in the wrong place.
Solution: Move highlighting from inside screen functions to highlight.c.
2019-07-24 18:13:16 +02:00
Bram Moolenaar
b4fe0eb4b4
patch 8.1.1724: too much overhead checking for CTRL-C while processing text
...
Problem: Too much overhead checking for CTRL-C while processing text.
Solution: Increase BREAKCHECK_SKIP. Remove the difference for when built
with the GUI. (suggested by Andy Massimino, closes #4708 )
2019-07-21 14:50:21 +02:00
Bram Moolenaar
cb5ff34c1b
patch 8.1.1718: popup menu highlighting does not look good
...
Problem: Popup menu highlighting does not look good.
Solution: Highlight the whole window line. Fix that sign line HL is not
displayed in a window with a background color.
2019-07-20 16:51:19 +02:00
Bram Moolenaar
f914a33c9c
patch 8.1.1717: last char in menu popup window highlighted
...
Problem: Last char in menu popup window highlighted.
Solution: Do not highlight an extra character twice.
2019-07-20 15:09:56 +02:00
Bram Moolenaar
d6bcff4577
patch 8.1.1712: signs in number column cause text to be misaligned
...
Problem: Signs in number column cause text to be misaligned.
Solution: Improve alignment. (Yasuhiro Matsumoto, closes #4694 )
2019-07-18 12:48:16 +02:00
Bram Moolenaar
ec572ad6a6
patch 8.1.1642: may use uninitialized variable
...
Problem: May use uninitialized variable. (Patrick Palka)
Solution: Initialize variables earlier. (closes #4623 )
2019-07-07 14:26:59 +02:00
Bram Moolenaar
b4d9b893d3
patch 8.1.1635: warnings for unused variables in small version
...
Problem: Warnings for unused variables in small version. (John Marriott)
Solution: Adjust #ifdefs.
2019-07-04 22:59:06 +02:00
Bram Moolenaar
4e038571aa
patch 8.1.1631: displaying signs is inefficient
...
Problem: Displaying signs is inefficient.
Solution: Avoid making multiple calls to get information about a placed
sign. (Yegappan Lakshmanan, closes #4586 )
2019-07-04 18:28:35 +02:00
Bram Moolenaar
e4b407f536
patch 8.1.1623: display wrong with signs in narrow number column
...
Problem: Display wrong with signs in narrow number column.
Solution: Increase the numbercolumn width if needed. (Yegappan Lakshmanan,
closes #4606 )
2019-07-04 11:59:28 +02:00
Bram Moolenaar
f8a0712655
patch 8.1.1614: 'numberwidth' can only go up to 10
...
Problem: 'numberwidth' can only go up to 10.
Solution: Allow up to 20. (Charlie Stanton, closes #4584 )
2019-07-01 22:06:07 +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
d74af4227b
patch 8.1.1603: crash when using unknown highlighting in text property
...
Problem: Crash when using unknown highlighting in text property.
Solution: Check for zero highlight ID.
2019-06-28 21:38:00 +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
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
e9726e31fe
patch 8.1.1572: compiler warnings with tiny build
...
Problem: Compiler warnings with tiny build. (Tony Mechelynck)
Solution: Add #ifdef.
2019-06-19 18:01:21 +02:00
Bram Moolenaar
a956bf6ca3
patch 8.1.1571: textprop highlight starts too early if just after a tab
...
Problem: textprop highlight starts too early if just after a tab.
Solution: Check if still drawing a previous character. (closes #4558 )
2019-06-19 17:34:24 +02:00
Bram Moolenaar
4dff4aed09
patch 8.1.1570: icon signs not displayed properly in the number column
...
Problem: Icon signs not displayed properly in the number column.
Solution: Display them properly. (Yegappan Lakshmanan, closes #4559 )
2019-06-19 16:31:28 +02:00
Bram Moolenaar
bf8c3adef2
patch 8.1.1569: cannot build with signs but without diff feature
...
Problem: Cannot build with signs but without diff feature.
Solution: Move #ifdef. (Tom Ryder)
2019-06-19 14:28:43 +02:00
Bram Moolenaar
394c5d8870
patch 8.1.1564: sign column takes up space
...
Problem: Sign column takes up space. (Adam Stankiewicz)
Solution: Optionally put signs in the number column. (Yegappan Lakshmanan,
closes #4555 , closes #4515 )
2019-06-17 21:48:05 +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
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
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
202d982b36
patch 8.1.1518: crash when setting 'columns' while a popup is visible
...
Problem: Crash when setting 'columns' while a popup is visible.
Solution: Recompute all positions when clearing the screen. (closes #4467 )
2019-06-11 21:56:30 +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
ac2450a9a8
patch 8.1.1511: matches in a popup window are not displayed properly
...
Problem: Matches in a popup window are not displayed properly.
Solution: Do display matches in a popup window. (closes #4517 )
2019-06-09 18:04:28 +02:00
Bram Moolenaar
24a5ac5d4d
patch 8.1.1499: ruler not updated after popup window was removed
...
Problem: Ruler not updated after popup window was removed.
Solution: use popup_mask in screen_puts().
2019-06-08 19:01:18 +02:00
Bram Moolenaar
aef5c62a6f
patch 8.1.1497: accessing memory beyond allocated space
...
Problem: Accessing memory beyond allocated space.
Solution: Check column before accessing popup mask.
2019-06-08 17:25:33 +02:00
Bram Moolenaar
1748c7f77e
patch 8.1.1495: memory access error
...
Problem: Memory access error.
Solution: Use the correct size for clearing the popup mask.
2019-06-08 16:55:15 +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
02e15072be
patch 8.1.1460: popup window border characters may be wrong
...
Problem: Popup window border characters may be wrong.
Solution: Reset the border characters for each popup. Correct use of
'ambiwidth'.
2019-06-03 22:53:30 +02:00
Bram Moolenaar
3f6aeba18b
patch 8.1.1459: popup window border looks bad when 'ambiwidth' is "double"
...
Problem: Popup window border looks bad when 'ambiwidth' is "double".
(Yasuhiro Matsumoto)
Solution: Only use line drawing characters when 'ambiwidth' is "single".
(Ken Takata, closes #4477 )
2019-06-03 22:21:27 +02:00
Bram Moolenaar
0b4c9eddb5
patch 8.1.1458: crash when using gtags
...
Problem: Crash when using gtags. (issue #4102 )
Solution: Check for negative row or col in screen_puts_len(). (Christian
Brabandt)
2019-06-03 22:04:23 +02:00
Bram Moolenaar
98fb65cb05
patch 8.1.1456: WinBar not redrawn after scrolling one line
...
Problem: WinBar not redrawn after scrolling one line.
Solution: Exclude the winbar height when deciding what to redraw.
(closes #4473 )
2019-06-02 20:33:32 +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
ca2f7037c1
patch 8.1.1451: CTRL-L does not clear screen with a popup window
...
Problem: CTRL-L does not clear screen with a popup window.
Solution: Do not change the type to NOT_VALID. Redraw all windows.
(closes #4471 )
2019-06-02 15:56:15 +02:00
Bram Moolenaar
988c43310a
patch 8.1.1448: statusline is sometimes drawn on top of popup
...
Problem: Statusline is sometimes drawn on top of popup.
Solution: Redraw popups after the statusline. (Naruhiko Nishino,
closes #4468 )
2019-06-02 14:12:11 +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
3bfd04e672
patch 8.1.1444: not using double line characters for popup border
...
Problem: Not using double line characters for popup border.
Solution: Use double line characters if using utf-8.
2019-06-01 20:45:21 +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
8caaf82569
patch 8.1.1442: popup windows not considered when the Vim window is resized
...
Problem: Popup windows not considered when the Vim window is resized.
(Ben Jackson)
Solution: Reallocate the w_lines structure. (closes #4467 )
2019-06-01 18:11:22 +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