Cursor now properly moved to selected position.
Switched to paragraphs from sentences for regex. New issue with system need a tailing linefeed
Page overflow error fixed.