Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Reduce state kept in DocumentServer #180

Open
justinfagnani opened this issue Oct 21, 2015 · 0 comments
Open

Reduce state kept in DocumentServer #180

justinfagnani opened this issue Oct 21, 2015 · 0 comments
Assignees
Labels

Comments

@justinfagnani
Copy link
Contributor

Data flow between the editor and document would be simpler if the editor always sent the information needed to fully execute a command or query document state, without any state being kept in the DocumentServer (except for node ID mappings).

This would be a fairly large refactor because of the way CursorManager and PositionWalker work. Currently they require direct node references. We would need a way to track cursor position and request ranges based on a sourceId + offset.

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

No branches or pull requests

1 participant