D15835: avoid that the main context can be #poped

2018-09-29 Thread Christoph Cullmann
This revision was automatically updated to reflect the committed changes.
Closed by commit R216:9e039a669f8f: avoid that the main context can be #poped 
(authored by cullmann).

REPOSITORY
  R216 Syntax Highlighting

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D15835?vs=42555=42560

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, vkrause, nibags
Cc: kwrite-devel, kde-frameworks-devel, michaelh, ngraham, bruns, demsking, 
cullmann, sars, dhaumann


D15835: avoid that the main context can be #poped

2018-09-29 Thread Volker Krause
vkrause accepted this revision.
This revision is now accepted and ready to land.

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D15835

To: cullmann, dhaumann, vkrause, nibags
Cc: kwrite-devel, kde-frameworks-devel, michaelh, ngraham, bruns, demsking, 
cullmann, sars, dhaumann


D15835: avoid that the main context can be #poped

2018-09-29 Thread Christoph Cullmann
cullmann added reviewers: vkrause, nibags.

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D15835

To: cullmann, dhaumann, vkrause, nibags
Cc: kwrite-devel, kde-frameworks-devel, michaelh, ngraham, bruns, demsking, 
cullmann, sars, dhaumann


D15835: avoid that the main context can be #poped

2018-09-29 Thread Christoph Cullmann
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