private void OnPredictionAreaContentSent( object sender, PredictionAreaContentEventArgs e ) { CommandTextualContextService.Service.ClearTextualContext(); SendStringService.Service.SendString( e.Text ); }
void OnPredictionAreaContentSent( object sender, PredictionAreaContentEventArgs e ) { _text = _predictionTextArea.Text = String.Empty; if( PropertyChanged != null ) PropertyChanged( this, new PropertyChangedEventArgs( "TextualContext" ) ); }
void OnPredictionAreaContentSent( object sender, PredictionAreaContentEventArgs e ) { _textArea.TextualContext = String.Empty; }
protected virtual void OnPredictionAreaServicePropertyChanged( object sender, PredictionAreaContentEventArgs e ) { using( new ChangeWrapper( this ) ) { PredictionLogger.Instance.Trace( "CaretIndex {0}", e.CaretIndex ); _caretIndex = e.CaretIndex; InternalSetRawText( e.Text ); } }
protected virtual void OnPredictionAreaContentChanged( object sender, PredictionAreaContentEventArgs e ) { _text = e.Text; _caretIndex = e.CaretIndex; }