Summary: | OpenCL language highlighting support | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Squall <virtual.avatar> |
Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | christoph, esteaqui |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kate/f027093a91c5d7b97526ef8485036e31dacaa4c7 | Version Fixed In: | 4.11 |
Sentry Crash Report: | |||
Attachments: |
OpenCL Highlight file
OpenCL syntax file OpenCL syntax file |
Description
Squall
2011-06-23 00:39:44 UTC
Its a good wish, but we can't keep wish lists open for all kind of missing hls. Perhaps look at kate-editor.org how to write a hl, else closing this. Created attachment 76972 [details]
OpenCL Highlight file
(In reply to comment #0) > Version: unspecified (using KDE 4.6.2) > OS: Linux > > OpenCL is a programming language that is based on Cuda. Incorrect; OpenCL is based on C, as is Cuda. They are siblings, not descendants. > > I want to ask to add syntax highlighting for OpenCL. I have attached a highlight file to the report; put it in /usr/share/apps/katepart/syntax/ directory and it should work, unless you installed with a different prefix. > > Thanks > > Reproducible: Didn't try Created attachment 77801 [details]
OpenCL syntax file
Added missing unsigned types to previous version of the syntax file
Thanks for the patch. Kate developers prefer to review longer patches on reviewboard. You can find more information here: http://kate-editor.org/2012/10/28/contribute-to-kate/ Created attachment 79459 [details]
OpenCL syntax file
Updated file: missing "__read_only" and "__write_only" image type qualifiers.
Git commit f027093a91c5d7b97526ef8485036e31dacaa4c7 by Dominik Haumann. Committed on 27/04/2013 at 12:02. Pushed by dhaumann into branch 'master'. add OpenCL highlighting Thanks to Pedro for the patch. FIXED-IN: 4.11 A +257 -0 part/syntax/data/opencl.xml http://commits.kde.org/kate/f027093a91c5d7b97526ef8485036e31dacaa4c7 |