@Override public void setContent(Object content) {
            String text;
            ChoiceMatch match = new ChoiceMatch();
            if (content instanceof CustomChoice) {
                // never escape custom choices
                text = content.toString();
                match.content = content;
            } else {
                if (content instanceof String) {
                    text = (String) content;
                } else {
                    Format fmt = filterEditor.getFormat();
                    text = (fmt == null) ? content.toString()
                                         : fmt.format(content);
                }

                match.content = text;
            }

            match.exact = true; // avoid interpretation
            setEditorText(text);
            updateFilter(text, match, false);
            activateCustomDecoration();
        }
@Override public void setContent(Object content)