https://bugs.kde.org/show_bug.cgi?id=397801

--- Comment #11 from trijez...@gmail.com ---
(In reply to Christoph Cullmann from comment #10)
> I think a period is no issue for the code that searchs/uses the files.
> Thought to be consistent with what we have I would propose to use - like
> others.

Fair enough.

I have now completed and tested a new profile that detects the dialect
automatically, either by dialect tag (a specially formatted comment), or by
reserved words or built-in identifiers that are indicative of a specific
dialect. This file should be the default, and I have thus given it the generic
name modula-2.xml.

The other files are nevertheless useful since they permit manual dialect
selection via the Kate language menu. I have named them as follows:

modula-2-pim-only.xml
modula-2-iso-only.xml
modula-2-r10-only.xml

With these files installed, the Kate language menu shows the following:

Modula-2
Modula-2 (ISO-only)
Modula-2 (PIM-only)
Modula-2 (R10-only)

I have committed all files to the repo at github and updated the README
accordingly.

https://github.com/trijezdci/M2-Syntax-Colour/blob/master/Kate/README.md

This is now definitely ready to go into the Kate distribution ;-)

I may revisit this in the future to do more code folding (at present only
comments are foldable) but as far as syntax highlighting goes, this is as
polished as it gets and I have already spent more time than I had budgeted for
this, so this is it for now.

Thanks for your assistance.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to