Skip to content

Could we have more extensive examples? #66

@merlinz01

Description

@merlinz01

Getting started with CodeMirror is a significant learning curve.
There are some examples of things useful for extension development but not as many of the basics.
It would be great if we could have examples of all of the following, geared toward first-time users (like me):

  • Creating an editor
  • Deleting an editor (do we need to delete the view/state?)
  • (Dynamically) changing the highlighting language
  • Specifying/customizing the highlighting color theme
  • Querying undo state to see if document has changed
  • Resetting undo state when loading another document
  • Having a function called on each change

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions