private void AddToCurrentSelection(KeyboardEventArgs data) { Debug.Write("AddToCurrentSelection() "); currentSelection.Add(data); foreach (var word in lastWord.ToArray()) { lastWord[word.Key] = word.Value + LowLevelAdapter.KeyCodeToUnicode(data.KeyCode, langToIntPtr[word.Key]); } Debug.WriteLine(DictToString(lastWord)); }