Selecting text in the editor after clicking on treeview item.