Searched refs:docTextPosition (Results 1 – 1 of 1) sorted by relevance
76 size_t docTextPosition = 0; in createRangeFor() local97 bool foundStart = start() >= docTextPosition && start() <= docTextPosition + len; in createRangeFor()98 bool foundEnd = end() >= docTextPosition && end() <= docTextPosition + len; in createRangeFor()123 int offset = start() - docTextPosition; in createRangeFor()126 if (start() == docTextPosition) in createRangeFor()135 int offset = end() - docTextPosition; in createRangeFor()138 if (end() == docTextPosition) in createRangeFor()143 docTextPosition += len; in createRangeFor()146 docTextPosition += len; in createRangeFor()152 if (length() && end() > docTextPosition) { // end() is out of bounds in createRangeFor()