diff: fix LineStatusTracker highlighter ranges

fix issue with insertion of empty string (in the middle of file, issue with the end of file still present)

bug caused by 7be7a24449d9a6ebd65e93f5f28e7c9069517947