Skip to content

Add Buffer Types #63

@ChrisPenner

Description

@ChrisPenner

cc @jmatsushita

Allow Buffers to have types by introducing a new event type:

data BufTypeChanged bufType = BufTypeChanged

BufTypeChanged ReadOnlyBuffer for read-only buffers in rasa-ext-files (rasa -R example.txt)
BufTypeChanged (EditorBuffer languageType) for specifying syntax choice in rasa-ext-syntax. Allowing to make syntax modular by having for instance a markdown syntax extension listen to BufferTypeChanged (EditorBuffer MarkdownLanguage)
BufTypeChanged FileBrowser for a file browser, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions