MCPcopy Create free account
hub / github.com/amouat/diffxml / deleteText

Method deleteText

src/java/org/diffxml/patchxml/DULPatch.java:595–664  ·  view source on GitHub ↗

Delete the appropriate amount of text from a Node. Assumes delNode is the start of the text. @param delNode the text node to delete text from @param charpos the character position at which to delete @param length the number of characters to delete @param doc the document being deleted from @throws

(final Node delNode, final int charpos, 
            final int length, final Document doc)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

doDeleteMethod · 0.95
doMoveMethod · 0.95

Calls 2

isTextMethod · 0.95
getTextLengthMethod · 0.95

Tested by

no test coverage detected