public GetSelectionAt ( int offset ) : ISelection | ||
offset | int | |
return | ISelection |
public ISelection GetSelectionAt(int offset)
{
foreach (ISelection s in selectionCollection) {
if (s.ContainsOffset(offset)) {
return s;
}
}
return null;
}