Skip to content
Commit 1876a193 authored by Christoph Cullmann's avatar Christoph Cullmann 🍨
Browse files

KateHighlighting is expected to always have at least one default KateHlContext...

KateHighlighting is expected to always have at least one default KateHlContext (stored in m_contexts), but with highlighting turned off, there is no such context.

As a fix, add a minimalistic KateHlContext to m_contexts in makeNoneContext.

Also fix two typos ("falltrhough", "resolove") in code comments when touching part/syntax/katehighlight.cpp anyway.

REVIEW: 119724
BUG: 337785
parent f3fd3e4f
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