System\Windows\Documents\Speller.cs (12)
186CultureInfo culture = GetCurrentCultureAndLanguage(error.Start, out XmlLanguage language);
665XmlLanguage language = GetCurrentLanguage(start);
706XmlLanguage language = GetCurrentLanguage(caretPosition);
781XmlLanguage language;
1085private void ExpandToWordBreakAndContext(ITextPointer position, LogicalDirection direction, XmlLanguage language,
1315private ITextPointer SearchForWordBreaks(ITextPointer position, LogicalDirection direction, XmlLanguage language, int minWordCount, bool stopOnError)
1387private ITextPointer GetNextLanguageTransition(ITextPointer position, LogicalDirection direction, XmlLanguage language, ITextPointer haltPosition)
1484private XmlLanguage GetCurrentLanguage(ITextPointer position)
1486XmlLanguage language;
1495private CultureInfo GetCurrentCultureAndLanguage(ITextPointer position, out XmlLanguage language)
1505language = XmlLanguage.GetLanguage(cultureInfo.IetfLanguageTag);
1509language = (XmlLanguage)position.GetValue(FrameworkElement.LanguageProperty);