Use both highlightingModeAt and highlightingMode
Using only one is a bad choice because it could be that it returns ISO C++ for some location, but the snippet wants C++. This is just bad, the user should not need to care about these details. Instead just use the both. (cherry picked from commit 4478e509)
Please register or sign in to comment