SIL.FieldWorks.FwCoreDlgs.CharContextCtrl.GetTokenSubstrings C# (CSharp) Method

GetTokenSubstrings() private method

Gets the token substrings.
private GetTokenSubstrings ( IScrCheckInventory inventory, List tokens ) : List
inventory IScrCheckInventory The inventory used to parse the tokens.
tokens List The tokens (runs of text).
return List
		private List<TextTokenSubstring> GetTokenSubstrings(IScrCheckInventory inventory,
			List<ITextToken> tokens)
		{
			List<TextTokenSubstring> list = inventory.GetReferences(tokens, string.Empty);
			if (m_listValidator != null)
				m_listValidator(list);
			return list;
		}