D14639: Add syntax-highlighting for RDoc (R documentation)
noreply at phabricator.kde.org
Sun Aug 5 22:21:12 BST 2018
aaronpuchert created this revision.
aaronpuchert added reviewers: dhaumann, cullmann.
Restricted Application added projects: Kate, Frameworks.
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel.
aaronpuchert requested review of this revision.
The R documentation language follows LaTeX-like syntax with occasional
snippets of R code. Builtin keywords and user-defined macros both begin
with a backlash, but we try to distinguish them to highlight arguments
according to their type.
For macros we can't know the argument types (LaTeX/R-like or verbatim),
so we just assume the type is the same as that of the surrounding code.
R216 Syntax Highlighting
To: aaronpuchert, dhaumann, cullmann
Cc: kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel