Bug 344442 - Alert tags are not highlighted in comments of R Script files
Summary: Alert tags are not highlighted in comments of R Script files
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: Git
Platform: unspecified All
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-22 09:34 UTC by ypq
Modified: 2015-10-08 09:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Patch with a workaround. (1.13 KB, patch)
2015-02-22 09:36 UTC, ypq
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ypq 2015-02-22 09:34:00 UTC
The XML syntax highlight definition for R script is not aware of alert tags inside comments.

Reproducible: Always

Steps to Reproduce:
1. Write some R code with alert tags:

    ## TODO write some doc for my function "foo"
    foo <- function(x) {
     # FIXME do not invoke "bar"
     bar(x)
    }

2. Save as "foobar.R"


Actual Results:  
Tags "TODO" and "FIXME" are shown using the same general style for comments and headlines.

Expected Results:  
Tags "TODO" and "FIXME" are shown specially highlighted to be easily found in code.
Comment 1 ypq 2015-02-22 09:36:40 UTC
Created attachment 91210 [details]
Patch with a workaround.

A patch with a workaround is attached.
Comment 2 Christoph Cullmann 2015-10-08 09:36:55 UTC
Git commit e27fc036b45d108af2e918dd6eb84c24a81a9cf0 by Christoph Cullmann.
Committed on 08/10/2015 at 09:34.
Pushed by cullmann into branch 'master'.

fix alert HL

M  +11   -7    src/syntax/data/r.xml

http://commits.kde.org/ktexteditor/e27fc036b45d108af2e918dd6eb84c24a81a9cf0