Added syntax highlighting for history substring search