public void Collapse(GeckoNode parentNode, int offset) { Selection.Collapse((nsIDOMNode)parentNode.DomObject, offset); }