comparison src/ops.c @ 29627:dd96f3d8ed85 v9.0.0154

patch 9.0.0154: text properties wrong after splitting a line Commit: https://github.com/vim/vim/commit/7d0f7e9524975ebcc3c7d98b5507de1b7df74370 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 6 17:10:57 2022 +0100 patch 9.0.0154: text properties wrong after splitting a line Problem: Text properties wrong after splitting a line. Solution: Check for text properties after the line. (closes https://github.com/vim/vim/issues/10857)
author Bram Moolenaar <Bram@vim.org>
date Sat, 06 Aug 2022 18:15:03 +0200
parents e357bc89bb95
children 89e1d67814a9
comparison
equal deleted inserted replaced
29626:e64d1aee6bfe 29627:dd96f3d8ed85
1942 1942
1943 return line; 1943 return line;
1944 } 1944 }
1945 1945
1946 /* 1946 /*
1947 * Join 'count' lines (minimal 2) at cursor position. 1947 * Join 'count' lines (minimal 2) at the cursor position.
1948 * When "save_undo" is TRUE save lines for undo first. 1948 * When "save_undo" is TRUE save lines for undo first.
1949 * Set "use_formatoptions" to FALSE when e.g. processing backspace and comment 1949 * Set "use_formatoptions" to FALSE when e.g. processing backspace and comment
1950 * leaders should not be removed. 1950 * leaders should not be removed.
1951 * When setmark is TRUE, sets the '[ and '] mark, else, the caller is expected 1951 * When setmark is TRUE, sets the '[ and '] mark, else, the caller is expected
1952 * to set those marks. 1952 * to set those marks.