Lines Matching refs:CaretEnd
341 unsigned CaretStart = 0, CaretEnd = CaretLine.size(); in selectInterestingSourceRegion() local
342 for (; CaretStart != CaretEnd; ++CaretStart) in selectInterestingSourceRegion()
346 for (; CaretEnd != CaretStart; --CaretEnd) in selectInterestingSourceRegion()
347 if (!isWhitespace(CaretLine[CaretEnd - 1])) in selectInterestingSourceRegion()
373 CaretEnd = std::max(FixItEndCol, CaretEnd); in selectInterestingSourceRegion()
379 while (static_cast<int>(CaretEnd) < map.columns() && in selectInterestingSourceRegion()
380 -1 == map.columnToByte(CaretEnd)) in selectInterestingSourceRegion()
381 ++CaretEnd; in selectInterestingSourceRegion()
387 assert((static_cast<int>(CaretEnd) > map.columns() || in selectInterestingSourceRegion()
388 -1!=map.columnToByte(CaretEnd)) && in selectInterestingSourceRegion()
399 unsigned SourceEnd = map.columnToByte(std::min<unsigned>(CaretEnd, in selectInterestingSourceRegion()
402 unsigned CaretColumnsOutsideSource = CaretEnd-CaretStart in selectInterestingSourceRegion()
472 CaretEnd = map.byteToColumn(SourceEnd) + CaretColumnsOutsideSource; in selectInterestingSourceRegion()
478 assert(CaretStart!=(unsigned)-1 && CaretEnd!=(unsigned)-1 && in selectInterestingSourceRegion()
481 assert(CaretStart <= CaretEnd); in selectInterestingSourceRegion()
486 unsigned ColumnsKept = CaretEnd-CaretStart; in selectInterestingSourceRegion()