D16415: Creating new syntax highlighting file for Job Control Language (JCL)

Dominik Haumann noreply at phabricator.kde.org
Fri Oct 26 06:55:26 BST 2018


dhaumann requested changes to this revision.
dhaumann added a comment.
This revision now requires changes to proceed.


  Please add a small test file and explain what this highlighting language is used for :)

INLINE COMMENTS

> jcl.xml:3
> +<!DOCTYPE language SYSTEM "language.dtd">
> +<language name="JCL" version="2" kateversion="2.2" section="Scripts" extensions="*.JCL;*.jcl" mimetype="">
> +  <highlighting>

kateversion="5.0" and license="MIT"

> jcl.xml:128
> +        <keyword attribute="Built In"     context="#stay" String="builtin" />
> +        <RegExpr attribute="Steps"        context="#stay" insensitive="true" String="^((?!\/\/\*).*)(\/\/).*?(?=\s)"/> 
> +        <RegExpr attribute="InLine"       context="#stay" insensitive="true" String="^(?!\/\/).*"/>

Use column="0" and remove leading ^. Or do you mean firstNonSpace="true"?

REPOSITORY
  R216 Syntax Highlighting

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

To: phily, #framework_syntax_highlighting, dhaumann
Cc: dhaumann, kwrite-devel, kde-frameworks-devel, michaelh, ngraham, bruns, demsking, cullmann, sars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20181026/83e328ac/attachment.html>


More information about the KWrite-Devel mailing list