Fixing editor circumflex accent bug : making sure selection parsing is called after each input and not twice