D14274: Modelines: add byte-order-mark & small fixes

Nibaldo González noreply at phabricator.kde.org
Mon Aug 13 08:04:17 BST 2018


nibags added a comment.


  So I keep the DetectSpaces rule and only delete the LineContinue.
  
  By having a file with Modelines as a test, randomly, different .html and .ref files are generated each time I run "testhighlighter_test" and "htmlhighlighter_test". That is, sometimes the .html and .ref files show the Modelines highlighted and sometimes not. Also, the word `kate:` should be highlighted with "dsAnnotation" (which is pink in the Normal scheme). I attach a screenshot of two generated .html files.
  
  F6190099: Screenshot_20180813_033824.png <https://phabricator.kde.org/F6190099>
  
  The test file:
  F6190103: modelines.sh <https://phabricator.kde.org/F6190103>

REPOSITORY
  R216 Syntax Highlighting

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

To: nibags, turbov, dhaumann, cullmann, vkrause, #kate
Cc: kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180813/803a8544/attachment.html>


More information about the KWrite-Devel mailing list