System\Windows\Documents\Speller.cs (12)
190CultureInfo culture = GetCurrentCultureAndLanguage(error.Start, out XmlLanguage language);
669XmlLanguage language = GetCurrentLanguage(start);
710XmlLanguage language = GetCurrentLanguage(caretPosition);
785XmlLanguage language;
1089private void ExpandToWordBreakAndContext(ITextPointer position, LogicalDirection direction, XmlLanguage language,
1319private ITextPointer SearchForWordBreaks(ITextPointer position, LogicalDirection direction, XmlLanguage language, int minWordCount, bool stopOnError)
1391private ITextPointer GetNextLanguageTransition(ITextPointer position, LogicalDirection direction, XmlLanguage language, ITextPointer haltPosition)
1488private XmlLanguage GetCurrentLanguage(ITextPointer position)
1490XmlLanguage language;
1499private CultureInfo GetCurrentCultureAndLanguage(ITextPointer position, out XmlLanguage language)
1509language = XmlLanguage.GetLanguage(cultureInfo.IetfLanguageTag);
1513language = (XmlLanguage)position.GetValue(FrameworkElement.LanguageProperty);