summaryrefslogtreecommitdiff
path: root/src/testdir/test_fold.vim
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.1432: various inconsistencies in test filesv8.2.1432Bram Moolenaar2020-08-121-3/+1
| | | | | | | Problem: Various inconsistencies in test files. Solution: Add modelines where they were missing. Use Check commands instead of silently skipping over tests. Adjust indents and comments. (Ken Takata, closes #6695)
* patch 8.2.0633: crash when using null partial in filter()v8.2.0633Bram Moolenaar2020-04-241-0/+25
| | | | | Problem: Crash when using null partial in filter(). Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976)
* patch 8.2.0002: "dj" only deletes first line of closed foldv8.2.0002Bram Moolenaar2019-12-131-0/+25
| | | | | Problem: "dj" only deletes first line of closed fold. Solution: Adjust last line of operator for linewise motion. (closes #5354)
* patch 8.1.2052: using "x" before a closed fold may delete that foldv8.1.2052Bram Moolenaar2019-09-171-0/+12
| | | | | Problem: Using "x" before a closed fold may delete that fold. Solution: Do not translate 'x' do "dl". (Christian Brabandt, closes #4927)
* patch 8.1.1921: more functions can be used as methodsv8.1.1921Bram Moolenaar2019-08-241-4/+4
| | | | | Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
* patch 8.1.1890: ml_get error when deleting fold markerv8.1.1890Bram Moolenaar2019-08-191-0/+16
| | | | | | | Problem: Ml_get error when deleting fold marker. Solution: Check that the line number is not below the last line. Adjust the fold when deleting the empty line. (Christian Brabandt, closes #4834)
* patch 8.1.1826: tests use hand coded feature and option checksv8.1.1826Bram Moolenaar2019-08-071-3/+2
| | | | | Problem: Tests use hand coded feature and option checks. Solution: Use the commands from check.vim in more tests.
* patch 8.1.1483: skipped tests are not properly listedv8.1.1483Bram Moolenaar2019-06-061-1/+1
| | | | | Problem: Skipped tests are not properly listed. Solution: Throw a "Skipped" exception instead of using ":finish" or ":return".
* patch 8.1.1362: code and data in tests can be hard to readv8.1.1362Bram Moolenaar2019-05-201-11/+12
| | | | | Problem: Code and data in tests can be hard to read. Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes #4400)
* patch 8.1.0574: 'commentstring' not used when adding fold marker in Cv8.1.0574Bram Moolenaar2018-12-091-0/+29
| | | | | | Problem: 'commentstring' not used when adding fold marker in C. Solution: Require white space before middle comment part. (mostly by Hirohito Higashi)
* patch 8.1.0570: 'commentstring' not used when adding fold markerv8.1.0570Bram Moolenaar2018-12-071-0/+17
| | | | | | Problem: 'commentstring' not used when adding fold marker. (Maxim Kim) Solution: Only use empty 'comments' middle when leader is empty. (Christian Brabandt, closes #3670)
* patch 8.1.0449: when 'rnu' is set folded lines are not displayed correctlyv8.1.0449Bram Moolenaar2018-10-021-0/+21
| | | | | | | Problem: When 'rnu' is set folded lines are not displayed correctly. (Vitaly Yashin) Solution: When only redrawing line numbers do draw folded lines. (closes #3484)
* patch 8.1.0174: after paging up and down fold line is wrongv8.1.0174Bram Moolenaar2018-07-101-0/+26
| | | | | | Problem: After paging up and down fold line is wrong. Solution: Correct the computation of w_topline and w_botline. (Hirohito Higashi)
* patch 8.0.1271: still too many old style testsv8.0.1271Bram Moolenaar2017-11-051-0/+21
| | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes #2290)
* patch 8.0.1253: still too many old style testsv8.0.1253Bram Moolenaar2017-11-021-0/+167
| | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes #2272)
* patch 8.0.1115: crash when using foldtextresult() recursivelyv8.0.1115Bram Moolenaar2017-09-161-0/+14
| | | | | Problem: Crash when using foldtextresult() recursively. Solution: Avoid recursive calls. (Yasuhiro Matsumoto, closes #2098)
* patch 8.0.0581: moving folded text is sometimes not correctv8.0.0581Bram Moolenaar2017-04-221-19/+52
| | | | | Problem: Moving folded text is sometimes not correct. Solution: Bail out when "move_end" is zero. (Matthew Malcomson)
* patch 8.0.0496: insufficient testing for foldingv8.0.0496Bram Moolenaar2017-03-211-2/+55
| | | | | Problem: Insufficient testing for folding. Solution: Add a couple more fold tests. (Dominique Pelle, closes #1579)
* patch 8.0.0465: off-by-one error in using :move with foldingv8.0.0465Bram Moolenaar2017-03-161-2/+21
| | | | | | Problem: Off-by-one error in using :move with folding. Solution: Correct off-by-one mistakes and add more tests. (Matthew Malcomson)
* patch 8.0.0457: using :move messes up manual foldsv8.0.0457Bram Moolenaar2017-03-141-0/+122
| | | | | | Problem: Using :move messes up manual folds. Solution: Split adjusting marks and folds. Add foldMoveRange(). (neovim patch #6221)
* patch 8.0.0453: adding fold marker creates new commentv8.0.0453Bram Moolenaar2017-03-121-0/+16
| | | | | Problem: Adding fold marker creates new comment. Solution: Use an existing comment if possible. (LemonBoy, closes #1549)
* patch 8.0.0408: updating folds does not always work properlyv8.0.0408Bram Moolenaar2017-03-041-0/+86
| | | | | | Problem: Updating folds does not work properly when inserting a file and a few other situations. Solution: Adjust the way folds are updated. (Matthew Malcomson)
* patch 8.0.0407: filtering folds with marker method not testedv8.0.0407Bram Moolenaar2017-03-041-11/+16
| | | | | Problem: Filtering folds with marker method not tested. Solution: Also set 'foldmethod' to "marker".
* patch 8.0.0388: filtering lines changes foldsv8.0.0388Bram Moolenaar2017-02-281-8/+25
| | | | | | | Problem: filtering lines through "cat", without changing the line count, changes manual folds. Solution: Change how marks and folds are adjusted. (Matthew Malcomson, from neovim #6194.
* patch 8.0.0136v8.0.0136Bram Moolenaar2017-01-021-0/+32
| | | | | | Problem: When using indent folding and changing indent the wrong fold is opened. (Jonathan Fudger) Solution: Open the fold under the cursor a bit later. (Christian Brabandt)
* patch 8.0.0135v8.0.0135Bram Moolenaar2017-01-021-0/+65
Problem: An address relative to the current line, ":.,+3y", does not work properly on a closed fold. (Efraim Yawitz) Solution: Correct for including the closed fold. (Christian Brabandt)