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

OnLexiconLookup() public method

Look up the selected wordform in the dictionary and display its lexical entry.
public OnLexiconLookup ( object argument ) : bool
argument object
return bool
		public bool OnLexiconLookup(object argument)
		{
			CheckDisposed();

			int ichMin;
			int ichLim;
			int hvo;
			int tag;
			int ws;
			ITsString tss;
			GetWordLimitsOfSelection(out ichMin, out ichLim, out hvo, out tag, out ws, out tss);
			if (ichLim > ichMin)
			{
				LexEntryUi.DisplayOrCreateEntry(m_cache, hvo, tag, ws, ichMin, ichLim, this,
					m_mediator, m_mediator.HelpTopicProvider, "UserHelpFile");
				return true;
			}
			return false;
		}