public override bool KeyPress(KeyDescriptor descriptor)
 {
     if (!IsActiveExtension())
     {
         return(Next == null || Next.KeyPress(descriptor));
     }
     return(completionTextEditorExtension.KeyPress(descriptor));
 }
 public override async Task <bool> KeyPress(KeyDescriptor descriptor)
 {
     if (!IsActiveExtension())
     {
         return(Next == null || await Next.KeyPress(descriptor));
     }
     return(await completionTextEditorExtension.KeyPress(descriptor));
 }