public Line GetMaxLineWithState() { int line = NativeScintilla.GetMaxLineState(); if (line < 0) return null; return this[line]; }