EntryCompletion.getCompletionPrefix

string getCompletionPrefix()

Get the original text entered by the user that triggered the completion or null if there’s no completion ongoing.

Returns

the prefix for the current completion