Interface BufferListener

All Superinterfaces:
EventListener

public interface BufferListener extends EventListener
Interface for listeners for changes of Buffer contents.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    A line has been added to the buffer.
    void
    A line has been replaced at the end of the buffer.
    void
    linesRemoved(@NotNull List<Line> lines)
    Some lines have been removed from the buffer.
  • Method Details

    • lineAdded

      void lineAdded()
      A line has been added to the buffer.
    • lineReplaced

      void lineReplaced()
      A line has been replaced at the end of the buffer.
    • linesRemoved

      void linesRemoved(@NotNull @NotNull List<Line> lines)
      Some lines have been removed from the buffer.
      Parameters:
      lines - the lines that have been removed from the beginning of the buffer