List of usage examples for com.google.gwt.dom.client Text removeFromParent
@Override
public void removeFromParent()
From source file:com.bfr.client.selection.impl.RangeImplIE6.java
License:Apache License
/** * IE has no function for doing this with a range vs with a selection, so * instead use pasteHTML, then remove the resulting element. * * @see com.bfr.client.selection.impl.RangeImpl#deleteContents(com.bfr.client.selection.impl.RangeImpl.JSRange) *//*from w w w. j av a 2 s . c o m*/ @Override public void deleteContents(JSRange range) { Text txt = placeholdRange(range); if (txt != null) { txt.removeFromParent(); } }