cullmann created this revision. cullmann added a reviewer: dhaumann. Herald added projects: Kate, Frameworks. Herald added subscribers: kde-frameworks-devel, kwrite-devel. cullmann requested review of this revision.
REVISION SUMMARY avoids that the main context can be #poped + ensure we abort the switching loop if we arrive at it TEST PLAN make && make test REPOSITORY R216 Syntax Highlighting BRANCH master REVISION DETAIL https://phabricator.kde.org/D15835 AFFECTED FILES src/lib/abstracthighlighter.cpp src/lib/state.cpp src/lib/state_p.h To: cullmann, dhaumann Cc: kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann