summaryrefslogtreecommitdiff
path: root/gtksourceview/gtksourceview-assistants.c
Commit message (Collapse)AuthorAgeFilesLines
* view: fix type castChristian Hergert2022-08-311-1/+1
|
* view: hide assistants on scroll eventsChristian Hergert2022-08-311-2/+2
| | | | | | We still need to handle some cases better, particularly with completion and ensuring hover assistants can break on scroll internally, but it's a start towards that.
* assistants: measure and present togetherChristian Hergert2022-05-131-1/+8
| | | | And avoid if there is no surface yet or not visible.
* assistants: don't force measurementsChristian Hergert2022-04-181-21/+0
| | | | | | This code existed before the simplified gtk_popover_present() implementation and it shouldn't be necessary anymore. It only breaks sizing making it grow significantly anyway.
* gtk4: gtk_native_check_resize -> gtk_popover_presentTristan Partin2020-12-261-1/+1
| | | | GTK4 removed gtk_native_check_resize at the last second.
* assistants: add new assistants subsystemChristian Hergert2020-09-211-0/+171
This subsystem is meant to be a base for popup based tooling around a GtkSourceView. It can be used for the underlying layer of completion, interactive tooltips, error bubbles, snippet tooltips, and more. A new completion engine will land first using this subsystem, but will keep the GtkSourceAssistant type private similar to how GDK does for internal (but exposed) types.