speeding up syntax highlighting