Lines Matching refs:CaretEnd
340 unsigned CaretStart = 0, CaretEnd = CaretLine.size(); in selectInterestingSourceRegion() local
341 for (; CaretStart != CaretEnd; ++CaretStart) in selectInterestingSourceRegion()
345 for (; CaretEnd != CaretStart; --CaretEnd) in selectInterestingSourceRegion()
346 if (!isWhitespace(CaretLine[CaretEnd - 1])) in selectInterestingSourceRegion()
372 CaretEnd = std::max(FixItEndCol, CaretEnd); in selectInterestingSourceRegion()
378 while (static_cast<int>(CaretEnd) < map.columns() && in selectInterestingSourceRegion()
379 -1 == map.columnToByte(CaretEnd)) in selectInterestingSourceRegion()
380 ++CaretEnd; in selectInterestingSourceRegion()
386 assert((static_cast<int>(CaretEnd) > map.columns() || in selectInterestingSourceRegion()
387 -1!=map.columnToByte(CaretEnd)) && in selectInterestingSourceRegion()
398 unsigned SourceEnd = map.columnToByte(std::min<unsigned>(CaretEnd, in selectInterestingSourceRegion()
401 unsigned CaretColumnsOutsideSource = CaretEnd-CaretStart in selectInterestingSourceRegion()
471 CaretEnd = map.byteToColumn(SourceEnd) + CaretColumnsOutsideSource; in selectInterestingSourceRegion()
475 assert(CaretStart!=(unsigned)-1 && CaretEnd!=(unsigned)-1 && in selectInterestingSourceRegion()
478 assert(CaretStart <= CaretEnd); in selectInterestingSourceRegion()
483 unsigned ColumnsKept = CaretEnd-CaretStart; in selectInterestingSourceRegion()