D18617: AsciiDoc: Fix highlighting of include directive

Andreas Gratzer noreply at phabricator.kde.org
Wed Jan 30 14:34:37 GMT 2019


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

REVISION SUMMARY
  The `include` directive is //always// processed, even when within verbatim or passthrough blocks.
  It should therefore be highlighted in these cases too.
  
  - Fix the highlighting definition `asciidoc.xml`.
  - Adjust and improve test file `asciidoc.adoc`.
  - Update created `.fold`, `.html` and `.ref` files.

REPOSITORY
  R216 Syntax Highlighting

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

AFFECTED FILES
  autotests/folding/asciidoc.adoc.fold
  autotests/html/asciidoc.adoc.html
  autotests/input/asciidoc.adoc
  autotests/reference/asciidoc.adoc.ref
  data/syntax/asciidoc.xml

To: andreasgr, #framework_syntax_highlighting, dhaumann
Cc: kwrite-devel, kde-frameworks-devel, bmortimer, hase, michaelh, genethomas, ngraham, bruns, demsking, cullmann, vkrause, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190130/acbc060a/attachment.html>


More information about the KWrite-Devel mailing list