TextEditor.Count (gb.form.editor)

Property Read Count As Integer

Return the number of lines.