Fix panic in completions menu

We were shifting all the positions while keeping the original
string, which caused problems later when combining highlighted
ranges with matched indices.
a551647ec1Antonio Scandurra committed on 12/22/2023, 11:12:39 AMparent3de72f8
1 file changedLine totals unavailable