Editor list widget: add support for hint items and improve format of item text (closes #509).