SECEditBlockBuffer::LineIndex

intSECEditBlockBuffer::LineIndex(intnLine, intnCol)

Converts the line and column into a virtual text offset.

Defined in: SECEditBlockBuffer.cpp

Return Value

Returns an index into the text for the given line and column if successful; otherwise, returns -1.

Parameters

nLine

The line index of text.

nCol

The column index on the given line of text.

See Also

SECEditBlockBuffer  ISECEditBuffer