protected virtual void OnOldKeySent( object sender, KeySentEventArgs e )
{
if( !PredictionTextAreaService.Service.IsDriven )
{
if( e.Key == "{BACKSPACE}" && _rawContext != null && _rawContext.Length > 0 )
{
var raw = _rawContext.Substring( 0, _rawContext.Length - 1 );
_caretIndex = raw.Length;
SetRawText( raw );
}
else if( e.Key == "{ENTER}" )
{
ClearContext();
}
}
}