Skip to content
This repository was archived by the owner on Jun 15, 2021. It is now read-only.

Conversation

dabbler0
Copy link

Droplet needs a way for plugins that modify Ace behavior to add information to the serialized session state that Ace persists between refreshes. This adds the following public API method:

ace.extendSerializedState(
function serialize(aceSession) {
  return someObject; 
},
function deserialize(someObject, aceSession) {
  // take someObject stored by previous function and modify the session accordingly
}

This should also be useful for other plugins that want to add persistent functionality to the default Ace plugin.

@kzidane @dmalan

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant