Text completion helpers and widgets
