Add Orion overlay method for getCaretOffset