add: optimize syntax highlighting and scrolling