if (math_view->cursor_visible) update_widget(math_view);
if (math_view->cursor_visible) gtk_math_view_update(math_view);
GTKMATHVIEW_METHOD_NAME(set_cursor)(GtkMathView* math_view, GtkMathViewModelId elem, gint index){  g_return_if_fail(math_view != NULL);  if (math_view->cursor_elem != elem || math_view->cursor_index != index)    {      math_view->cursor_index = index;#if GTKMATHVIEW_USES_GMETADOM      if (math_view->cursor_elem != NULL)	{	  GdomeException exc = 0;	  gdome_el_unref(math_view->cursor_elem, &exc);	  g_assert(exc == 0);	}#endif // GTKMATHVIEW_USES_GMETADOM      math_view->cursor_elem = elem;#if GTKMATHVIEW_USES_GMETADOM      if (math_view->cursor_elem != NULL)	{	  GdomeException exc = 0;	  gdome_el_ref(math_view->cursor_elem, &exc);	  g_assert(exc == 0);	}#endif // GTKMATHVIEW_USES_GMETADOM      if (math_view->cursor_visible) update_widget(math_view);    }}