Enum pepper::events::EditorEvent[][src]

pub enum EditorEvent {
    Idle,
    BufferRead {
        handle: BufferHandle,
    },
    BufferInsertText {
        handle: BufferHandle,
        range: BufferRange,
        text: EditorEventText,
    },
    BufferDeleteText {
        handle: BufferHandle,
        range: BufferRange,
    },
    BufferWrite {
        handle: BufferHandle,
        new_path: bool,
    },
    BufferClose {
        handle: BufferHandle,
    },
    FixCursors {
        handle: BufferViewHandle,
        cursors: EditorEventCursors,
    },
}

Variants

Idle
BufferRead

Fields of BufferRead

handle: BufferHandle
BufferInsertText

Fields of BufferInsertText

handle: BufferHandlerange: BufferRangetext: EditorEventText
BufferDeleteText

Fields of BufferDeleteText

handle: BufferHandlerange: BufferRange
BufferWrite

Fields of BufferWrite

handle: BufferHandlenew_path: bool
BufferClose

Fields of BufferClose

handle: BufferHandle
FixCursors

Fields of FixCursors

handle: BufferViewHandlecursors: EditorEventCursors

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.