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.
Created attachment 91210 [details] Patch with a workaround. A patch with a workaround is attached.
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