Bug 250652 - Outdated D syntax highlight xml file
Summary: Outdated D syntax highlight xml file
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: 3.0.2
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2010-09-09 12:45 UTC by Pedro Ferreira
Modified: 2018-10-27 01:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
XML file with new additions (40.56 KB, text/xml)
2010-09-09 12:45 UTC, Pedro Ferreira
Details
Highlight test file (3.57 KB, text/x-dsrc)
2010-09-13 17:55 UTC, Pedro Ferreira
Details
new syntax file (40.61 KB, text/xml)
2010-09-13 17:56 UTC, Pedro Ferreira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Ferreira 2010-09-09 12:45:23 UTC
Created attachment 51464 [details]
XML file with new additions

Version:           3.0.2 (using KDE 4.4.2) 
OS:                Linux

The syntax file for D is a bit outdated. 2 keywords have been added (shared and __gshared) and the semantics of synchronized have also been updated to be an attribute, rather than a statement.

Reproducible: Always

Steps to Reproduce:
This isn't reproducable because it isn't really a bug.

Actual Results:  
New keywords aren't highlighted


My kate version is 3.4.2, which isnt available for selection on the box above.
Comment 1 Erlend Hamberg 2010-09-10 17:46:51 UTC
as none of the kate developers use the D programmjng language; could you have a look at the existing syntax file for D, update it and do some basic testing?

the syntax files are explained at

http://kate-editor.org/2005/03/24/writing-a-syntax-highlighting-file/

there is a test file for the D syntax here:
http://gitorious.org/kate/kate/blobs/master/part/tests/hl/highlight.d

if you could add the new syntax there, too, that would be great.
Comment 2 Pedro Ferreira 2010-09-13 17:55:55 UTC
Created attachment 51607 [details]
Highlight test file
Comment 3 Pedro Ferreira 2010-09-13 17:56:48 UTC
Created attachment 51608 [details]
new syntax file
Comment 4 Pedro Ferreira 2010-09-13 17:58:52 UTC
(In reply to comment #1)
> as none of the kate developers use the D programmjng language; could you have a
> look at the existing syntax file for D, update it and do some basic testing?
> 
> the syntax files are explained at
> 
> http://kate-editor.org/2005/03/24/writing-a-syntax-highlighting-file/
> 
> there is a test file for the D syntax here:
> http://gitorious.org/kate/kate/blobs/master/part/tests/hl/highlight.d
> 
> if you could add the new syntax there, too, that would be great.

Here is the updated highlight test file for D2.
I've also updated the syntax file and is attached. Kate is my primary editor, so if the syntax changes again, I'll be happy to update the files.
Comment 5 Diggory Hardy 2010-09-28 16:42:54 UTC
I was meaning to respond to this: https://bugs.kde.org/show_bug.cgi?id=147413#c42
but since I haven't (unfortunately) used D for quite a while, then it's great if you can take over.
Comment 6 Pedro Ferreira 2010-09-28 17:00:01 UTC
Yes, sure. The language isn't expected to change that much in the near future anyways.

(In reply to comment #5)
> I was meaning to respond to this:
> https://bugs.kde.org/show_bug.cgi?id=147413#c42
> but since I haven't (unfortunately) used D for quite a while, then it's great
> if you can take over.
Comment 7 Christoph Cullmann 2011-08-12 08:57:11 UTC
It seems for me already a more up to date hl is in kate.git, says 1.62.
Comment 8 Andrew Crouthamel 2018-09-22 01:48:22 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Andrew Crouthamel 2018-10-27 01:59:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!