Home | History | Annotate | Download | only in editing

Lines Matching refs:caret

269         // FIXME: We sometimes allow deletions at the start of editable roots, like when the caret is in an empty list item.
608 // The selection is either a caret with no typing attributes or a range in which no embedding is added, so just use the start position
2152 // Attempt to save the caret position so we can restore it later if needed
2303 // Restore the caret position if we have made any replacements
2516 VisiblePosition caret = selection.visibleStart();
2517 VisiblePosition next = isEndOfParagraph(caret) ? caret : caret.next();
2736 // For example when you press return in the following (the caret is marked by ^):
2739 // change the caret's DOM position (["hello", 0]). In these situations the above SelectionController::setSelection call
2841 // We only do this for range because caret at Position("hello", 5) in <b>hello</b>world should give you font-weight: bold.