void () { ChoiceRenderer lcr = getRenderer(); boolean updated; if (lcr == null) { updated = popup.setStringContent(format, choicesComparator, getStringComparator()); editor.updateParser(); } else { //for rendered content, it is required having a non null comparator updated = popup.setRenderedContent(lcr, choicesComparator == null ? comparator : choicesComparator, getStringComparator()); } if (updated) { requestChoices(); } }