BCGSoft Professional Editor for MFC
void CBCGPEditCtrl::GetMarkersInRange ( int  nRowStart,
CObList &  lstMarkers,
DWORD  dwMarkerType = (DWORD)-1,
int  nRowEnd = -1 
) const

Returns the list of markers whose lines are in the specified range.

Use this method to retrieve the list of markers whose lines are in the specified range. Multi-line markers are checked and returned according to their first line number. You can perform additional filtering by setting dwMarkerType to a combination of desired types.

Parameters
nRowStartThe zero-based index of starting row in range.
lstMarkers[out] When the function returns, contains the list of retrieved markers.
dwMarkerTypeSpecifies marker types to return.
nRowEndThe zero-based index of the last row in range.