D18509: Fixed bug where typing menu or menuconfig while editng a kconfig file would cause the loop at abstracthighlighter.cpp:299 to get stuck in an inite loop. This would occur because the config_entry_start and menu_entry contexts would push an error...

Jason Wilbee noreply at phabricator.kde.org
Fri Jan 25 01:24:42 GMT 2019


jwilbee created this revision.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
jwilbee requested review of this revision.

REVISION SUMMARY
  ...line end context and the error line end context would pop back to the config_entry or menu_entry contexts.
  
  There should probably also be a loop counter or something in that loop to keep
  the end application from dying due to a bad definition.

TEST PLAN
  Open up a kconfig file in a text editor and attempt to type "menu", "config", or "menuconfig"

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  kconfig-freeze-fix (branched from master)

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

AFFECTED FILES
  data/syntax/kconfig.xml

To: jwilbee
Cc: kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190125/1a3a9176/attachment.html>


More information about the KWrite-Devel mailing list