/external/webkit/WebCore/editing/ |
D | InsertTextCommand.cpp | 62 RefPtr<Node> textNode = document()->createEditingTextNode(""); in prepareForTextInsertion() local 63 insertNodeAt(textNode.get(), pos); in prepareForTextInsertion() 64 return Position(textNode.get(), 0); in prepareForTextInsertion() 68 RefPtr<Node> textNode = document()->createEditingTextNode(""); in prepareForTextInsertion() local 69 insertNodeAtTabSpanPosition(textNode.get(), pos); in prepareForTextInsertion() 70 return Position(textNode.get(), 0); in prepareForTextInsertion() 170 Text *textNode = static_cast<Text *>(startPosition.node()); in input() local 173 insertTextIntoNode(textNode, offset, text); in input() 174 endPosition = Position(textNode, offset + text.length()); in input() 238 Text *textNode = static_cast<Text *>(node); in insertTab() local [all …]
|
D | InsertLineBreakCommand.cpp | 136 Text* textNode = static_cast<Text*>(pos.node()); in doApply() local 137 splitTextNode(textNode, pos.deprecatedEditingOffset()); in doApply() 138 insertNodeBefore(nodeToInsert, textNode); in doApply() 139 Position endingPosition = Position(textNode, 0); in doApply() 144 Position positionBeforeTextNode(positionInParentBeforeNode(textNode)); in doApply() 147 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace()); in doApply() 149 if (textNode->inDocument()) in doApply() 150 insertTextIntoNode(textNode, 0, nonBreakingSpaceString()); in doApply()
|
D | CompositeEditCommand.cpp | 399 Text* textNode = static_cast<Text*>(node); in rebalanceWhitespaceAt() local 401 if (textNode->length() == 0) in rebalanceWhitespaceAt() 403 RenderObject* renderer = textNode->renderer(); in rebalanceWhitespaceAt() 407 String text = textNode->data(); in rebalanceWhitespaceAt() 441 replaceTextInNode(textNode, upstream, length, rebalancedString); in rebalanceWhitespaceAt() 449 Text* textNode = static_cast<Text*>(node); in prepareWhitespaceAtPositionForSplit() local 451 if (textNode->length() == 0) in prepareWhitespaceAtPositionForSplit() 453 RenderObject* renderer = textNode->renderer(); in prepareWhitespaceAtPositionForSplit() 483 void CompositeEditCommand::deleteInsignificantText(PassRefPtr<Text> textNode, unsigned start, unsig… in deleteInsignificantText() argument 485 if (!textNode || start >= end) in deleteInsignificantText() [all …]
|
D | InsertParagraphSeparatorCommand.cpp | 317 Text* textNode = static_cast<Text*>(leadingWhitespace.node()); in doApply() local 318 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace()); in doApply() 319 …replaceTextInNode(textNode, leadingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString… in doApply() 324 Text* textNode = static_cast<Text*>(insertionPosition.node()); in doApply() local 325 bool atEnd = (unsigned)insertionPosition.deprecatedEditingOffset() >= textNode->length(); in doApply() 327 splitTextNode(textNode, insertionPosition.deprecatedEditingOffset()); in doApply()
|
D | CreateLinkCommand.cpp | 54 RefPtr<Text> textNode = Text::create(document(), m_url); in doApply() local 55 appendNode(textNode.get(), anchorElement.get()); in doApply()
|
D | DeleteSelectionCommand.cpp | 523 Text* textNode = static_cast<Text*>(m_leadingWhitespace.node()); in fixupWhitespace() local 524 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace()); in fixupWhitespace() 525 …replaceTextInNode(textNode, m_leadingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceStri… in fixupWhitespace() 528 Text* textNode = static_cast<Text*>(m_trailingWhitespace.node()); in fixupWhitespace() local 529 ASSERT(!textNode->renderer() ||textNode->renderer()->style()->collapseWhiteSpace()); in fixupWhitespace() 530 …replaceTextInNode(textNode, m_trailingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceStr… in fixupWhitespace()
|
D | BreakBlockquoteCommand.cpp | 114 Text* textNode = static_cast<Text*>(startNode); in doApply() local 115 if ((unsigned)pos.deprecatedEditingOffset() >= textNode->length()) { in doApply() 119 splitTextNode(textNode, pos.deprecatedEditingOffset()); in doApply()
|
D | TextIterator.h | 98 …void emitCharacter(UChar, Node* textNode, Node* offsetBaseNode, int textStartOffset, int textEndOf… 99 void emitText(Node* textNode, int textStartOffset, int textEndOffset);
|
D | VisiblePosition.cpp | 522 Text* textNode = static_cast<Text*>(pos.node()); in characterAfter() local 524 unsigned length = textNode->length(); in characterAfter() 529 const UChar* characters = textNode->data().characters(); in characterAfter()
|
D | markup.cpp | 261 const Text* textNode = static_cast<const Text*>(node); in renderedText() local 263 unsigned endOffset = textNode->length(); in renderedText() 1118 …RefPtr<Node> textNode = document->createTextNode(stringWithRebalancedWhitespace(s, first, i + 1 ==… in fillContainerFromString() local 1119 paragraph->appendChild(textNode.release(), ec); in fillContainerFromString()
|
D | htmlediting.cpp | 1041 Text* textNode = static_cast<Text*>(position.anchorNode()); in lineBreakExistsAtPosition() local 1043 return offset < textNode->length() && textNode->data()[offset] == '\n'; in lineBreakExistsAtPosition()
|
D | TextIterator.cpp | 868 void TextIterator::emitCharacter(UChar c, Node* textNode, Node* offsetBaseNode, int textStartOffset… in emitCharacter() argument 874 m_positionNode = textNode; in emitCharacter() 889 void TextIterator::emitText(Node* textNode, int textStartOffset, int textEndOffset) in emitText() argument 895 m_positionNode = textNode; in emitText()
|
D | ReplaceSelectionCommand.cpp | 1183 Text* textNode = static_cast<Text*>(fragment.firstChild()); in performTrivialReplace() local 1185 String text(textNode->data()); in performTrivialReplace()
|
/external/webkit/WebCore/inspector/front-end/ |
D | TextViewer.js | 495 var textNode = boundary.container; 496 var text = textNode.textContent; 500 textNode.textContent = text.substring(boundary.offset + markLength); 501 textNode.parentElement.insertBefore(markNode, textNode); 503 textNode.parentElement.insertBefore(prefixNode, markNode); 507 var parentElement = textNode.parentElement; 508 var anchorElement = textNode.nextSibling; 511 textNode.textContent = text.substring(0, boundary.offset); 512 textNode = textNode.traverseNextTextNode(element); 514 while (textNode) { [all …]
|
D | ElementsTreeOutline.js | 279 var textNode = event.target.enclosingNodeOrSelfWithClass("webkit-html-text-node"); 282 else if (textNode) 283 listItem.treeElement._populateTextContextMenu(contextMenu, textNode); 579 var textNode = event.target.enclosingNodeOrSelfWithClass("webkit-html-text-node"); 580 if (textNode) 581 return this._startEditingTextNode(textNode); 611 _populateTextContextMenu: function(contextMenu, textNode) argument 613 …nu.appendItem(WebInspector.UIString("Edit Text"), this._startEditingTextNode.bind(this, textNode)); 632 var textNode = listItem.getElementsByClassName("webkit-html-text-node")[0]; 633 if (textNode) [all …]
|
D | TextPrompt.js | 119 var textNode = document.createTextNode(text); 120 this.autoCompleteElement.parentNode.replaceChild(textNode, this.autoCompleteElement); 124 finalSelectionRange.setStart(textNode, text.length); 125 finalSelectionRange.setEnd(textNode, text.length);
|
/external/webkit/WebCore/dom/ |
D | Attr.cpp | 64 RefPtr<Text> textNode = document()->createTextNode(m_attribute->value().string()); in createTextChild() local 68 textNode->setParent(this); in createTextChild() 69 setFirstChild(textNode.get()); in createTextChild() 70 setLastChild(textNode.get()); in createTextChild()
|
/external/tinyxml/ |
D | tinyxmlparser.cpp | 1147 TiXmlText* textNode = new TiXmlText( "" ); in ReadValue() local 1149 if ( !textNode ) in ReadValue() 1157 p = textNode->Parse( p, data, encoding ); in ReadValue() 1163 p = textNode->Parse( pWithWhiteSpace, data, encoding ); in ReadValue() 1166 if ( !textNode->Blank() ) in ReadValue() 1167 LinkEndChild( textNode ); in ReadValue() 1169 delete textNode; in ReadValue()
|
/external/webkit/WebKit/android/nav/ |
D | CacheBuilder.cpp | 514 Text* textNode = (Text*) node; in groups() local 515 if (CacheBuilder::ConstructTextRects(textNode, 0, textNode, in groups() 2537 Text* textNode = static_cast<Text*>(node); in isFocusableText() local 2538 StringImpl* string = textNode->dataImpl(); in isFocusableText() 2623 walk->mMore = node == textNode && in isFocusableText() 2637 Node* temp = textNode; in isFocusableText() 2673 if (state == FOUND_PARTIAL && node == textNode) in isFocusableText() 2713 node = textNode; in isFocusableText() 2715 string = textNode->dataImpl(); in isFocusableText() 2995 bool CacheBuilder::ConstructTextRect(Text* textNode, in ConstructTextRect() argument [all …]
|
D | CacheBuilder.h | 220 static bool ConstructTextRect(Text* textNode,
|
/external/webkit/WebCore/html/ |
D | HTMLElement.cpp | 367 RefPtr<Text> textNode = Text::create(element->document(), text); in replaceChildrenWithText() local 370 element->replaceChild(textNode.release(), element->firstChild(), ec); in replaceChildrenWithText() 375 element->appendChild(textNode.release(), ec); in replaceChildrenWithText() 603 RefPtr<Text> textNode = document()->createTextNode(text); in insertAdjacentText() local 604 insertAdjacent(where, textNode.get(), ec); in insertAdjacentText()
|
/external/webkit/WebKit/android/jni/ |
D | WebViewCore.cpp | 1357 Text* textNode = static_cast<Text*>(node); in requestLabel() local 1358 result += textNode->dataImpl(); in requestLabel()
|
/external/webkit/WebCore/css/ |
D | CSSStyleSelector.cpp | 2065 Text* textNode = static_cast<Text*>(n); in checkOneSelector() local 2066 if (!textNode->data().isEmpty()) { in checkOneSelector()
|
/external/webkit/WebCore/ |
D | ChangeLog-2007-10-14 | 12042 removal removes textNode from the document, insert a text node containing 12044 at the position that the removed textNode occupied.
|
D | ChangeLog-2006-05-10 | 9876 * editing/selection/selectNodeContents-textNode.html: Added.
|