Bug 344442

Summary: Alert tags are not highlighted in comments of R Script files
Product: [Applications] kate Reporter: ypq <yurupuqui+kde>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Patch with a workaround.

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