SECEditController::LineLength

intSECEditController::LineLength(intnCharIndex= -1)

Retrieves the length of a line.

Defined in: SECEditControllerCEditEmul.cpp

Return Value

The length (in bytes) of the line specified by nLine.

Parameters

nCharIndex

Specifies the character index of a character in the line whose length is to be retrieved. If this parameter is -1, the length of the current line (the line that contains the caret) is returned

Developer Notes

This method is provided as a part of the Objective Edit CEdit compatiblity layer.

Note that this function is a little different than that of CEdit. This returns the length of the line on which nCharIndex falls, it does not have anything to do with selection, like CEdit.

See Also

SECEditController