SECEditMLCommentArray Class

class SECEditMLCommentArray: public CArray&ltSECEditMLComment, SECEditMLComment>

This class holds an array of SECEditMLComment objects.

Defined in: SECEditLineCol.h

Class Members

Construction

 SECEditMLCommentArray()

Constructor.

Operations

int  CommentStartEnd(int nLine) const

Searches the array for a comment contained on the given line.

int  ContainsLineCol(const SECEditLineCol& lc) const

Searches the array for a comment that contains the given position.

void  Insert(const SECEditMLComment& mlc)

Inserts multiline comment info to the array.

void  InsertAt(int, SECEditMLComment, int)

Inserts multiline comment info to the array.

void  SpanComments(const SECEditLineColPair& lcp, int& nStartIndex, int& nEndIndex) const

Searches for elements that span the given line column positions.

void  UpdateComments(const SECEditLineColPair& lcp, BOOL bAdding)

Adjusts values for inserted or deleted text.