SIL.FieldWorks.Common.Framework.DetailControls.StTextView.SelectAt C# (CSharp) Méthode

SelectAt() private méthode

Select at the specified position in the first paragraph.
private SelectAt ( int ich ) : void
ich int
Résultat void
		internal void SelectAt(int ich)
		{
			try
			{
				var vsli = new SelLevInfo[1];
				vsli[0].tag = StTextTags.kflidParagraphs;
				vsli[0].ihvo = 0;
				RootBox.MakeTextSelection(0, 1, vsli, StTxtParaTags.kflidContents, 0, ich, ich, 0, true, -1, null, true);
			}
			catch (Exception)
			{
				Debug.Assert(false, "Unexpected failure to make selection in StTextView");
			}

		}