Schnittstelle TextBuffer.OnRemoveTag

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.OnRemoveTag
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onRemoveTag(TextTag tag, TextIter start, TextIter end)
    Emitted to remove all occurrences of @tag from a range
    of text in a `GtkTextBuffer`.
  • Methodendetails

    • onRemoveTag

      void onRemoveTag(@Nonnull TextTag tag, @Nonnull TextIter start, @Nonnull TextIter end)
      Emitted to remove all occurrences of @tag from a range
      of text in a `GtkTextBuffer`.

      Removal actually occurs in the default handler.

      Note that if your handler runs before the default handler
      it must not invalidate the @start and @end iters (or has
      to revalidate them).

      See also: [method@Gtk.TextBuffer.remove_tag].
      Parameter:
      tag - the tag to be removed
      start - the start of the range the tag is removed from
      end - the end of the range the tag is removed from