Add new pref maxCodeHints

For #9529.
I confirmed this is a performance boost for Code Hints.
Nevermind -- I can see that code works just as well. There's no need to correctly truncate any fraction -- just determine whether or not there is a fraction.