Move cursor to the end of the insertion after pasing in a Textbox

This commit is contained in:
Simon Robertshaw 2012-07-28 14:24:15 +01:00
parent fc93b71485
commit dddc04e412

View File

@ -162,6 +162,7 @@ void Textbox::pasteIntoSelection()
cursor = getLowerSelectionBound();
}
backingText.insert(cursor, newText);
cursor = cursor+newText.length();
ClearSelection();
if(masked)