Lines Matching refs:EndColNo
942 unsigned EndColNo = map.getSourceLine().size(); in highlightRange() local
944 EndColNo = SM.getExpansionColumnNumber(End); in highlightRange()
945 if (EndColNo) { in highlightRange()
946 --EndColNo; // Zero base the col #. in highlightRange()
951 EndColNo += Lexer::MeasureTokenLength(End, SM, LangOpts); in highlightRange()
953 EndColNo = CaretLine.size(); in highlightRange()
957 assert(StartColNo <= EndColNo && "Invalid range!"); in highlightRange()
968 if (EndColNo > map.getSourceLine().size()) in highlightRange()
969 EndColNo = map.getSourceLine().size(); in highlightRange()
970 while (EndColNo && in highlightRange()
971 (map.getSourceLine()[EndColNo-1] == ' ' || in highlightRange()
972 map.getSourceLine()[EndColNo-1] == '\t')) in highlightRange()
973 EndColNo = map.startOfPreviousColumn(EndColNo); in highlightRange()
978 assert(StartColNo <= EndColNo && "Trying to highlight whitespace??"); in highlightRange()
982 assert(EndColNo <= map.getSourceLine().size() && "Invalid range!"); in highlightRange()
986 EndColNo = map.byteToContainingColumn(EndColNo); in highlightRange()
988 assert(StartColNo <= EndColNo && "Invalid range!"); in highlightRange()
989 if (CaretLine.size() < EndColNo) in highlightRange()
990 CaretLine.resize(EndColNo,' '); in highlightRange()
991 std::fill(CaretLine.begin()+StartColNo,CaretLine.begin()+EndColNo,'~'); in highlightRange()