Pasting a text selection by clicking the middle mouse button doesn't position the text cursor behind the inserted text.
Submitted by Evert Verhellen
Description of Problem: Pasting a text selection by clicking the middle mouse button should position the text cursor right behind the inserted text in order to be able to continue typing.
Steps to reproduce the problem:
Type in the following text (do no type the line numbers):
1 One Two Three 2 Four Five Six
Select "One ".
1 [One ]Two Three 2 Four Five Six
Click the middle mouse button in front of the word "Five".
1 [One ]Two Three 2 Four One Five Six
Actual Results: The text selection is pasted correctly. The text cursor is still behind the text selection (although invisible).
Expected Results: The text cursor should be positioned behind the inserted text in order to be able to continue typing.
- Press [space].
Actual Results: The text selection "One " on the 1st line is erased and replaced with a blank.
Expected Results: The text selection "One " on the 1st line should be cancelled and a blank should be inserted behind the inserted "One " on the 2nd line.
How often does this happen? Always.
Additional Information: This would make gedit2 have the same middle mouse button behaviour as NEdit.
Version Details: gtk2-126.96.36.199.200205130458-0.snap.ximian.1 gedit2-188.8.131.52.200205130458-0.snap.ximian.1