designer icon indicating copy to clipboard operation
designer copied to clipboard

Reduce state kept in DocumentServer

Open justinfagnani opened this issue 8 years ago • 0 comments

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.

justinfagnani avatar Oct 21 '15 17:10 justinfagnani