Enable highlights only when editor mode is on.