tomasr / viasfora

A Visual Studio Extension containing miscellaneous improvements to the editor.
Other
557 stars 90 forks source link

C++ Format Specifiers not showing up perfectly #320

Closed Pcres91 closed 2 years ago

Pcres91 commented 2 years ago

two-letter format specifiers seem to not come out nicely.

printf("Read failed 0x%lx (%lu)", address, size);

This should highlight lx and lu as part of the format specifier, but only the l is in both cases. The same happens for 3-letter specifiers too - only the first letter is highlighted.

tomasr commented 2 years ago

Thanks for the reports. I've made a few changes to try to improve this handling.