public override void SetSelection(SelectionRange selRange)
{
//find gross area of the selection range
//then invalidate that area
if (selRange != null)
{
this.currentSelectionArea = (hasSomeSelectedArea) ?
Rectangle.Union(this.currentSelectionArea, selRange.SnapSelectionArea) :
selRange.SnapSelectionArea;
hasSomeSelectedArea = true;
}
else
{
hasSomeSelectedArea = false;
}
this._currentSelectionRange = selRange;
this.RootCssBox.InvalidateGraphics(this.currentSelectionArea);
}
public override void CopySelection(StringBuilder stbuilder)