createTestViewSnapshotSource
createTestViewSnapshotSource(
text):Pick<EditorViewSnapshot,"textSnapshot"|"lineStartsView">
The two source fields every hand-built view snapshot needs, from one string.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Pick<EditorViewSnapshot, "textSnapshot" | "lineStartsView">