As I have promised it in a later post, here is a first version of the OpenOffice.org extension for syntax highlighting. There are still some things to improve like:

  • reading the languages files: this could certainly be optimized to avoid parsing the language file at each parsing time.
  • generating the languages files: add a parameter to remove the new lines in the XML definitions of the language.
  • present the display names of the languages and sort them by alphabetical order in the language selection dialog.
  • add some error dialogs for the user to understand problems.

Do not hesitate to report any bug here if you find some. COOoder.oxt

Edit 2008, 06/07:
Sources