summaryrefslogtreecommitdiff
path: root/src/testdir/test_put.vim
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.3969: value of MAXCOL not available in Vim scriptv8.2.3969naohiro ono2022-01-011-1/+1
| | | | | Problem: Value of MAXCOL not available in Vim script. Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
* patch 8.2.3677: after a put the '] mark is on the last bytev8.2.3677Bram Moolenaar2021-11-251-0/+13
| | | | | | Problem: After a put the '] mark is on the last byte of a multi-byte character. Solution: Move it to the first byte. (closes #9047)
* patch 8.2.3661: test for put with large count failsv8.2.3661Bram Moolenaar2021-11-241-5/+5
| | | | | Problem: Test for put with large count fails. Solution: Adjust the counts in the test.
* patch 8.2.3601: check for overflow in put count does not work wellv8.2.3601ichizok2021-11-161-2/+31
| | | | | Problem: Check for overflow in put count does not work well. Solution: Improve the overflow check. (Ozaki Kiichi, closes #9102)
* patch 8.2.3581: reading character past end of linev8.2.3581Bram Moolenaar2021-11-041-0/+9
| | | | | Problem: Reading character past end of line. Solution: Correct the cursor column.
* patch 8.2.3577: overflow check fails with 32 intsv8.2.3577Bram Moolenaar2021-11-031-0/+4
| | | | | Problem: Overflow check fails with 32 ints. Solution: Only test with 64 bit ints.
* patch 8.2.3573: cannot decide whether to skip test that fails with 64 bitv8.2.3573Bram Moolenaar2021-11-021-7/+0
| | | | | | | Problem: Cannot decide whether to skip test that fails with 64 bit ints. (closes #9072) Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the check for multiply overflow.
* patch 8.2.3570: Test_very_large_count fails on 32bit systemsv8.2.3570Bram Moolenaar2021-11-011-0/+4
| | | | | Problem: Test_very_large_count fails on 32bit systems. Solution: Bail out when using 32 bit numbers. (closes #9072)
* patch 8.2.3540: the mark '] is wrong after put with a countv8.2.3540Bram Moolenaar2021-10-191-0/+12
| | | | | Problem: The mark '] is wrong after put with a count. (Naohiro Ono) Solution: Use the right line number. (closes #8956)
* patch 8.2.3497: put test fails when run by itselfv8.2.3497Dominique Pelle2021-10-111-0/+2
| | | | | Problem: Put test fails when run by itself. Solution: Source check.vim. (Dominique Pellé, closes #8990)
* patch 8.2.3493: large count test fails on MS-Windowsv8.2.3493Bram Moolenaar2021-10-101-1/+4
| | | | | Problem: Large count test fails on MS-Windows. Solution: Skip the test on MS-Windows.
* patch 8.2.3492: crash when pasting too many timesv8.2.3492Bram Moolenaar2021-10-101-0/+8
| | | | | Problem: Crash when pasting too many times. Solution: Limit the size to what fits in an int. (closes #8962)
* patch 8.2.3455: using a count with "gp" leaves '] in wrong positionv8.2.3455Bram Moolenaar2021-09-221-2/+4
| | | | | Problem: Using a count with "gp" leaves '] in wrong position. (Naohiro Ono) Solution: Correct the mark position. (closes #8899)
* patch 8.2.3454: using a count with "gp" leave cursor in wrong positionv8.2.3454Bram Moolenaar2021-09-221-0/+10
| | | | | | Problem: Using a count with "gp" leave cursor in wrong position. (Naohiro Ono) Solution: Count the inserted lines. (closes #8899)
* patch 8.2.1593: tests do not check the error number properlyv8.2.1593Bram Moolenaar2020-09-041-7/+7
| | | | | Problem: Tests do not check the error number properly.0 Solution: Add a colon after the error number. (closes #6869)
* patch 8.2.1547: various comment problemsv8.2.1547Bram Moolenaar2020-08-301-5/+3
| | | | | Problem: Various comment problems. Solution: Update comments.
* patch 8.2.0369: various Normal mode commands not fully testedv8.2.0369Bram Moolenaar2020-03-101-0/+12
| | | | | Problem: Various Normal mode commands not fully tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5751)
* patch 8.1.1996: more functions can be used as methodsv8.1.1996Bram Moolenaar2019-09-061-1/+1
| | | | | Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
* patch 8.1.1925: more functions can be used as methodsv8.1.1925Bram Moolenaar2019-08-241-1/+1
| | | | | Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
* patch 8.1.1373: "[p" in Visual mode puts in wrong linev8.1.1373Bram Moolenaar2019-05-231-0/+12
| | | | | | Problem: "[p" in Visual mode puts in wrong line. Solution: Call nv_put() instead of duplicating the functionality. (closes #4408)
* patch 8.1.0811: too many #ifdefsv8.1.0811Bram Moolenaar2019-01-241-3/+0
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter.
* patch 8.1.0119: failing test goes unnoticed because messages is not writtenv8.1.0119Bram Moolenaar2018-06-271-2/+2
| | | | | | Problem: Failing test goes unnoticed because testdir/messages is not written. Solution: Set 'nomodifiable' only local to the buffer.
* patch 8.1.0118: duplicate error message for put commandv8.1.0118Bram Moolenaar2018-06-271-0/+46
| | | | | Problem: Duplicate error message for put command. Solution: Check return value of u_save(). (Jason Franklin)
* patch 8.1.0022: repeating put from expression register failsv8.1.0022Bram Moolenaar2018-05-231-0/+13
| | | | | | Problem: Repeating put from expression register fails. Solution: Re-evaluate the expression register. (Andy Massimino, closes #2945)
* patch 8.0.0681: unnamed register only contains the last deleted textv8.0.0681Bram Moolenaar2017-06-271-0/+11
| | | | | | Problem: Unnamed register only contains the last deleted text when appending deleted text to a register. (Wolfgang Jeltsch) Solution: Only set y_previous when not using y_append. (Christian Brabandt)
* patch 8.0.0234: crash when using put in Visual modev8.0.0234Bram Moolenaar2017-01-241-0/+13
| | | | | | Problem: When several lines are visually selected and one of them is short, using put may cause a crash. (Axel Bender) Solution: Check for a short line. (Christian Brabandt)
* patch 8.0.0225: put in Visual block mode terminates earlyv8.0.0225Bram Moolenaar2017-01-231-0/+11
| | | | | | | Problem: When a block is visually selected and put is used on the end of the selection only one line is changed. Solution: Check for the end properly. (Christian Brabandt, neovim issue 5781)
* patch 8.0.0222: blockwise put on multi-byte character misplacedv8.0.0222Bram Moolenaar2017-01-221-0/+12
Problem: When a multi-byte character ends in a zero byte, putting blockwise text puts it before the character instead of after it. Solution: Use int instead of char for the character under the cursor. (Luchr, closes #1403) Add a test.