Bram Moolenaar [Tue, 9 Jun 2020 13:57:37 +0000 (15:57 +0200)]
patch 8.2.0936: some terminals misinterpret the code for getting cursor style
Problem: Some terminals misinterpret the code for getting cursor style.
Solution: Send a sequence to the terminal and check the result. (IWAMOTO
Kouichi, closes #2126) Merged with current code.
Bram Moolenaar [Mon, 8 Jun 2020 17:35:59 +0000 (19:35 +0200)]
patch 8.2.0934: lhelpgrep twice in help window doesn't jump to the help topic
Problem: Running lhelpgrep twice in a help window doesn't jump to the help
topic.
Solution: Check whether any window with the location list is present.
(Yegappan Lakshmanan, closes #6215)
Bram Moolenaar [Sun, 7 Jun 2020 19:31:18 +0000 (21:31 +0200)]
patch 8.2.0929: v:register is not cleared after an operator was executed
Problem: v:register is not cleared after an operator was executed.
Solution: Clear v:register after finishing an operator (Andy Massimino,
closes #5305)
Bram Moolenaar [Sun, 7 Jun 2020 18:49:05 +0000 (20:49 +0200)]
patch 8.2.0928: many type casts are used for vim_strnsave()
Problem: Many type casts are used for vim_strnsave().
Solution: Make the length argument size_t instead of int. (Ken Takata,
closes #5633) Remove some type casts.
Bram Moolenaar [Sun, 7 Jun 2020 15:03:21 +0000 (17:03 +0200)]
patch 8.2.0921: CTRL-W T in cmdline window causes trouble
Problem: CTRL-W T in cmdline window causes trouble.
Solution: Disallow CTRL-W T in the cmdline window. Add more tests.
(Naruhiko Nishino, closes #6219)
Bram Moolenaar [Sat, 6 Jun 2020 20:36:24 +0000 (22:36 +0200)]
patch 8.2.0916: mapping with partly modifyOtherKeys code does not work
Problem: Mapping with partly modifyOtherKeys code does not work.
Solution: If there is no mapping with a separate modifier include the
modifier in the key and then try mapping again. (closes #6200)
Bram Moolenaar [Sat, 6 Jun 2020 13:14:08 +0000 (15:14 +0200)]
patch 8.2.0911: crash when opening a buffer for the cmdline window fails
Problem: Crash when opening a buffer for the cmdline window fails. (Chris
Barber)
Solution: Check do_ecmd() succeeds. Reset got_int if "q" was used at the
more prompt. (closes #6211)
Bram Moolenaar [Fri, 5 Jun 2020 21:16:29 +0000 (23:16 +0200)]
patch 8.2.0910: Vim is not reproducibly buildable
Problem: Vim is not reproducibly buildable.
Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure.
(James McCoy, closes #513) Give a warning about using it.
Bram Moolenaar [Fri, 5 Jun 2020 18:03:16 +0000 (20:03 +0200)]
patch 8.2.0907: when using :global clipboard isn't set correctly
Problem: When using :global clipboard isn't set correctly.
Solution: Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian
Brabandt, closes #6203, closes #6198)
Bram Moolenaar [Fri, 5 Jun 2020 17:36:57 +0000 (19:36 +0200)]
patch 8.2.0906: when setting 'termguicolors' SpellBad is no longer red
Problem: When setting 'termguicolors' SpellBad is no longer red.
Solution: Only use the RGB guisp color for cterm when using the "underline"
or "undercurl" attributes to avoid the background color to be
cleared. Also make t_8u empty when the termresponse indicates a
real xterm. (closes #6207)
Bram Moolenaar [Wed, 3 Jun 2020 20:15:45 +0000 (22:15 +0200)]
patch 8.2.0895: :mkspell output does not mention the tree type
Problem: :mkspell output does not mention the tree type.
Solution: Back out increasing the limits, it has no effect. Mention the
tree being compressed. Only give a message once per second.
Bram Moolenaar [Wed, 3 Jun 2020 18:51:11 +0000 (20:51 +0200)]
patch 8.2.0894: :mkspell can take very long if the word count is high
Problem: :mkspell can take very long if the word count is high.
Solution: Use long to avoid negative numbers. Increase the limits by 20% if
the compression did not have effect.
Bram Moolenaar [Mon, 1 Jun 2020 13:05:19 +0000 (15:05 +0200)]
patch 8.2.0874: signals test is a bit flaky
Problem: Signals test is a bit flaky.
Solution: Flush the XautoOut file. Delete files that may be left behind
from a failure. (Dominique Pelle, closes #6179)
Bram Moolenaar [Mon, 1 Jun 2020 12:14:44 +0000 (14:14 +0200)]
patch 8.2.0871: cannot use getmarklist() as a method
Problem: Cannot use getmarklist() as a method.
Solution: Make getmarklist() work as a method. Add one to the column
number to match getpos(). (Yegappan Lakshmanan, closes #6176)
Bram Moolenaar [Sun, 31 May 2020 20:06:51 +0000 (22:06 +0200)]
patch 8.2.0867: using \{xxx} for encoding a modifier is not nice
Problem: Using \{xxx} for encoding a modifier is not nice.
Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
different code.
Bram Moolenaar [Sun, 31 May 2020 17:48:53 +0000 (19:48 +0200)]
patch 8.2.0865: syntax foldlevel is taken from the start of the line
Problem: Syntax foldlevel is taken from the start of the line.
Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
the line. (Brad King, closes #6087)
Bram Moolenaar [Sat, 30 May 2020 15:49:25 +0000 (17:49 +0200)]
patch 8.2.0848: MS-Windows: the Windows terminal code has some flaws
Problem: MS-Windows: the Windows terminal code has some flaws.
Solution: Do not redraw the right edge of the screen. Remove the background
color trick. Flush the screen output buffer often. (Nobuhiro
Takasaki, #5546)
Bram Moolenaar [Sat, 30 May 2020 13:32:02 +0000 (15:32 +0200)]
patch 8.2.0845: text properties crossing lines not handled correctly
Problem: Text properties crossing lines not handled correctly.
Solution: When joining lines merge text properties if possible.
(Axel Forsman, closes #5839, closes #5683)
Bram Moolenaar [Sat, 30 May 2020 12:46:52 +0000 (14:46 +0200)]
patch 8.2.0844: text properties crossing lines not handled correctly
Problem: Text properties crossing lines not handled correctly.
Solution: When saving for undo include an extra line when needed and do not
adjust properties when undoing. (Axel Forsman, closes #5875)
Bram Moolenaar [Fri, 29 May 2020 20:49:43 +0000 (22:49 +0200)]
patch 8.2.0840: search match count wrong when only match is in fold
Problem: Search match count wrong when only match is in fold.
Solution: Update search stats when in a closed fold. (Christian Brabandt,
closes #6160, closes #6152)