Gtk.TextBuffer.LineCount Property
Obtains the number of lines in the buffer.

Syntax

public int LineCount { get; }

Value

The number of lines in the buffer

Remarks

The results of this method is cached, so this is very fast.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)