Esempio n. 1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Scroll the selection in view and set the IP at the given client position.
 /// </summary>
 /// <param name="sel">The selection</param>
 /// <param name="dyPos">Position from top of client window where IP should be set</param>
 /// ------------------------------------------------------------------------------------
 void IRootSite.ScrollSelectionToLocation(IVwSelection sel, int dyPos)
 {
     if (m_draftView != null)
     {
         m_draftView.ScrollSelectionToLocation(sel, dyPos);
     }
 }
Esempio n. 2
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Scroll the selection in view and set the IP at the given client position.
 /// </summary>
 /// <param name="sel">The selection</param>
 /// <param name="dyPos">Position from top of client window where IP should be set</param>
 /// ------------------------------------------------------------------------------------
 bool IRootSite.ScrollSelectionToLocation(IVwSelection sel, int dyPos)
 {
     if (m_draftView != null)
     {
         return(m_draftView.ScrollSelectionToLocation(sel, dyPos));
     }
     return(false);
 }