Searched refs:textNode (Results 1 - 25 of 41) sorted by relevance

12

/macosx-10.9.5/WebCore-7537.78.1/editing/
H A DInsertTextCommand.cpp62 RefPtr<Node> textNode = document()->createEditingTextNode(""); local
63 insertNodeAtTabSpanPosition(textNode.get(), pos);
64 return firstPositionInNode(textNode.get());
70 RefPtr<Node> textNode = document()->createEditingTextNode(""); local
71 insertNodeAt(textNode.get(), pos);
72 return firstPositionInNode(textNode.get());
114 RefPtr<Text> textNode = start.containerText(); local
115 if (!textNode)
118 unsigned count = std::min(text.length(), textNode->length() - start.offsetInContainerNode());
122 replaceTextInNode(textNode, star
202 RefPtr<Text> textNode = startPosition.containerText(); local
245 RefPtr<Text> textNode = toText(node); local
257 RefPtr<Text> textNode = toText(node); local
[all...]
H A DInsertLineBreakCommand.cpp142 Text* textNode = toText(pos.deprecatedNode()); local
143 splitTextNode(textNode, pos.deprecatedEditingOffset());
144 insertNodeBefore(nodeToInsert, textNode);
145 Position endingPosition = firstPositionInNode(textNode);
150 Position positionBeforeTextNode(positionInParentBeforeNode(textNode));
153 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace());
154 // Deleting insignificant whitespace will remove textNode if it contains nothing but insignificant whitespace.
155 if (textNode->inDocument())
156 insertTextIntoNode(textNode,
[all...]
H A DCreateLinkCommand.cpp53 RefPtr<Text> textNode = Text::create(document(), m_url); local
54 appendNode(textNode.get(), anchorElement.get());
H A DInsertParagraphSeparatorCommand.cpp335 Text* textNode = toText(leadingWhitespace.deprecatedNode()); local
336 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace());
337 replaceTextInNodePreservingMarkers(textNode, leadingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString());
343 RefPtr<Text> textNode = toText(insertionPosition.containerNode()); local
344 bool atEnd = static_cast<unsigned>(insertionPosition.offsetInContainerNode()) >= textNode->length();
346 splitTextNode(textNode, insertionPosition.offsetInContainerNode());
347 positionAfterSplit = firstPositionInNode(textNode.get());
348 if (!textNode->previousSibling())
350 insertionPosition.moveToPosition(textNode
[all...]
H A DDictationCommand.cpp64 virtual void addMarkersToTextNode(Text* textNode, unsigned offsetOfInsertion, const String& textToBeInserted) argument
66 Document* document = textNode->document();
70 markerController->addMarkerToNode(textNode, alternative.rangeStart + offsetOfInsertion, alternative.rangeLength, DocumentMarker::DictationAlternatives, DictationMarkerDetails::create(textToBeInserted.substring(alternative.rangeStart, alternative.rangeLength), alternative.dictationContext));
71 markerController->addMarkerToNode(textNode, alternative.rangeStart + offsetOfInsertion, alternative.rangeLength, DocumentMarker::SpellCheckingExemption);
H A DCompositeEditCommand.cpp520 RefPtr<Text> textNode = start.containerText();
521 replaceTextInNode(textNode, start.offsetInContainerNode(), end.offsetInContainerNode() - start.offsetInContainerNode(), text);
523 return Position(textNode.release(), start.offsetInContainerNode() + text.length());
630 Text* textNode = toText(node);
631 if (textNode->length() == 0)
634 RenderObject* renderer = textNode->renderer();
662 RefPtr<Text> textNode = prpTextNode; local
664 String text = textNode->data();
680 VisiblePosition visibleUpstreamPos(Position(textNode, upstream));
681 VisiblePosition visibleDownstreamPos(Position(textNode, downstrea
733 deleteInsignificantText(PassRefPtr<Text> textNode, unsigned start, unsigned end) argument
831 Text* textNode = nodes[i].get(); local
1089 Text* textNode = toText(node); local
1384 Text* textNode = toText(caretPos.deprecatedNode()); local
[all...]
H A DBreakBlockquoteCommand.cpp111 Text* textNode = toText(startNode); local
112 if ((unsigned)pos.deprecatedEditingOffset() >= textNode->length()) {
116 splitTextNode(textNode, pos.deprecatedEditingOffset());
H A DApplyBlockElementCommand.cpp159 Node* textNode = position.containerNode(); local
161 if (!textNode || !textNode->isTextNode() || offset < 0 || offset >= textNode->maxCharacterOffset())
165 String textAtPosition = toText(textNode)->substringData(offset, 1, ec);
H A DTextIterator.h122 void emitCharacter(UChar, Node* textNode, Node* offsetBaseNode, int textStartOffset, int textEndOffset);
123 void emitText(Node* textNode, RenderObject* renderObject, int textStartOffset, int textEndOffset);
124 void emitText(Node* textNode, int textStartOffset, int textEndOffset);
H A DDeleteSelectionCommand.cpp567 Text* textNode = toText(m_leadingWhitespace.deprecatedNode()); local
568 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace());
569 replaceTextInNodePreservingMarkers(textNode, m_leadingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString());
572 Text* textNode = toText(m_trailingWhitespace.deprecatedNode()); local
573 ASSERT(!textNode->renderer() ||textNode->renderer()->style()->collapseWhiteSpace());
574 replaceTextInNodePreservingMarkers(textNode, m_trailingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString());
H A Dmarkup.cpp258 const Text* textNode = static_cast<const Text*>(node); local
260 unsigned endOffset = textNode->length();
806 RefPtr<Node> textNode = document->createTextNode(stringWithRebalancedWhitespace(s, first, i + 1 == numEntries)); local
807 paragraph->appendChild(textNode.release(), ASSERT_NO_EXCEPTION);
1122 RefPtr<Text> textNode = Text::create(containerNode->document(), text); local
1125 containerNode->replaceChild(textNode.release(), containerNode->firstChild(), ec);
1130 containerNode->appendChild(textNode.release(), ec);
/macosx-10.9.5/tcl-102/tcl_ext/tclxml/tcldom/library/
H A Ddom.tcl29 namespace export element textNode attribute
51 foreach p {DOMImplementation hasFeature createDocument create createDocumentType createNode destroy isNode parse selectNode serialize trim document documentFragment node element textNode attribute processingInstruction event} {
H A Dxmlswitch.tcl39 text textNode
441 text,textNode -
H A Ddomimpl.tcl40 namespace export element textNode attribute
900 # Append a textNode node to the given (parent) node (if any).
937 node:nodeType textNode \
1120 textNode {
1225 nodeValue,textNode -
1435 textNode {
1455 # If this is a textNode, then catch the error
1530 textNode {
1541 textNode -
2155 set textNode {}
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tclxml/tcldom/examples/
H A Dcgi2dom.tcl41 textNode {
H A Ddomtext.tcl416 textNode {
756 if {[string compare [dom::node cget $node -nodeType] "textNode"]} {
851 textNode {
856 # child textNode, or if none to immediately following
859 if {[string length $fc] && [::dom::node cget $fc -nodeType] == "textNode"} {
921 # If selected node is a textNode move around the text itself
926 textNode,<Key-Up> {
943 textNode,<Key-Down> {
961 textNode,<Key-Left> {
974 textNode,<Ke
[all...]
/macosx-10.9.5/WebCore-7537.78.1/dom/
H A DAttr.cpp81 RefPtr<Text> textNode = document()->createTextNode(value().string()); local
85 textNode->setParentOrShadowHostNode(this);
86 setFirstChild(textNode.get());
87 setLastChild(textNode.get());
H A DNodeRenderingContext.cpp303 Text* textNode = toText(m_node); local
310 Document* document = textNode->document();
317 if (!textNode->textRendererIsNeeded(*this))
319 RenderText* newRenderer = textNode->createTextRenderer(document->renderArena(), m_style.get());
332 textNode->setRenderer(newRenderer);
/macosx-10.9.5/WebCore-7537.78.1/inspector/
H A DDOMEditor.cpp256 ReplaceWholeTextAction(Text* textNode, const String& text) argument
258 , m_textNode(textNode)
387 bool DOMEditor::replaceWholeText(Text* textNode, const String& text, ExceptionCode& ec) argument
389 return m_history->perform(adoptPtr(new ReplaceWholeTextAction(textNode, text)), ec);
450 bool DOMEditor::replaceWholeText(Text* textNode, const String& text, ErrorString* errorString) argument
453 bool result = replaceWholeText(textNode, text, ec);
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DElementsTreeOutline.js533 var textNode = event.target.enclosingNodeOrSelfWithClass("webkit-html-text-node"); variable
534 if (textNode && textNode.hasStyleClass("bogus"))
535 textNode = null;
538 if (textNode) {
540 treeElement._populateTextContextMenu(contextMenu, textNode);
546 treeElement._populateNodeContextMenu(contextMenu, textNode);
1229 var textNode = eventTarget.enclosingNodeOrSelfWithClass("webkit-html-text-node");
1230 if (textNode)
1231 return this._startEditingTextNode(textNode);
[all...]
H A DTextPrompt.js599 var textNode = document.createTextNode(text); variable
600 this.autoCompleteElement.parentNode.replaceChild(textNode, this.autoCompleteElement);
604 finalSelectionRange.setStart(textNode, text.length);
605 finalSelectionRange.setEnd(textNode, text.length);
/macosx-10.9.5/tidy-15.12/tidy/src/
H A Daccess.h75 tmbchar textNode[ TEXTBUF_SIZE ]; member in struct:_TidyAccessImpl
/macosx-10.9.5/WebCore-7537.78.1/page/
H A DTouchAdjustment.cpp157 Text* textNode = static_cast<WebCore::Text*>(node);
158 RenderText* textRenderer = static_cast<RenderText*>(textNode->renderer());
162 String textValue = textNode->data();
172 appendQuadsToSubtargetList(quads, textNode, subtargets);
203 appendQuadsToSubtargetList(quads, textNode, subtargets);
/macosx-10.9.5/WebCore-7537.78.1/html/parser/
H A DHTMLConstructionSite.cpp574 CharacterData* textNode = static_cast<CharacterData*>(previousChild); local
575 currentPosition = textNode->parserAppendData(characters, 0, lengthLimit);
579 RefPtr<Text> textNode = Text::createWithLengthLimit(task.parent->document(), shouldUseAtomicString ? AtomicString(characters).string() : characters, currentPosition, lengthLimit); local
581 if (!textNode->length()) {
583 textNode = Text::create(task.parent->document(), shouldUseAtomicString ? AtomicString(substring).string() : substring);
586 currentPosition += textNode->length();
588 task.child = textNode.release();
/macosx-10.9.5/tcl-102/tcl_ext/tdom/tdom/extensions/tdomhtml/
H A Dtdomhtml.tcl182 dom createNodeCmd textNode $textNodeCmd

Completed in 169 milliseconds

12