LayoutFarm.HtmlBoxes.SelectionRange.IsOnTheSameLine C# (CSharp) Method

IsOnTheSameLine() static private method

static private IsOnTheSameLine ( CssBoxHitChain startChain, CssBoxHitChain endChain ) : bool
startChain CssBoxHitChain
endChain CssBoxHitChain
return bool
        static bool IsOnTheSameLine(CssBoxHitChain startChain, CssBoxHitChain endChain)
        {
            CssLineBox startLineBox = GetLine(startChain.GetLastHit());
            CssLineBox endLineBox = GetLine(endChain.GetLastHit());
            return startLineBox != null && startLineBox == endLineBox;
        }
        static CssLineBox GetLine(HitInfo hitInfo)