paste_selection (3382B)
1 2 3 4 0 one 5 1 two 6 2 three <-- rows_count = 3 7 8 9 |line... 10 foo blurfle| <-- paste_count = 2 11 12 13 0 oneline... <-- state->row == 0 14 1 foo blurfletwo column == 3 15 2 three <-- rows_count - state->row - state->paste_count - 1 == 16 == 3 - 0 - 2 - 1 = 0 17 18 |line... 19 another line 20 foo blurfle| <-- paste_count == 3 21 22 0 one 23 1 two 24 2 three <-- row == 2 25 3 four 26 4 five 27 5 six 28 6 seven 29 7 eight <-- rows_count == 8 30 31 rows_count - row - paste_count + 1 == 8 - 0 - 3 + 1 == 6 32 33 0 one row = 6..1 34 1 two 35 2 threeline... 2 + 3 - 2 + row 36 3 another line == 2 + 3 - 2 + 6 == 9 37 4 foo blurflefour 38 5 five 2 + 3 - 2 + row - 1 39 6 six == 2 + 3 - 2 + 6 - 1 == 8 40 7 seven 41 8 eight 42