Lines Matching refs:EndColNo
934 unsigned EndColNo = map.getSourceLine().size(); in highlightRange() local
936 EndColNo = SM.getExpansionColumnNumber(End); in highlightRange()
937 if (EndColNo) { in highlightRange()
938 --EndColNo; // Zero base the col #. in highlightRange()
943 EndColNo += Lexer::MeasureTokenLength(End, SM, LangOpts); in highlightRange()
945 EndColNo = CaretLine.size(); in highlightRange()
949 assert(StartColNo <= EndColNo && "Invalid range!"); in highlightRange()
960 if (EndColNo > map.getSourceLine().size()) in highlightRange()
961 EndColNo = map.getSourceLine().size(); in highlightRange()
962 while (EndColNo && in highlightRange()
963 (map.getSourceLine()[EndColNo-1] == ' ' || in highlightRange()
964 map.getSourceLine()[EndColNo-1] == '\t')) in highlightRange()
965 EndColNo = map.startOfPreviousColumn(EndColNo); in highlightRange()
970 assert(StartColNo <= EndColNo && "Trying to highlight whitespace??"); in highlightRange()
974 assert(EndColNo <= map.getSourceLine().size() && "Invalid range!"); in highlightRange()
978 EndColNo = map.byteToContainingColumn(EndColNo); in highlightRange()
980 assert(StartColNo <= EndColNo && "Invalid range!"); in highlightRange()
981 if (CaretLine.size() < EndColNo) in highlightRange()
982 CaretLine.resize(EndColNo,' '); in highlightRange()
983 std::fill(CaretLine.begin()+StartColNo,CaretLine.begin()+EndColNo,'~'); in highlightRange()