@elextr commented on this pull request.
@@ -3230,14 +3230,109 @@ gboolean ui_encodings_combo_box_set_active_encoding(GtkComboBox *combo, gint enc
return FALSE; }
-void ui_menu_popup(GtkMenu* menu, GtkMenuPositionFunc func, gpointer data, guint button, guint32 activate_time) + +#if GTK_CHECK_VERSION(3,22,0) +/* positions a popup at the caret from the ScintillaObject in @p data */ +static void position_at_carret(GtkMenu *menu, gint *x, gint *y, gboolean *push_in, gpointer data) +{
"caret" has only one `r`