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.
REVISION SUMMARY 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. REPOSITORY R216 Syntax Highlighting BRANCH rdoc REVISION DETAIL https://phabricator.kde.org/D14639 AFFECTED FILES autotests/folding/test.Rd.fold autotests/html/test.Rd.html autotests/input/test.Rd autotests/reference/test.Rd.ref data/syntax/rdoc.xml To: aaronpuchert, dhaumann, cullmann Cc: kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann