SIL.FieldWorks.Common.Framework.DetailControls.StTextSlice.GetWordLimitsOfSelection C# (CSharp) Method

GetWordLimitsOfSelection() private method

private GetWordLimitsOfSelection ( int &ichMin, int &ichLim, int &hvo, int &tag, int &ws, ITsString &tss ) : void
ichMin int
ichLim int
hvo int
tag int
ws int
tss ITsString
return void
		private void GetWordLimitsOfSelection(out int ichMin, out int ichLim,
			out int hvo, out int tag, out int ws, out ITsString tss)
		{
			ichMin = ichLim = hvo = tag = ws = 0;
			tss = null;
			IVwSelection wordsel = SelectionBeginningGrowToWord(RootSite.RootBox.Selection);
			if (wordsel == null)
				return;

			bool fAssocPrev;
			wordsel.TextSelInfo(false, out tss, out ichMin, out fAssocPrev, out hvo, out tag,
				out ws);
			wordsel.TextSelInfo(true, out tss, out ichLim, out fAssocPrev, out hvo, out tag,
				out ws);

		}