EntryCompletion.computePrefix

Computes the common prefix that is shared by all rows in completion that start with key. If no row matches key, NULL will be returned. Note that a text column must have been set for this function to work, see Entry.completionSetTextColumn for details.

class EntryCompletion
string
computePrefix
(
string key
)

Parameters

key string

The text to complete for

Return Value

Type: string

The common prefix all rows starting with key or NULL if no row matches key.

Meta