CompletionContext.getBounds

Gets the bounds for the completion, which is the beginning of the current word (taking break characters into account) to the current insertion cursor.

If begin is non-null, it will be set to the start position of the current word being completed.

If end is non-null, it will be set to the insertion cursor for the current word being completed.

class CompletionContext
bool
getBounds

Parameters

begin gtk.text_iter.TextIter

a #GtkTextIter

end gtk.text_iter.TextIter

a #GtkTextIter

Return Value

Type: bool

true if the marks are still valid and begin or end was set.