D17891: WML: fix infinite loop in contexts switch & only highlight tags with valid names

Nibaldo González noreply at phabricator.kde.org
Wed Jan 2 07:47:04 GMT 2019


nibags updated this revision to Diff 48510.
nibags added a comment.


  - Update
  
  I asked in the thread of the Wesnoth forum, that appears in the `wml.xml` file (http://www.wesnoth.org/forum/viewtopic.php?f=21&t=13781), if the changes are OK and someone has suggested to me that the array indices (`array[0]`) aren't highlighted as tags, as well that I included it
  
  Changes:
  
  - kateversion to 5.0
  - Delete commented code
  - Don't highlight tags if there is an alphanumeric character, underscore or "]" before, to avoid highlighting array indices as tags.

REPOSITORY
  R216 Syntax Highlighting

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D17891?vs=48465&id=48510

BRANCH
  fix-wml

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

AFFECTED FILES
  autotests/folding/test.pbl.fold
  autotests/html/test.pbl.html
  autotests/input/test.pbl
  autotests/reference/test.pbl.ref
  data/syntax/wml.xml

To: nibags, #framework_syntax_highlighting, dhaumann, cullmann
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/20190102/b59c4f5f/attachment.html>


More information about the KWrite-Devel mailing list