Class EditPaneUpdate

  • Direct Known Subclasses:
    PositionChanging

    public class EditPaneUpdate
    extends EBMessage
    Message sent when an edit pane-related change occurs.
    Since:
    jEdit 2.5pre1
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.Object BUFFER_CHANGED
      The current buffer in the EditPane has changed to show a different buffer.
      static java.lang.Object BUFFER_CHANGING
      Edit pane buffer is about to change.
      static java.lang.Object BUFFERSET_CHANGED
      The bufferSet scope of the EditPane was changed.
      static java.lang.Object CREATED
      Edit pane created.
      static java.lang.Object DESTROYED
      Edit pane destroyed.
      static java.lang.Object POSITION_CHANGING
      Edit pane caret position is about to change in a major way
    • Constructor Summary

      Constructors 
      Constructor Description
      EditPaneUpdate​(EditPane editPane, java.lang.Object what)
      Creates a new edit pane update message.
    • Field Detail

      • CREATED

        public static final java.lang.Object CREATED
        Edit pane created.
      • DESTROYED

        public static final java.lang.Object DESTROYED
        Edit pane destroyed.
      • BUFFER_CHANGED

        public static final java.lang.Object BUFFER_CHANGED
        The current buffer in the EditPane has changed to show a different buffer. This happens when an action results in a call to EditPane.setBuffer().
      • POSITION_CHANGING

        public static final java.lang.Object POSITION_CHANGING
        Edit pane caret position is about to change in a major way
      • BUFFER_CHANGING

        public static final java.lang.Object BUFFER_CHANGING
        Edit pane buffer is about to change. You should see this before BUFFER_CHANGED.
        Since:
        4.3pre3
      • BUFFERSET_CHANGED

        public static final java.lang.Object BUFFERSET_CHANGED
        The bufferSet scope of the EditPane was changed.
        Since:
        4.3pre15
    • Constructor Detail

      • EditPaneUpdate

        public EditPaneUpdate​(EditPane editPane,
                              @Nonnull
                              java.lang.Object what)
        Creates a new edit pane update message.
        Parameters:
        editPane - The edit pane
        what - What happened
    • Method Detail

      • getWhat

        public java.lang.Object getWhat()
        Returns what caused this edit pane update.
      • getEditPane

        public EditPane getEditPane()
        Returns the edit pane involved.
      • paramString

        public java.lang.String paramString()
        Overrides:
        paramString in class EBMessage
        Returns:
        a string representation of this message's parameters.