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();
}