Commit c839f4b1 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Merge branch 'master' of

parents f7350f43 a98db7b0
......@@ -1901,7 +1901,9 @@ SemanticInfo SemanticHighlighter::semanticInfo(const Source &source)
snapshot = m_lastSemanticInfo.snapshot;
doc = m_lastSemanticInfo.doc;
} else {
if (!doc) {
const QByteArray preprocessedCode = source.snapshot.preprocessedCode(source.code, source.fileName);
doc = source.snapshot.documentFromSource(preprocessedCode, source.fileName);
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