Lucene.Net.Search.Highlight.SimpleFragmenter.IsNewFragment C# (CSharp) Method

IsNewFragment() public method

public IsNewFragment ( ) : bool
return bool
        public bool IsNewFragment()
        {
            bool isNewFrag = offsetAtt.EndOffset >= (fragmentSize*currentNumFrags);
            if (isNewFrag)
            {
                currentNumFrags++;
            }
            return isNewFrag;
        }