summaryrefslogtreecommitdiff
path: root/src/testdir/test_gn.vim
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.2244: 'wrapscan' is not used for "gn"v8.1.2244Bram Moolenaar2019-11-021-1/+2
| | | | | Problem: 'wrapscan' is not used for "gn". Solution: Only reset 'wrapscan' for the first search round. (closes #5164)
* patch 8.1.2218: "gN" is off by one in Visual modev8.1.2218Bram Moolenaar2019-10-261-0/+5
| | | | | Problem: "gN" is off by one in Visual mode. Solution: Check moving forward. (Christian Brabandt, #5075)
* patch 8.1.2207: "gn" doesn't work quite rightv8.1.2207Bram Moolenaar2019-10-241-0/+21
| | | | | | Problem: "gn" doesn't work quite right. (Jaehwang Jerry Jung) Solution: Improve and simplify the search logic. (Christian Brabandt, closes #5103, closes #5075)
* patch 8.1.1193: typos and small problems in test filesv8.1.1193Bram Moolenaar2019-04-201-1/+1
| | | | | Problem: Typos and small problems in test files. Solution: Small improvements.
* patch 8.1.0629: "gn" selects the wrong text with a multi-line matchv8.1.0629Bram Moolenaar2018-12-231-0/+19
| | | | | Problem: "gn" selects the wrong text with a multi-line match. Solution: Get the end position from searchit() directly. (closes #3695)
* patch 8.1.0018: using "gn" may select wrong text when wrappingv8.1.0018Bram Moolenaar2018-05-221-15/+24
| | | | | Problem: Using "gn" may select wrong text when wrapping. Solution: Avoid wrapping when searching forward. (Christian Brabandt)
* patch 8.0.1200: tests switch the bell off twicev8.0.1200Bram Moolenaar2017-10-151-2/+0
| | | | | Problem: Tests switch the bell off twice. Solution: Don't set 'belloff' in individual tests. (Christian Brabandt)
* patch 8.0.1148: gN doesn't work on last match with 'wrapscan' offv8.0.1148Bram Moolenaar2017-09-261-0/+9
| | | | | Problem: "gN" doesn't work on last match with 'wrapscan' off. (fcpg) Solution: Adjust for searching backward. (Christian Brabandt)
* patch 8.0.0627: "gn" selects only one character with 'nowrapscan'v8.0.0627Bram Moolenaar2017-06-051-1/+26
| | | | | | Problem: When 'wrapscan' is off "gn" does not select the whole pattern when it's the last one in the text. (KeyboardFire) Solution: Check if the search fails. (Christian Brabandt, closes #1683)
* patch 7.4.2228v7.4.2228Bram Moolenaar2016-08-181-1/+1
| | | | | Problem: Test files have inconsistant modelines. Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'.
* patch 7.4.2100v7.4.2100Bram Moolenaar2016-07-241-0/+93
Problem: "cgn" and "dgn" do not work correctly with a single character match and the replacement includes the searched pattern. (John Beckett) Solution: If the match is found in the wrong column try in the next column. Turn the test into new style. (Christian Brabandt)