Interface TextView.OnSetAnchor

Enclosing class:
TextView
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 TextView.OnSetAnchor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Gets emitted when the user initiates settings the "anchor" mark.
  • Method Details

    • onSetAnchor

      void onSetAnchor()
      Gets emitted when the user initiates settings the "anchor" mark.

      The ::set-anchor signal is a [keybinding signal](class.SignalAction.html)
      which gets emitted when the user initiates setting the "anchor"
      mark. The "anchor" mark gets placed at the same position as the
      "insert" mark.

      This signal has no default bindings.