} // By WendyH /// <summary> /// Scroll textbox to the bookmark /// </summary> public virtual void DoVisible() { // By WendyH < ----------------- if (CharIndex >= TB.Lines[0].Length) { CharIndex = 0; } // By WendyH > ----------------- TB.Selection.Start = new Place(0, LineIndex); TB.DoRangeVisible(TB.Selection, true); TB.Invalidate(); }
/// <summary> /// Scroll textbox to the bookmark /// </summary> public virtual void DoVisible() { TB.Selection.Start = new Place(0, LineIndex); TB.DoRangeVisible(TB.Selection, true); TB.Invalidate(); }