Save text after adding transition

This commit is contained in:
Rich 2009-12-18 18:34:54 +00:00
parent ee4f83fc20
commit 6f2b22b67e

View File

@ -836,6 +836,7 @@ namespace Volian.Controls.Library
trantxt = TransitionText.GetResolvedText(_MyRTB.MyItemInfo, listBoxTranFmt.SelectedIndex,toItem,rangeItem ?? toItem); trantxt = TransitionText.GetResolvedText(_MyRTB.MyItemInfo, listBoxTranFmt.SelectedIndex,toItem,rangeItem ?? toItem);
_MyRTB.InsertTran(trantxt, linktxt); _MyRTB.InsertTran(trantxt, linktxt);
_MyRTB.Select(_MyRTB.SelectionStart + trantxt.Length + linktxt.Length,0); _MyRTB.Select(_MyRTB.SelectionStart + trantxt.Length + linktxt.Length,0);
_MyRTB.SaveText();
_MyRTB.Focus(); _MyRTB.Focus();
} }
#endregion #endregion