tools/Stampfer/PeterSource1_1/DockContent/ctrlCodeStructure.cs
/// <summary>
/// Scrolls the active editor to the given offset...
/// </summary>
/// <param name="offset">offset to start at</param>
/// <param name="pos">offset to end at</param>
Scrolls the active editor to the given offset
Scrolls the active editor to the given offset
public void ScrollToOffset (int offset, int pos)
        {
            m_Editor.JumpToPos(offset, offset);
        }
public void ScrollToOffset ( int offset , int pos ) { m_Editor . JumpToPos ( offset , offset ) ; }
Scrolls the active editor to the given offset...
Scrolls the active editor to the given offset ...
/*int line = this.m_Editor.Document.GetLineNumberForOffset(offset);
            this.m_Editor.ActiveTextAreaControl.Caret.Position = this.m_Editor.Document.OffsetToPosition(offset);
            this.m_Editor.ActiveTextAreaControl.SelectionManager.SetSelection(
                this.m_Editor.Document.OffsetToPosition(offset), this.m_Editor.Document.OffsetToPosition(pos));
            this.m_Editor.ActiveTextAreaControl.CenterViewOn(line, 0);
            this.m_Editor.ActiveTextAreaControl.TextArea.Focus();*/
offset
int
offset to start at
offset to start at
pos
int
offset to end at
offset to end at