@Override
    public void paintControl(PaintEvent event) {
        if (standaloneOperation && currentState == RenderState.SHOWING) {
            drawHintContent(event.gc);
            return;
        }
        if (!hasContentToShow()) {
            resetState();
            return;
        }

        switch (currentState) {
            case SHOWING:
                drawHintContent(event.gc);
                break;
            case REMOVING:
                resetState();
                drawHintContent(event.gc);
                break;
            default:
                drawHintContent(event.gc);
                break;
        }
    }
Disables the suggestion text painter functionality.

@param clearContent if true, removes any displayed hint before disabling the painter.
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/suggestion/SQLSuggestionTextPainter.java