public void OnTextEntered(TextCompositionEventArgs e, TextDocument doc) { if (_codeCompletion.OnTextEntered(e.Text)) { _foldingStrategy.UpdateFoldings(doc); } }
void winEditBox_TextArea_TextEntered(object sender, TextCompositionEventArgs e) { if (_codeCompletion.OnTextEntered(e.Text)) { _foldingStrategy.UpdateFoldings(winEditBox.Document); } }