Implemented basic selection highlighting.