Skybound.Gecko.GeckoSelection.Extend C# (CSharp) Method

Extend() public method

Extends the selection by moving the selection end to the specified node and offset, preserving the selection begin position. The new selection end result will always be from the anchorNode to the new focusNode, regardless of direction.
public Extend ( GeckoNode parentNode, int offset ) : void
parentNode GeckoNode The node where the selection will be extended to.
offset int Where in node to place the offset in the new selection end.
return void
        public void Extend(GeckoNode parentNode, int offset)
        {
            Selection.Extend((nsIDOMNode)parentNode.DomObject, offset);
        }