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

12

/macosx-10.9.5/WebCore-7537.78.1/editing/
H A DMoveSelectionCommand.cpp54 Position selectionStart = endingSelection().start(); local
55 if (selectionStart.anchorType() == Position::PositionIsOffsetInAnchor && selectionStart.containerNode() == pos.containerNode())
56 pos.moveToOffset(pos.offsetInContainerNode() + selectionStart.offsetInContainerNode());
H A DEditor.h309 void setComposition(const String&, const Vector<CompositionUnderline>&, unsigned selectionStart, unsigned selectionEnd);
315 bool getCompositionSelection(unsigned& selectionStart, unsigned& selectionEnd) const;
H A DEditor.cpp981 if (Node* selectionStart = selection.start().deprecatedNode()) {
982 RefPtr<Document> document = selectionStart->document();
1506 void Editor::setComposition(const String& text, const Vector<CompositionUnderline>& underlines, unsigned selectionStart, unsigned selectionEnd) argument
1591 unsigned start = min(baseOffset + selectionStart, extentOffset);
2526 bool Editor::getCompositionSelection(unsigned& selectionStart, unsigned& selectionEnd) const argument
2542 selectionStart = start.deprecatedEditingOffset() - m_compositionStart;
/macosx-10.9.5/WebCore-7537.78.1/bindings/js/
H A DJSHTMLInputElementCustom.cpp36 JSValue JSHTMLInputElement::selectionStart(ExecState* exec) const function in class:WebCore::JSHTMLInputElement
42 return jsNumber(input->selectionStart());
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DCodeMirrorTextEditor.js635 var selectionStart = this._codeMirror.getCursor("start");
637 if (selectionStart.line !== selectionEnd.line)
639 if (selectionStart.ch === selectionEnd.ch)
643 if (this._isWord(selectedText, selectionStart.line, selectionStart.ch, selectionEnd.ch))
644 this._codeMirror.operation(this._addHighlight.bind(this, selectedText, selectionStart));
659 this._codeMirror.removeLineClass(this._highlightDescriptor.selectionStart.line, "wrap", "cm-line-with-selection");
664 _addHighlight: function(token, selectionStart)
670 return stream.column() === selectionStart.ch ? "token-highlight column-with-selection" : "token-highlight";
682 this._codeMirror.addLineClass(selectionStart
685 selectionStart: selectionStart property in class:_addHighlight._codeMirror._codeMirror._codeMirror
[all...]
/macosx-10.9.5/WebCore-7537.78.1/html/
H A DHTMLTextAreaElement.idl50 attribute long selectionStart;
H A DHTMLTextFormControlElement.cpp205 setSelectionRange(min(end, selectionStart()), end, selectionDirection());
210 setSelectionRange(selectionStart(), selectionEnd(), direction);
222 return value().substring(selectionStart(), selectionEnd() - selectionStart());
243 setRangeText(replacement, selectionStart(), selectionEnd(), String(), ec);
256 unsigned newSelectionStart = selectionStart();
361 int HTMLTextFormControlElement::selectionStart() const function in class:WebCore::HTMLTextFormControlElement
502 // selectionStart() or selectionEnd() will return cached selection when this node doesn't have focus
H A DHTMLTextFormControlElement.h60 int selectionStart() const;
H A DHTMLInputElement.idl83 [Custom] attribute long selectionStart;
/macosx-10.9.5/WebCore-7537.78.1/bindings/objc/
H A DDOMHTML.mm121 int start = inputElement->selectionStart();
/macosx-10.9.5/WebKit-7537.78.2/blackberry/WebKitSupport/
H A DInputHandler.h196 int selectionStart() const;
199 bool selectionActive() const { return selectionStart() != selectionEnd(); }
H A DInputHandler.cpp1644 if (!selectionStart())
1657 return selectionStart() == static_cast<int>(elementText().length());
1660 int InputHandler::selectionStart() const function in class:BlackBerry::WebKit::InputHandler
1676 return start ? controlElement->selectionStart() : controlElement->selectionEnd();
1724 int newSelectionStart = selectionStart();
1728 "InputHandler::selectionChanged selectionStart=%u, selectionEnd=%u",
1756 "InputHandler::setSelection selectionStart=%u, selectionEnd=%u",
1759 return start == selectionStart() && end == selectionEnd();
1787 int selectionStartPosition = selectionStart();
2173 return selectionStart();
[all...]
/macosx-10.9.5/WebCore-7537.78.1/rendering/
H A DRenderReplaced.cpp531 int selectionStart, selectionEnd; local
532 selectionStartEnd(selectionStart, selectionEnd);
534 return selectionStart == 0;
540 return selectionStart == 0 && selectionEnd == end;
H A DRenderView.h91 RenderObject* selectionStart() const { return m_selectionStart; } function in class:WebCore::RenderView
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/qt/
H A DQtWebPageEventHandler.cpp356 int selectionStart = -1; local
361 selectionStart = attr.start;
364 ASSERT(selectionStart >= 0);
370 m_webPageProxy->confirmComposition(commit, selectionStart, selectionLength);
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/WebPage/mac/
H A DWebPageMac.mm269 void WebPage::setComposition(const String& text, Vector<CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd, EditorState& newState)
280 frame->editor().setComposition(text, underlines, selectionStart, selectionEnd);
573 VisiblePosition selectionStart = selection.visibleStart();
577 VisiblePosition paragraphStart = startOfParagraph(selectionStart);
580 int lengthToSelectionStart = TextIterator::rangeLength(makeRange(paragraphStart, selectionStart).get());
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/mac/
H A DWebPageProxyMac.mm186 void WebPageProxy::setComposition(const String& text, Vector<CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd)
194 process()->sendSync(Messages::WebPage::SetComposition(text, underlines, selectionStart, selectionEnd, replacementRangeStart, replacementRangeEnd), Messages::WebPage::SetComposition::Reply(m_editorState), m_pageID);
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/WebPage/
H A DWebPage.h456 void setComposition(const String& text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd);
457 void confirmComposition(const String& text, int64_t selectionStart, int64_t selectionLength);
471 void setComposition(const String& text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd, EditorState& newState);
H A DWebPage.cpp3945 void WebPage::confirmComposition(const String& compositionString, int64_t selectionStart, int64_t selectionLength) argument
3955 if (selectionStart == -1) {
3961 RefPtr<Range> selectionRange = TextIterator::rangeFromLocationAndLength(scope, selectionStart, selectionLength);
3962 ASSERT_WITH_MESSAGE(selectionRange, "Invalid selection: [%lld:%lld] in text of length %d", static_cast<long long>(selectionStart), static_cast<long long>(selectionLength), scope->innerText().length());
3971 void WebPage::setComposition(const String& text, Vector<CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementStart, uint64_t replacementLength) argument
3990 targetFrame->editor().setComposition(text, underlines, selectionStart, selectionEnd);
/macosx-10.9.5/WebKit-7537.78.2/win/
H A DDOMHTMLClasses.cpp1264 HRESULT STDMETHODCALLTYPE DOMHTMLInputElement::selectionStart( function in class:DOMHTMLInputElement
1269 *start = inputElement->selectionStart();
1352 *start = inputElement->selectionStart();
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/
H A DWebPageProxy.h381 void setComposition(const String& text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd);
382 void confirmComposition(const String& compositionString, int64_t selectionStart, int64_t selectionLength);
397 void setComposition(const String& text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd);
H A DWebPageProxy.cpp4479 void WebPageProxy::setComposition(const String& text, Vector<CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd) argument
4485 process()->send(Messages::WebPage::SetComposition(text, underlines, selectionStart, selectionEnd, replacementRangeStart, replacementRangeEnd), m_pageID);
4488 void WebPageProxy::confirmComposition(const String& compositionString, int64_t selectionStart, int64_t selectionLength) argument
4493 process()->send(Messages::WebPage::ConfirmComposition(compositionString, selectionStart, selectionLength), m_pageID);
/macosx-10.9.5/WebKit-7537.78.2/blackberry/Api/
H A DWebPageClient.h143 virtual void inputSelectionChanged(unsigned selectionStart, unsigned selectionEnd) = 0;
/macosx-10.9.5/WebKit-7537.78.2/win/Interfaces/
H A DDOMHTML.idl796 // attribute long selectionStart;
798 HRESULT selectionStart([out, retval] long* start);
/macosx-10.9.5/WebCore-7537.78.1/accessibility/
H A DAccessibilityObject.h627 unsigned selectionStart() const { return selectedTextRange().start; } function in class:WebCore::AccessibilityObject

Completed in 354 milliseconds

12