There is no need to extend the replaced text when adding a :
Merge pull request #2884 from TomMalbran/tom/fix-issue-2875

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