| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
The new oldtest directory is in test/old/testdir. The reason for this is
that many tests have hardcoded the parent directory name to be
'testdir'.
|
| |
|
|
|
|
| |
Problem: Crash when using search stat in narrow screen.
Solution: Check length of message. (closes vim/vim#11921)
https://github.com/vim/vim/commit/a7d36b732070944aab614944075ec0b409311482
|
| |
|
|
|
|
|
|
| |
Problem: Failure to compile a pattern not tested much.
Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
closes vim/vim#7004)
https://github.com/vim/vim/commit/531be47ac5522807b265c6287021a01c9b895ac9
|
| |
|
|
|
|
|
|
|
| |
'tabLine' (#19147)
Problem: Incsearch highlight broken when calling searchcount() in 'tabLine'
function. (Mirko Palmer)
Solution: Save and restore the incsearch state. (Christian Brabandt,
closes vim/vim#9763, closes vim/vim#9633)
https://github.com/vim/vim/commit/6dd7424c7e6ab81998c29ca3526c41b75cfde5a1
|
| |
|
|
|
|
|
| |
Problem: The "gd" and "gD" commands do not update search stats. (Gary
Johnson)
Solution: Clear search stats.
https://github.com/vim/vim/commit/0c71114aede81a209b7efc126b4bf19f11d58955
|
| |
|
|
| |
Also avoid unnecessary divergences from upstream and add a modeline.
|
| |
|
|
|
| |
Problem: Search stat test has leftover from debugging.
Solution: Remove line that writes a file. (Christian Brabandt, closes vim/vim#6224)
https://github.com/vim/vim/commit/6ba24d87630b1ec2b8c7ff71550c9e41d143800e
|
| |
|
|
|
|
| |
Problem: Crash when calling searchcount() with a string.
Solution: Check the argument is a dict. (closes vim/vim#6192)
https://github.com/vim/vim/commit/14681627f39421cce289345d4ec9927c10fa3b1c
|
| |
|
|
|
|
| |
Problem: Searchcount().exact_match is 1 right after a match.
Solution: Use LT_POS() instead of LTOREQ_POS(). (closes vim/vim#6189)
https://github.com/vim/vim/commit/57f75a5a364ad4d8334fdf6b6b41420b48e08390
|
| |
|
|
|
|
| |
Problem: Searchcount() test fails on slower systems.
Solution: Set a longer timeout.
https://github.com/vim/vim/commit/ea6561af92eeb26fa0b4966575da7cadd98af1cd
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Problem: Cannot get the search statistics.
Solution: Add the searchcount() function. (Fujiwara Takuya, closes vim/vim#4446)
https://github.com/vim/vim/commit/e8f5ec0d30b629d7166f0ad03434065d8bc822df
Additional changes:
- Tests weren't passing because the test ran assuming the cursor was at
start of buffer but append() left the cursor at end of buffer .
So cursor is moved to start of buffer after append.
- searchcount() added to list of builtin functions.
|
| |
|
|
|
|
|
| |
Problem: Search match count wrong when only match is in fold.
Solution: Update search stats when in a closed fold. (Christian Brabandt,
closes vim/vim#6160, closes vim/vim#6152)
https://github.com/vim/vim/commit/6cb0726215519fe94103803e4aa77a355384bcf2
|
| |
|
|
|
|
| |
Problem: The search stat moves when wrapping at the end of the buffer.
Solution: Put the "W" in front instead of at the end.
https://github.com/vim/vim/commit/16b58ae9f36e9675c34d942f5d5f8c8a7914dbc4
|
| |
|
|
|
|
| |
Problem: Fix for search stat not tested.
Solution: Add a screenshot test. (Christian Brabandt)
https://github.com/vim/vim/commit/0f63ed33fdd12d8220f7bc7ff91095e7ceed9985
|
| |
|
|
|
|
| |
Problem: Search stat space wrong, no test for 8.1.1965.
Solution: Fix check for cmd_silent. Add a test. (Christian Brabandt)
https://github.com/vim/vim/commit/19e8ac72e9c17b894a9c74cb8f70feb33567033c
|
| |
|
|
|
|
|
| |
Problem: Using searchcount() in 'statusline' causes an error.
Solution: Avoid saving/restoring the search patten recursively.
(closes vim/vim#6194)
https://github.com/vim/vim/commit/442a85369f3eb9834dbab42add45f7c4106700f4
|
| |
|
|
|
|
|
| |
Problem: Without "TS" in 'shortmess' get a hit-enter prompt often.
Solution: Always truncate the search message. Also avoid putting it in the
message history. (closes vim/vim#4413)
https://github.com/vim/vim/commit/984f031fb02fe301a8dbf8a35b871c9f60b8f61e
|
| |
|
|
|
|
| |
Problem: Search stats are off when using count or offset.
Solution: Recompute the stats when needed. (Masato Nishihata, closes vim/vim#4410)
https://github.com/vim/vim/commit/8f46e4c4bde13fd5ad68a6670b79cc462b65fbec
|
| |
|
|
|
|
| |
Problem: "W" for wrapping not shown when more than 99 matches.
Solution: Adjust check for length. (Masato Nishihata, closes vim/vim#4388)
https://github.com/vim/vim/commit/dc6855af974f2ef553aceee619fadcb858e25d39
|
| |
|
|
|
|
|
| |
Problem: Search stats don't show for mapped command.
Solution: Remove SEARCH_PEEK from searchit flags. Add a test. (Christian
Brabandt)
https://github.com/vim/vim/commit/9ce3fa828d238ff28d57b0092bb37575e20010ec
|
| |
|
|
|
|
| |
Problem: Delaying half a second after the top-bot message.
Solution: Instead of the delay add "W" to the search count.
https://github.com/vim/vim/commit/c7a10b35de70471519d104a74d402c63557f0512
|
|
|
Problem: Cannot see current match position.
Solution: Show "3/44" when using the "n" command and "S" is not in
'shortmess'. (Christian Brabandt, closes vim/vim#4317)
https://github.com/vim/vim/commit/9dfa3139198b38b28673e251a3756430065914e9
|