Interface TextBuffer.OnRemoveTag

Enclosing class:
TextBuffer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface TextBuffer.OnRemoveTag
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onRemoveTag(TextTag tag, TextIter start, TextIter end)
    Emitted to remove all occurrences of @tag from a range
    of text in a `GtkTextBuffer`.
  • Method Details

    • 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].
      Parameters:
      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