buffer completion for OTBEdit