Now that the text area is independent of the rest of jEdit, various text area-related APIs that used to take org.gjt.sp.jedit.Buffer instances now take org.gjt.sp.jedit.buffer.JEditBuffers.
BufferChangeListener and BufferChangeAdapter are now deprecated. Use BufferListener instead.