Package org.eclipse.handly.buffer
Provides a basic framework for implementing and manipulating text buffers.
-
Interface Summary Interface Description IBuffer Represents a potentially shared buffer that contains text contents of a resource.IBufferChange Describes a text change to be applied to anIBuffer.IBufferListener Interface for listeners to buffer state changes.ICoreTextFileBufferProvider An object capable of providingITextFileBufferfor an underlying file. -
Class Summary Class Description Buffer A simpleIBufferimplementation.BufferChange Default implementation ofIBufferChange.BufferChangeOperation Applies a given change to a givenIBuffer.BufferChangeOperation.UndoChange ChildBuffer A child buffer is created on top of a parentIBufferand inherits the parent's contents initially, but is modified independently.TextFileBuffer Implementation ofIBufferbacked by anITextFileBuffer.UiBufferChangeRunner Executes aBufferChangeOperationin the UI thread. -
Enum Summary Enum Description SaveMode Indicates whether a buffer is to be saved after a change has been applied to it.