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
Please register or sign in to comment