Editor : doc and test for `highlightSelectedWord`