SECEdit::GetItemDataFlag

BOOLSECEdit::GetItemDataFlag(intnLine, unsigned intnFlag)

Retrieves the data flag on the given line. Each line has pointer which can either be NULL or reference an SECEditItemData object. This object maintains a set of flags about the state of the line (breakpoints, bookmarks, etc.)

Defined in: SECEdit.cpp

Return Value

Assuming the line number is valid, returns non-zero if the specified flag on the given line is set, or zero if the flag is cleared. If the line number is invalid, returns zero.

Parameters

nLine

The line index of the text.

nFlag

The index of the flag to test.

Comments

This method does nothing if the line number is invalid.

Developer Notes

Flags 0 through 15 are available for use. Flags 16 through 31 are reserved for the Objective Edit framework.

See Also

SECEdit  SECEditItemData

GetItemDataFlag  ToggleItemDataFlag

DeleteAllItemDataFlag  GetNextFlag  CountItemDataFlag