Skip Menu |

This queue is for tickets about the Syntax-Highlight-Engine-Kate CPAN distribution.

Report information
The Basics
Id: 59213
Status: new
Priority: 0/
Queue: Syntax-Highlight-Engine-Kate

Owner: Nobody in particular
Requestors: gerph [...]

Bug Information
Severity: Important
Broken in: 0.06
Fixed in: (no value)

Subject: Objective-C module fails with an error when it hits keywords
Download (untitled) / with headers
text/plain 851b
The Objective C module has checks in the form: if ($self->testKeyword($text, 'keywords', 0, undef, 0, '#stay', 'Keyword')) { ... and if ($self->testKeyword($text, 'types', 0, undef, 0, '#stay', 'Data Type')) { ... These don't appear to work - they result in the template looking for a 'Keyword' or 'Data Type' callback. From examination of the C colourer module, I believe that there should be an extra 0 parameter before the 'undef', ie: if ($self->testKeyword($text, 'keywords', 0, 0, undef, 0, '#stay', 'Keyword')) { ... and if ($self->testKeyword($text, 'types', 0, 0, undef, 0, '#stay', 'Data Type')) { ... Having made this change locally the Objective C files are now coloured correctly here. Also Objective C files aren't in the list of .m files in These could be added as well, as Objective C files are becoming more common.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to