try to set cursor position after reformat. --> we need separate
editorsessions