aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_search.vim
Commit message (Collapse)AuthorAge
* vim-patch:8.1.1483: skipped tests are not properly listedDaniel Hahler2019-08-22
| | | | | | | | | | Problem: Skipped tests are not properly listed. Solution: Throw a "Skipped" exception instead of using ":finish" or ":return". https://github.com/vim/vim/commit/5d30ff19648d2ff0696cea97582b902f6a4ec0ba Skips quite some (N/A) tests. vim-patch:8.1.0503: missing change to diff test (included in cf1ffa916)
* vim-patch:8.1.0811: too many #ifdefsDaniel Hahler2019-08-22
| | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter. https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
* vim-patch:8.0.1238: incremental search only shows one matchJan Edmund Lazo2019-06-28
| | | | | | | Problem: Incremental search only shows one match. Solution: When 'incsearch' and and 'hlsearch' are both set highlight all matches. (haya14busa, closes vim/vim#2198) https://github.com/vim/vim/commit/2e51d9a0972080b087d566608472928d5b7b35d7
* vim-patch:8.1.0181: memory leak with trailing characters in skip expressionJan Edmund Lazo2019-06-23
| | | | | | Problem: Memory leak with trailing characters in skip expression. Solution: Free the return value. https://github.com/vim/vim/commit/a43ebe9454386427ca38c75810e2d36991f17812
* vim-patch:8.1.0112: no error when using bad arguments with searchpair()Jan Edmund Lazo2019-06-23
| | | | | | Problem: No error when using bad arguments with searchpair(). Solution: Add error messages. https://github.com/vim/vim/commit/3dddb09c98825acefa6f2d94bb369b8e00d7b3e5
* vim-patch:8.0.1239: cannot use a lambda for the skip argument to searchpair()Jan Edmund Lazo2019-06-23
| | | | | | | Problem: Cannot use a lambda for the skip argument to searchpair(). Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes vim/vim#1454, closes vim/vim#2265) https://github.com/vim/vim/commit/48570488f17e397183ea7d5c7ca67d6e4ffb013d
* vim-patch:8.1.1475: search string not displayed when 'rightleft' is seterw72019-06-07
| | | | | | Problem: Search string not displayed when 'rightleft' is set. Solution: Clear the right part of the old text. (closes vim/vim#4488, closes vim/vim#4489) https://github.com/vim/vim/commit/db294adc65d73ffa5cdf3d0ab45ccbf05b965414
* vim-patch:8.1.1214: old style tests #9948Jan Edmund Lazo2019-04-27
| | | | | | Problem: Old style tests. Solution: Move tests from test14 to new style test files. (Yegappan Lakshmanan, closes vim/vim#4308) https://github.com/vim/vim/commit/c6b37db1ba704455daa8f9e78bc1c2492fb81f40
* vim-patch:8.1.0973: pattern with syntax error gives threee error messagesJustin M. Keyes2019-03-01
| | | | | | | | Problem: Pattern with syntax error gives threee error messages. (Kuang-che Wu) Solution: Remove outdated internal error. Don't fall back to other engine after an error. https://github.com/vim/vim/commit/cd62512c5595fa1f7a7f2c6ec1a90ea6bde3ad50
* vim-patch:8.1.0965: search test failsJustin M. Keyes2019-03-01
| | | | | | Problem: Search test fails. Solution: Wait a bit longer for the 'ambiwidth' redraw. https://github.com/vim/vim/commit/e86ecbd92271ad86b543c71ca50452528f704ffb
* vim-patch:8.1.0963: illegal memory access when using 'incsearch'Justin M. Keyes2019-03-01
| | | | | | Problem: Illegal memory access when using 'incsearch'. Solution: Reset highlight_match when changing text. (closes vim/vim#4022) https://github.com/vim/vim/commit/4a7d2d3b407ed695450bb7f43166e2f2722a6836
* vim-patch:8.1.0985: crash with large number in regexpJustin M. Keyes2019-02-28
| | | | | | Problem: Crash with large number in regexp. (Kuang-che Wu) Solution: Check for long becoming negative int. (closes #) https://github.com/vim/vim/commit/ab350f89f9646e07aefe16a32ba3ddb847496b4a
* vim-patch:8.1.0276: no test for 'incsearch' highlighting with :sJan Edmund Lazo2019-02-17
| | | | | | Problem: No test for 'incsearch' highlighting with :s. Solution: Add a screendump test. https://github.com/vim/vim/commit/164251ff805e89a3d9a850a77e3139e28908f44a
* vim-patch:8.0.1417: test doesn't search for a sentenceJan Edmund Lazo2018-09-16
| | | | | | | Problem: Test doesn't search for a sentence. Still fails when searching for start of sentence. (Dominique Pelle) Solution: Add paren. Check for MAXCOL in dec(). https://github.com/vim/vim/commit/1bd999f982e783219a06e6c8f219df1d53ac7e77
* vim-patch:8.0.1416: crash when searching for a sentenceJan Edmund Lazo2018-09-16
| | | | | | Problem: Crash when searching for a sentence. Solution: Return NUL when getting character at MAXCOL. (closes vim/vim#2468) https://github.com/vim/vim/commit/8ada6aa9298b4764d9ca0024dd21b17e815595ce
* vim-patch:8.0.1397: pattern with \& following nothing gives an errorJan Edmund Lazo2018-08-12
| | | | | | Problem: Pattern with \& following nothing gives an error. Solution: Emit an empty node when needed. https://github.com/vim/vim/commit/890dd05492d88d48eee1dda7f7a1811d027ce7ca
* vim-patch:8.0.1257: no test for fix of undefined behaviorJan Edmund Lazo2018-08-12
| | | | | | Problem: No test for fix of undefined behavior. Solution: Add a test. (closes vim/vim#2255) https://github.com/vim/vim/commit/2973daafe1732963b8924cb9df53c608804d66b3
* vim-patch:8.0.1243: no test for what 8.0.1227 fixesJan Edmund Lazo2018-08-12
| | | | | | Problem: No test for what 8.0.1227 fixes. Solution: Add a test that triggers the problem. (Christian Brabandt) https://github.com/vim/vim/commit/f45938cc20ed6992e5215ffe41b73b528c78be9c
* vim-patch:8.0.1271: still too many old style testsJustin M. Keyes2018-02-12
| | | | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes vim/vim#2290) https://github.com/vim/vim/commit/fb094e14c19337de824d4e6710ca6a2617930ab0
* vim-patch:8.0.1200: tests switch the bell off twiceJustin M. Keyes2018-02-11
| | | | | | | Problem: Tests switch the bell off twice. Solution: Don't set 'belloff' in individual tests. (Christian Brabandt) https://github.com/vim/vim/commit/67418d97b457d2e27fe342472d3c9fd342ffc47f
* vim-patch:8.0.1210: CTRL-G and CTRL-T are ignored with typeaheadJustin M. Keyes2018-02-11
| | | | | | | | | Problem: When typing a search pattern CTRL-G and CTRL-T are ignored when there is typeahead. Solution: Don't pass SEARCH_PEEK and don't call char_avail(). (haya14busa, closes vim/vim#2233) https://github.com/vim/vim/commit/f8e8c0643b1cd97db11912bc4f773e1328a0da02
* vim-patch:8.0.1158: still old style testsJustin M. Keyes2018-02-11
| | | | | | | Problem: Still old style tests. Solution: Convert serveral tests to new style. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/db51007108a6ab0671e7f7b4844557cbe647185f
* vim-patch:8.0.0692: CTRL-G with 'incsearch' and ? goes in the wrong directionJustin M. Keyes2018-02-11
| | | | | | | | Problem: Using CTRL-G with 'incsearch' and ? goes in the wrong direction. (Ramel Eshed) Solution: Adjust search_start. (Christian Brabandt) https://github.com/vim/vim/commit/da5116da4586fc714434411d2cccb066caa3723e
* vim-patch:8.0.0689: ~ character not escaped when extending search patternJustin M. Keyes2018-02-11
| | | | | | | | Problem: The ~ character is not escaped when adding to the search pattern with CTRL-L. (Ramel Eshed) Solution: Escape the character. (Christian Brabandt) https://github.com/vim/vim/commit/a693d0584b9a7ccce98813dda3a6badb209904c7
* vim-patch:8.0.0440: not enough test coverage in Insert modeJustin M. Keyes2018-02-11
| | | | | | | | | [Nvim note: test_override() omitted] Problem: Not enough test coverage in Insert mode. Solution: Add lots of tests. Add test_override(). (Christian Brabandt, closes vim/vim#1521) https://github.com/vim/vim/commit/eb992cb90fd79c77ad2743459ac898e6ac3de939
* vim-patch:8.0.0433: beeps when running testsJustin M. Keyes2018-01-21
| | | | | | | Problem: Quite a few beeps when running tests. Solution: Set 'belloff' for these tests. (Christian Brabandt) https://github.com/vim/vim/commit/c3c766ea8c35f5b2bd45fb3d74d0ae46b2d8c24f
* vim-patch:8.0.0398: illegal memory access with "t"ckelsel2018-01-15
| | | | | | | Problem: Illegal memory access with "t". Solution: Use strncmp() instead of memcmp(). (Dominique Pelle, closes vim/vim#1528) https://github.com/vim/vim/commit/66727e16079fbac6db3897b5c3736ec9fba995bb
* vim-patch:8.0.0147 #7121ckelsel2017-08-06
| | | | | | | Problem: searchpair() does not work when 'magic' is off. (Chris Paul) Solution: Add \m in the pattern. (Christian Brabandt, closes vim/vim#1341) https://github.com/vim/vim/commit/6e450a57541676036203a72d40b2e604e938371e
* vim-patch:7.4.2320James McCoy2017-06-26
| | | | | | | | | Problem: Redraw problem when using 'incsearch'. Solution: Save the current view when deleting characters. (Christian Brabandt) Fix that the '" mark is set in the wrong position. Don't change the search start when using BS. https://github.com/vim/vim/commit/dda933d06c06c2792bd686d059f6ad19191ad30b
* vim-patch:7.4.2268James McCoy2017-06-26
| | | | | | | Problem: Using CTRL-N and CTRL-P for incsearch shadows completion keys. Solution: Use CTRL-T and CTRL-G instead. https://github.com/vim/vim/commit/1195669f9e434fa9ab8b57ee9470bf951e4990b8
* functests/legacy: Add lua version of test_search.vimJames McCoy2017-06-26
|
* vim-patch:7.4.2259raichoo2017-06-26
| | | | | | | | Problem: With 'incsearch' can only see the next match. Solution: Make CTRL-N/CTRL-P move to the previous/next match. (Christian Brabandt) https://github.com/vim/vim/commit/4d6f32cbfbaf324ac4a25c0206a5db0e9f7a48f7
* vim-patch:7.4.2356 (#6880)Shougo2017-06-19
Problem: Reading past end of line when using previous substitute pattern. (Dominique Pelle) Solution: Don't set "pat" only set "searchstr". https://github.com/vim/vim/commit/ea683da58cf9ecf3afab9d650d3d2da76e5298d3