summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_breakindent.vim
AgeCommit message (Collapse)Author
2023-08-27patch 9.0.1800: Cursor position still wrong with 'showbreak' and virtual textv9.0.1800zeertzjq
Problem: Cursor position still wrong with 'showbreak' and virtual text after last character or 'listchars' "eol". Solution: Remove unnecessary w_wcol adjustment in curs_columns(). Also fix first char of virtual text not shown at the start of a screen line. closes: #12478 closes: #12532 closes: #12904 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2023-08-23patch 9.0.1785: wrong cursor position with 'showbreak' and lcs-eolv9.0.1785zeertzjq
Problem: wrong cursor position with 'showbreak' and lcs-eol Solution: Add size of 'showbreak' before when 'listchars' "eol" is used. Also fix wrong cursor position with wrapping virtual text on empty line and 'showbreak'. closes: #12891 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2022-12-02patch 9.0.0991: crash when reading help index with various options setv9.0.0991Bram Moolenaar
Problem: Crash when reading help index with various options set. (Marius Gedminas) Solution: Do not set wlv.c_extra to NUL when wlv.p_extra is NULL. (closes #11651)
2022-10-13patch 9.0.0746: breakindent test cases are commented outv9.0.0746Bram Moolenaar
Problem: Breakindent test cases are commented out. Solution: Adjust expected result to slightly different behavior. Correct computations for cursor position.
2022-10-13patch 9.0.0745: wrong cursor position when using "gj" and "gk" in a long linev9.0.0745Bram Moolenaar
Problem: Wrong cursor position when using "gj" and "gk" in a long line. Solution: Adjust computations for the cursor position and skipcol. Re-enable tests that pass now, disable failing breakindent test.
2022-10-12patch 9.0.0735: breakindent and scrolloff tests failv9.0.0735Bram Moolenaar
Problem: Breakindent and scrolloff tests fail. Solution: Temporarily skip the assertions.
2022-10-06patch 9.0.0681: "<<<" shows for 'smoothscroll' even when 'showbreak is setv9.0.0681Bram Moolenaar
Problem: "<<<" shows for 'smoothscroll' even when 'showbreak is set. Solution: When 'showbreak' is set do not display "<<<".
2022-10-06patch 9.0.0677: breakindent test accepts wrong resultv9.0.0677Bram Moolenaar
Problem: Breakindent test accepts wrong result. Solution: Fix the number column and adjust the expected text.
2022-10-03patch 9.0.0654: breakindent test failsv9.0.0654Bram Moolenaar
Problem: Breakindent test fails. Solution: Temporarily accept wrong result.
2022-10-03patch 9.0.0650: some tests are failingv9.0.0650Bram Moolenaar
Problem: Some tests are failing. Solution: Adjust for "<<<" showing up.
2022-09-05patch 9.0.0391: using separate delete() call instead of writefile() 'D' flagv9.0.0391Bram Moolenaar
Problem: Using separate delete() call instead of writefile() 'D' flag. Solution: Use the writefile 'D' flag.
2022-09-02patch 9.0.0358: 'breakindent' does not indent non-listsv9.0.0358Maxim Kim
Problem: 'breakindent' does not indent non-lists with "breakindentopt=list:-1". Solution: Adjust indent computation. (Maxim Kim, closes #11038)
2022-07-01patch 9.0.0016: comparing line pointer for 'breakindent' is not reliablev9.0.0016Bram Moolenaar
Problem: Comparing line pointer for 'breakindent' is not reliable. Solution: Make a copy of the line.
2022-06-30patch 9.0.0013: reproducing memory access errors can be difficultv9.0.0013Bram Moolenaar
Problem: Reproducing memory access errors can be difficult. Solution: When testing, copy each line to allocated memory, so that valgrind can detect accessing memory before and/or after it. Fix uncovered problems.
2022-05-06patch 8.2.4882: cannot make 'breakindent' use a specific columnv8.2.4882Christian Brabandt
Problem: Cannot make 'breakindent' use a specific column. Solution: Add the "column" entry in 'breakindentopt'. (Christian Brabandt, closes #10362, closes #10325)
2022-03-22patch 8.2.4611: typos in tests; one lua line not covered by testv8.2.4611Dominique Pelle
Problem: Typos in tests; one lua line not covered by test. Solution: Fix typos. Add test case. (Dominique Pellé, closes #9994)
2022-03-03patch 8.2.4501: with 'showbreak' set cursor displayed in wrong positionv8.2.4501Bram Moolenaar
Problem: With 'showbreak' set and after the end of the line the cursor may be displayed in the wrong position. Solution: Do not apply 'showbreak' after the end of the line. (closes #9884)
2022-01-15patch 8.2.4100: early return when getting the 'formatlistpat' valuev8.2.4100Bram Moolenaar
Problem: Early return when getting the 'formatlistpat' value. Solution: Remove the first line. (Christian Brabandt)
2022-01-15patch 8.2.4093: cached breakindent values not initialized properlyv8.2.4093Christian Brabandt
Problem: Cached breakindent values not initialized properly. Solution: Initialize and cache formatlistpat. (Christian Brabandt, closes #9526, closes #9512)
2021-09-02patch 8.2.3397: no test for what 8.2.3391 fixesv8.2.3397Yegappan Lakshmanan
Problem: No test for what 8.2.3391 fixes. Solution: Add a test. (Yegappan Lakshmanan, closes #8828)
2021-07-22patch 8.2.3198: cannot use 'formatlistpat' for breakindentv8.2.3198Maxim Kim
Problem: Cannot use 'formatlistpat' for breakindent. Solution: Use a negative list indent. (Maxim Kim, closes #8594)
2021-07-14patch 8.2.3160: 'breakindent' does not work well for bulleted listsv8.2.3160Christian Brabandt
Problem: 'breakindent' does not work well for bulleted and numbered lists. Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt, closes #8564, closes #1661)
2021-02-10patch 8.2.2496: insufficien testing for text jumping fixv8.2.2496Bram Moolenaar
Problem: Insufficien testing for text jumping fix. Solution: Add another test case.
2021-02-10patch 8.2.2495: text jumps up and down when moving the cursorv8.2.2495Bram Moolenaar
Problem: Text jumps up and down when moving the cursor in a small window with wrapping text and 'scrolloff' set. Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre, closes #7813)
2020-08-12patch 8.2.1432: various inconsistencies in test filesv8.2.1432Bram Moolenaar
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)
2020-05-16patch 8.2.0766: display error when using 'number' and 'breakindent'v8.2.0766Bram Moolenaar
Problem: Display error when using 'number' and 'breakindent'. Solution: Adjust extra spaces in the first row. (Ken Takata, closes #6089, closes #5986)
2020-03-25patch 8.2.0448: various functions not properly testedv8.2.0448Bram Moolenaar
Problem: Various functions not properly tested. Solution: Add more tests, especially for failures. (Yegappan Lakshmanan, closes #5843)
2020-02-23patch 8.2.0308: 'showbreak' does not work for a very long linev8.2.0308Bram Moolenaar
Problem: 'showbreak' does not work for a very long line. (John Little) Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523, closes #5684)
2020-01-26patch 8.2.0156: various typos in source files and testsv8.2.0156Bram Moolenaar
Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes #5532)
2020-01-23patch 8.2.0146: wrong indent when 'showbreak' and 'breakindent' are setv8.2.0146Bram Moolenaar
Problem: Wrong indent when 'showbreak' and 'breakindent' are set and 'briopt' includes "sbr". Solution: Reset "need_showbreak" where needed. (Ken Takata, closes #5523)
2019-11-09patch 8.1.2281: 'showbreak' cannot be set for one windowv8.1.2281Bram Moolenaar
Problem: 'showbreak' cannot be set for one window. Solution: Make 'showbreak' global-local.
2019-11-03patch 8.1.2245: third character of 'listchars' tab shows in wrong placev8.1.2245Bram Moolenaar
Problem: Third character of 'listchars' tab shows in wrong place when 'breakindent' is set. Solution: Set c_final to NUL. (Naruhiko Nishino, closes #5165)
2019-09-07patch 8.1.2004: more functions can be used as methodsv8.1.2004Bram Moolenaar
Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
2019-08-31patch 8.1.1953: more functions can be used as a methodv8.1.1953Bram Moolenaar
Problem: More functions can be used as a method. Solution: Allow more functions to be used as a method.
2019-08-07patch 8.1.1826: tests use hand coded feature and option checksv8.1.1826Bram Moolenaar
Problem: Tests use hand coded feature and option checks. Solution: Use the commands from check.vim in more tests.
2019-06-06patch 8.1.1483: skipped tests are not properly listedv8.1.1483Bram Moolenaar
Problem: Skipped tests are not properly listed. Solution: Throw a "Skipped" exception instead of using ":finish" or ":return".
2018-06-23patch 8.1.0105: all tab stops are the samev8.1.0105Bram Moolenaar
Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes #2711)
2017-03-01patch 8.0.0394: tabs are not aligned when scrolling horizontallyv8.0.0394Bram Moolenaar
Problem: Tabs are not aligned when scrolling horizontally and a Tab doesn't fit. (Axel Bender) Solution: Handle a Tab as a not fitting character. (Christian Brabandt) Also fix that ":redraw" does not scroll horizontally to show the cursor. And fix the test that depended on the old behavior.
2017-02-05patch 8.0.0311: linebreak tests are old stylev8.0.0311Bram Moolenaar
Problem: Linebreak tests are old style. Solution: Turn the tests into new style. Share utility functions. (Ozaki Kiichi, closes #1444)
2016-11-17patch 8.0.0090v8.0.0090Bram Moolenaar
Problem: Test_help_complete sometimes fails in MS-Windows console. Solution: Use getcompletion() instead of feedkeys() and command line completion. (Hirohito Higashi)