Lines Matching defs:StartIndex
1130 llvm::Expected<size_t> StartIndex = positionToOffset(Contents, Start, false);
1131 inferFinalNewline(StartIndex, Contents, Start);
1132 if (!StartIndex)
1133 return StartIndex.takeError();
1141 if (*EndIndex < *StartIndex)
1151 // EndIndex and StartIndex are in bytes, but Change.rangeLength is in UTF-16
1154 lspLength(Contents.substr(*StartIndex, *EndIndex - *StartIndex));
1162 Contents.replace(*StartIndex, *EndIndex - *StartIndex, Change.text);