#transformSelectionIn 

 fixed offset calculation - texpart contains whitespace when selection reaches after end of line, but block coordinates are accurate