Schnittstelle TextBuffer.OnDeleteRange

Umschließende Klasse:
TextBuffer
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface TextBuffer.OnDeleteRange
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Emitted to delete a range from a `GtkTextBuffer`.
  • Methodendetails

    • onDeleteRange

      void onDeleteRange(@Nonnull TextIter start, @Nonnull TextIter end)
      Emitted to delete a range from a `GtkTextBuffer`.

      Note that if your handler runs before the default handler
      it must not invalidate the @start and @end iters (or has
      to revalidate them). The default signal handler revalidates
      the @start and @end iters to both point to the location
      where text was deleted. Handlers which run after the default
      handler (see g_signal_connect_after()) do not have access to
      the deleted text.

      See also: [method@Gtk.TextBuffer.delete].
      Parameter:
      start - the start of the range to be deleted
      end - the end of the range to be deleted