java.lang.Object
org.gjt.sp.jedit.EBMessage
org.gjt.sp.jedit.msg.BufferUpdate
Message sent when a buffer-related change occurs.
- Since:
- jEdit 2.2pre6
- Version:
- $Id: BufferUpdate.java 25221 2020-04-12 16:00:17Z kpouer $
- Author:
- Slava Pestov
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Object
Buffer closed.static final Object
About to be closedstatic final Object
Buffer created.static final Object
Buffer dirty changed.static final Object
Buffer load started.static final Object
Buffer loaded.static final Object
Buffer markers changed.static final Object
Properties changed.static final Object
Buffer saved.static final Object
Buffer saving. -
Constructor Summary
ConstructorDescriptionBufferUpdate
(Buffer buffer, View view, Object what) Creates a new buffer update message. -
Method Summary
-
Field Details
-
CREATED
Buffer created. -
CLOSING
About to be closed- Since:
- jEdit 4.2pre3
-
LOAD_STARTED
Buffer load started.- Since:
- jEdit 2.6pre1
-
LOADED
Buffer loaded. -
CLOSED
Buffer closed. -
DIRTY_CHANGED
Buffer dirty changed. -
MARKERS_CHANGED
Buffer markers changed. -
SAVING
Buffer saving. -
SAVED
Buffer saved.- Since:
- jEdit 4.0pre4
-
PROPERTIES_CHANGED
Properties changed.- Since:
- jEdit 4.1pre1
-
-
Constructor Details
-
BufferUpdate
Creates a new buffer update message.- Parameters:
buffer
- The bufferwhat
- What happened
-
-
Method Details
-
getWhat
Returns what caused this buffer update. -
getBuffer
Returns the buffer involved. -
getView
Returns the view involved, which may be null. -
paramString
- Overrides:
paramString
in classEBMessage
- Returns:
- a string representation of this message's parameters.
-