ARCed.Scintilla.LineWrapping.GetWrapCount C# (CSharp) Method

GetWrapCount() public method

The number of lines displayed when a line of text is wrapped.
///// is less than 0 or greater than the line count. /////
public GetWrapCount ( int lineIndex ) : int
lineIndex int The zero-based index of the line to count.
return int
        public virtual int GetWrapCount(int lineIndex)
        {
            //if (lineIndex < 0 || lineIndex > _scintilla.Lines.Count)
            //{
            //    string paramName = "lineIndex";
            //    string message = string.Format(CultureInfo.InvariantCulture, _resources.Exception_MustBeNonNegativeAndLessThan, paramName, "the line count");
            //    throw new ArgumentOutOfRangeException(paramName, message);
            //}

            return this._scintilla.DirectMessage(NativeMethods.SCI_WRAPCOUNT, new IntPtr(lineIndex), IntPtr.Zero).ToInt32();
        }