D24982: Small improvements in some XML files

Nibaldo González noreply at phabricator.kde.org
Sun Oct 27 10:14:46 GMT 2019


nibags created this revision.
nibags added reviewers: Framework: Syntax Highlighting, dhaumann, cullmann.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
nibags requested review of this revision.

REVISION SUMMARY
  **Changes:**
  
  - Replace some unnecessary RegExpr rules with other rules.
  - Use non-capturing groups in some regular expressions.
  - Add `##Modelines` in comments.
  - Add folding for multi-line comments, add attribute `region` in element `<comment>`.
  - Add `column` atributte in some rules.

TEST PLAN
  make test

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  improve-some-xml

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

AFFECTED FILES
  autotests/folding/highlight.y.fold
  data/syntax/apparmor.xml
  data/syntax/coffee.xml
  data/syntax/fortran-fixed.xml
  data/syntax/fortran-free.xml
  data/syntax/html.xml
  data/syntax/javascript.xml
  data/syntax/logcat.xml
  data/syntax/mustache.xml
  data/syntax/rust.xml
  data/syntax/selinux-cil.xml
  data/syntax/selinux-fc.xml
  data/syntax/selinux.xml
  data/syntax/xml.xml
  data/syntax/yacc.xml
  data/syntax/yaml.xml

To: nibags, #framework_syntax_highlighting, dhaumann, cullmann
Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20191027/d61bf049/attachment.html>


More information about the KWrite-Devel mailing list