PyCRichEditCtrl.LineIndex

int = LineIndex(lineNo)

Retrieves the character index of a line within a multiple-line edit control.

Parameters

lineNo=-1 : int

Contains the index value for the desired line in the text of the edit control, or contains -1. If -1, then it specifies the current line.

Comments

This method only works on multi-linr edit controls.

MFC References

CRichEditCtrl::LineIndex

Return Value

The character index of the line specified in lineNo, or -1 if the specified line number is greater then the number of lines in the edit control.