Commit 1ead9ce
authored
Fix regression in CopyLine, CutLine, DeleteLine for last line (zyedidia#3519)
Fix regression introduced in commit fdacb28 ("CopyLine, CutLine,
DeleteLine: respect selection"): when CopyLine, CutLine or DeleteLine is
done in the last line of the buffer and this line is not empty, this
line gets selected but does not get copied/cut/deleted (and worse, it
remains selected).1 parent b3227d6 commit 1ead9ce
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1300 | 1300 | | |
1301 | 1301 | | |
1302 | 1302 | | |
1303 | | - | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
1304 | 1310 | | |
1305 | 1311 | | |
1306 | 1312 | | |
| |||
0 commit comments