/// ------------------------------------------------------------------------------------
 /// <summary>
 /// Get the index of the section (relative to RootBox), or -1 if we're not in a section
 /// (e.g. the IP is in a title).
 /// </summary>
 /// <param name="selHelper">The selection helper.</param>
 /// <param name="selLimitType">Which end of the selection</param>
 /// <returns>
 /// Index of the section, or -1 if we're not in a section.
 /// </returns>
 /// <remarks>The returned value is suitable for making a selection.</remarks>
 /// ------------------------------------------------------------------------------------
 public int GetSectionIndexInView(SelectionHelper selHelper,
                                  SelectionHelper.SelLimitType selLimitType)
 {
     return(m_locationTracker.GetSectionIndexInView(selHelper, selLimitType));
 }