summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_virtualedit.vim
AgeCommit message (Collapse)Author
2024-02-24patch 9.1.0132: "C" doesn't include composing chars with 'virtualedit'v9.1.0132zeertzjq
Problem: using "C" and 've=all' set, doesn't include composing chars when changing a line, keeps the composing chars for whatever is typed afterwards. Solution: Use mb_head_off() and mb_ptr2len() instead of mb_tail_off(). (zeertzjq) closes: #14083 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-24patch 9.0.1937: missing test for mouse click + 'virtedit'v9.0.1937zeertzjq
Problem: missing test for mouse click + 'virtedit' Solution: Add test for clicking after eol with 'virtualedit' and wrapped line closes: #13157 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2023-09-21patch 9.0.1923: curswant wrong on click with 've' and 'wrap' setv9.0.1923zeertzjq
Problem: curswant wrong on click with 've' and 'wrap' set Solution: Add w_leftcol to mouse click column. closes: #13142 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2023-09-20patch 9.0.1919: Wrong curswant when clicking on empty line or with vsplitsv9.0.1919zeertzjq
Problem: Wrong curswant when clicking on empty line or with vsplits. Solution: Don't check for ScreenCols[] before the start of the window and handle empty line properly. closes: #13132 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2023-09-09patch 9.0.1886: Various Typosv9.0.1886Christian Brabandt
Problem: Various Typos Solution: Fix Typos This is a collection of typo related commits. closes: #12753 closes: #13016 Co-authored-by: Adri Verhoef <a3@a3.xs4all.nl> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Viktor Szépe <viktor@szepe.net> Co-authored-by: nuid64 <lvkuzvesov@proton.me> Co-authored-by: Meng Xiangzhuo <aumo@foxmail.com> Co-authored-by: Dominique Pellé <dominique.pelle@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-08-17patch 9.0.1725: cursor pos wrong after concealed text with 'virtualedit'v9.0.1725zeertzjq
Problem: Wrong cursor position when clicking after concealed text with 'virtualedit'. Solution: Store virtual columns in ScreenCols[] instead of text columns, and always use coladvance() when clicking. This also fixes incorrect curswant when clicking on a TAB, so now Test_normal_click_on_ctrl_char() asserts the same results as the ones before patch 9.0.0048. closes: #12808 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2023-03-04patch 9.0.1378: illegal memory access when using virtual editingv9.0.1378Bram Moolenaar
Problem: Illegal memory access when using virtual editing. Solution: Make sure "startspaces" is not negative.
2023-01-28patch 9.0.1257: code style is not check in test scriptsv9.0.1257Bram Moolenaar
Problem: Code style is not check in test scripts. Solution: Add basic code style check for test files.
2023-01-28patch 9.0.1255: changing 'virtualedit' does not have immediate effectv9.0.1255Bram Moolenaar
Problem: Changing 'virtualedit' does not have immediate effect. Solution: Correct how is checked for a changed value. (closes #11878)
2022-09-16patch 9.0.0483: illegal memory access when replacing in virtualedit modev9.0.0483Bram Moolenaar
Problem: Illegal memory access when replacing in virtualedit mode. Solution: Check for replacing NUL after Tab.
2022-08-09patch 9.0.0177: cursor position wrong with 'virtualedit' and mouse clickv9.0.0177Bram Moolenaar
Problem: Cursor position wrong with 'virtualedit' and mouse click after end of the line. (Hermann Mayer) Solution: Do not use ScreenCols[] when 'virtualedit' is active. (closes #10868)
2021-08-03patch 8.2.3280: 'virtualedit' local to buffer is not the best solutionv8.2.3280Gary Johnson
Problem: 'virtualedit' local to buffer is not the best solution. Solution: Make it window-local. (Gary Johnson, closes #8685)
2021-07-26patch 8.2.3227: 'virtualedit' can only be set globallyv8.2.3227Gary Johnson
Problem: 'virtualedit' can only be set globally. Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
2021-05-29patch 8.2.2901: some operators not fully testedv8.2.2901Bram Moolenaar
Problem: Some operators not fully tested. Solution: Add a few test cases. (Yegappan Lakshmanan, closes #8282)
2020-06-20patch 8.2.1022: various parts of code not covered by testsv8.2.1022Bram Moolenaar
Problem: Various parts of code not covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes #6300)
2020-04-11patch 8.2.0540: regexp and other code not testedv8.2.0540Bram Moolenaar
Problem: Regexp and other code not tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5904)
2020-03-08patch 8.2.0363: some Normal mode commands not testedv8.2.0363Bram Moolenaar
Problem: Some Normal mode commands not tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5746)
2019-12-03patch 8.1.2384: test 48 is old stylev8.1.2384Bram Moolenaar
Problem: Test 48 is old style. Solution: Merge test cases into new style test. (Yegappan Lakshmanan, closes #5307)
2019-12-02patch 8.1.2381: not all register related code is covered by testsv8.1.2381Bram Moolenaar
Problem: Not all register related code is covered by tests. Solution: Add more test cases. (Yegappan Lakshmanan, closes #5301)
2019-12-01patch 8.1.2375: no suffucient testing for registersv8.1.2375Bram Moolenaar
Problem: No suffucient testing for registers. Solution: Add more test cases. (Yegappan Lakshmanan, closes #5296) Fix that "p" on last virtual column of tab inserts spaces.
2019-10-31patch 8.1.2235: "C" with 'virtualedit' set does not include multi-byte charv8.1.2235Bram Moolenaar
Problem: "C" with 'virtualedit' set does not include multi-byte char. Solution: Include the whole multi-byte char. (Nobuhiro Takasaki, closes #5152)
2019-01-24patch 8.1.0811: too many #ifdefsv8.1.0811Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter.
2018-06-28patch 8.1.0125: virtual edit replace with multi-byte fails at end of linev8.1.0125Bram Moolenaar
Problem: Virtual edit replace with multi-byte fails at end of line. (Lukas Werling) Solution: use ins_char() to add the character. (Christian Brabandt, closes #3114) Rename PCHAR() to PBYTE() to avoid mistakes like this.
2018-04-25patch 8.0.1765: CTRL-G j in Insert mode is incorrect when 'virtualedit' setv8.0.1765Bram Moolenaar
Problem: CTRL-G j in Insert mode is incorrect when 'virtualedit' is set. Solution: Take coladd into account. (Christian Brabandt, closes #2743)
2017-08-30patch 8.0.1019: pasting in virtual edit happens in the wrong placev8.0.1019Bram Moolenaar
Problem: Pasting in virtual edit happens in the wrong place. Solution: Do not adjust coladd when after the end of the line (closes #2015)
2017-08-19patch 8.0.0962: crash with virtualedit and joining linesv8.0.0962Bram Moolenaar
Problem: Crash with virtualedit and joining lines. (Joshua T Corbin, Neovim #6726) Solution: When using a mark check that coladd is valid.