set_suggestion


Description:

public void set_suggestion (Suggestion? suggestion)

Sets the current suggestion for the entry buffer.

The suggestion is used to get a potential suffix for the current entry text. This allows the entry to show "preview text" after the entered text for what might be inserted should they activate the current item.

Parameters:

this

a SuggestionEntryBuffer

suggestion

An Suggestion or null