Searched refs:selectionStart (Results 1 - 25 of 30) sorted by relevance

12

/external/webkit/WebCore/editing/
H A DMoveSelectionCommand.cpp56 Position selectionStart = selection.start(); local
57 if (selectionStart.node() == positionNode) {
58 positionOffset += selectionStart.deprecatedEditingOffset();
H A DEditor.h257 void setComposition(const String&, const Vector<CompositionUnderline>&, unsigned selectionStart, unsigned selectionEnd);
262 bool getCompositionSelection(unsigned& selectionStart, unsigned& selectionEnd) const;
H A DEditor.cpp89 Node* selectionStart = selection.start().node(); local
90 if (target && (!selectionStart || target->shadowAncestorNode() != selectionStart->shadowAncestorNode())) {
962 if (Node* selectionStart = selection.start().node()) {
963 RefPtr<Document> document = selectionStart->document();
1395 void Editor::setComposition(const String& text, const Vector<CompositionUnderline>& underlines, unsigned selectionStart, unsigned selectionEnd) argument
1466 unsigned start = min(baseOffset + selectionStart, extentOffset);
2638 bool Editor::getCompositionSelection(unsigned& selectionStart, unsigned& selectionEnd) const argument
2654 selectionStart = start.deprecatedEditingOffset() - m_compositionStart;
/external/webkit/WebCore/bindings/js/
H A DJSHTMLInputElementCustom.cpp70 JSValue JSHTMLInputElement::selectionStart(ExecState* exec) const function in class:WebCore::JSHTMLInputElement
76 return jsNumber(exec, input->selectionStart());
/external/webkit/WebCore/html/
H A DHTMLTextAreaElement.idl50 attribute long selectionStart;
H A DHTMLInputElement.idl87 attribute [Custom] long selectionStart;
H A DHTMLFormControlElement.h162 int selectionStart();
H A DHTMLFormControlElement.cpp490 int HTMLTextFormControlElement::selectionStart() function in class:WebCore::HTMLTextFormControlElement
498 return toRenderTextControl(renderer())->selectionStart();
/external/webkit/WebCore/rendering/
H A DSVGInlineTextBox.cpp325 bool SVGInlineTextBox::chunkSelectionStartEnd(const UChar* chunk, int chunkLength, int& selectionStart, int& selectionEnd) argument
333 selectionStartEnd(selectionStart, selectionEnd);
336 if (chunkStart + chunkLength <= selectionStart)
340 selectionStart -= chunkStart;
343 if (selectionStart < 0)
344 selectionStart = 0;
348 return selectionStart < selectionEnd;
428 int selectionStart = 0; local
430 bool haveSelectedRange = haveSelection && chunkSelectionStartEnd(chars, length, selectionStart, selectionEnd);
434 paintInfo.context->drawText(font, run, origin, 0, selectionStart);
[all...]
H A DRenderReplaced.cpp310 int selectionStart, selectionEnd; local
311 selectionStartEnd(selectionStart, selectionEnd);
313 return selectionStart == 0;
319 return selectionStart == 0 && selectionEnd == end;
H A DSVGInlineTextBox.h88 bool chunkSelectionStartEnd(const UChar* chunk, int chunkLength, int& selectionStart, int& selectionEnd);
H A DRenderTextControl.h43 int selectionStart();
H A DRenderTextControl.cpp211 int RenderTextControl::selectionStart() function in class:WebCore::RenderTextControl
234 setSelectionRange(min(end, selectionStart()), end);
500 cacheSelection(selectionStart(), selectionEnd());
H A DRenderView.h72 virtual RenderObject* selectionStart() const { return m_selectionStart; } function in class:WebCore::RenderView
H A DSVGRootInlineBox.cpp368 int selectionStart = 0, selectionEnd = 0; local
369 box->renderer()->selectionStartEnd(selectionStart, selectionEnd);
370 return selectionStart < selectionEnd;
/external/webkit/WebCore/bindings/v8/custom/
H A DV8HTMLInputElementCustom.cpp43 INC_STATS("DOM.HTMLInputElement.selectionStart._get");
48 return throwError("Accessing selectionStart on an input element that cannot have a selection.");
50 int v = imp->selectionStart();
56 INC_STATS("DOM.HTMLInputElement.selectionStart._set");
61 throwError("Accessing selectionStart on an input element that cannot have a selection.");
/external/webkit/WebCore/bindings/objc/
H A DDOMHTML.mm138 int start = inputElement->selectionStart();
H A DPublicDOMInterfaces.h618 @property int selectionStart AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;
891 @property int selectionStart AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;
/external/webkit/WebKit/win/
H A DDOMHTMLClasses.cpp1262 HRESULT STDMETHODCALLTYPE DOMHTMLInputElement::selectionStart( function in class:DOMHTMLInputElement
1267 *start = inputElement->selectionStart();
1350 *start = inputElement->selectionStart();
/external/webkit/WebCore/wml/
H A DWMLInputElement.cpp450 cursorPosition = toRenderTextControl(renderer())->selectionStart();
/external/webkit/WebKit/win/Interfaces/
H A DDOMHTML.idl795 // attribute long selectionStart;
797 HRESULT selectionStart([out, retval] long* start);
/external/webkit/WebCore/accessibility/
H A DAccessibilityObject.h398 unsigned selectionStart() const { return selectedTextRange().start; } function in class:WebCore::AccessibilityObject
H A DAccessibilityRenderObject.cpp1693 return textControl->text().substring(textControl->selectionStart(), textControl->selectionEnd() - textControl->selectionStart());
1730 return PlainTextRange(textControl->selectionStart(), textControl->selectionEnd() - textControl->selectionStart());
/external/webkit/WebKit/chromium/src/
H A DEditorClientImpl.cpp747 isCaretAtEnd = inputElement->selectionStart() == inputElement->selectionEnd()
/external/webkit/WebKit/qt/Api/
H A Dqwebpage.cpp1461 int start = renderTextControl->selectionStart();
1474 return QVariant(renderTextControl->selectionStart() - TextIterator::rangeLength(range.get()));
1476 return QVariant(renderTextControl->selectionStart());

Completed in 521 milliseconds

12