Home
last modified time | relevance | path

Searched refs:docTextPosition (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DPlainTextRange.cpp76 size_t docTextPosition = 0; in createRangeFor() local
97 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()