Creates a fake editor capability over an in-memory document.
The active document is a real string that same-document edits rewrite, so a test exercises
the service's own offset and range arithmetic rather than a recording of the
calls it made. Line endings are honoured as written: pass \r\n text and the
offsets come out with \r\n semantics. Workspace edits are only recorded;
asserting their application belongs in an adapter/Extension Host test.
Creates a fake editor capability over an in-memory document.
The active document is a real string that same-document edits rewrite, so a test exercises the service's own offset and range arithmetic rather than a recording of the calls it made. Line endings are honoured as written: pass
\r\ntext and the offsets come out with\r\nsemantics. Workspace edits are only recorded; asserting their application belongs in an adapter/Extension Host test.