n1k0 / SublimeHighlight

A humble SublimeText package for exporting highlighted code as RTF or HTML
https://github.com/n1k0/SublimeHighlight
MIT License
788 stars 105 forks source link

Crash under Win7 when copying C code #71

Open renatopanda opened 7 years ago

renatopanda commented 7 years ago

Using win7 64bits + sublime text 3.

When I try to copy the following line of code in RTF the plugin_host hangs using all the cpu (thread).

printf("%d meters= %.3f km\n", m, km);

At least here it seems to be caused by the usage of the "%.3f", since it works with just the usual %f.