toggle paste mode and search highlight