Skip to content
Snippets Groups Projects
Commit 1652d585 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

Fix typo in mode state restoring

parent 553ffcfa
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ class Context {
static fromSaved(doc, saved, line) {
if (saved instanceof SavedContext)
return new Context(doc, copyState(doc.mode, saved.saved), line, saved.lookAhead)
return new Context(doc, copyState(doc.mode, saved.state), line, saved.lookAhead)
else
return new Context(doc, copyState(doc.mode, saved), line)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment