Searched refs:indexForPosition (Results 1 – 1 of 1) sorted by relevance
317 static int indexForPosition(HTMLElement* innerEditor, const Position& passedPosition) in indexForPosition() function370 ASSERT(start == indexForPosition(innerEditor, startPosition)); in setSelectionRange()371 ASSERT(end == indexForPosition(innerEditor, endPosition)); in setSelectionRange()431 return indexForPosition(innerEditorElement(), frame->selection().start()); in computeSelectionStart()450 return indexForPosition(innerEditorElement(), frame->selection().end()); in computeSelectionEnd()