Fix Issue #2875: CSS code hints overwrite 1 char too many on current line

In the case where the CSS code hint replaces a text and adds a ":" at the end, it shouldn't expand the length of the replaced text to make space for the additional character.