Add cursor highlight setting and optimize wrap setting