Commit ae6aaf7d authored by Johannes Roith's avatar Johannes Roith

Fix call.

parent 2a33a226
...@@ -146,7 +146,7 @@ public class Debugger { ...@@ -146,7 +146,7 @@ public class Debugger {
selfBuiltAstCache = parser.parse(); selfBuiltAstCache = parser.parse();
// TODO: manage revisions properly? // TODO: manage revisions properly?
long revision = RevisionManager.increment(document); long revision = RevisionManager.increment(document);
Model.getInstanceForDocument(document).setASTModel(selfBuiltAstCache, revision); Model.getInstanceForDocument(document).setASTModel(selfBuiltAstCache, parser.getContext(), revision);
} catch (Exception e1) { } catch (Exception e1) {
e1.printStackTrace(); e1.printStackTrace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment