How does auto Highlight all code works?

Yes. That is correct.