PalmOS API keyword lists

Metrowerks Codewarrior includes a feature called Syntax Coloring (accessible in the Preferences menu, IDE Preferences, Text Colors). These keyword lists are provided for use in the Custom Keywords section. They allow you to use the most recent PalmOS SDK while developing for devices that don't run the most recent PalmOS release. For instance, you can be warned when you use a call introduced in 3.5 when you are targeting Handspring Visors running only 3.1.

I derived these lists myself from the Palm documentation and include files. There are probably mistakes. Use at your own risk, share freely.

Original lists

Derived lists

These are combinations of the above components. This is what I use when developing. If I want to restrict myself to 3.5 calls, I'll load "35yes.txt" as Custom Keyword Set 1 and make it purple, "35no.txt" as Custom Keyword Set 2 and make it green, "hostcontrol.txt" as Custom Keyword Set 3 and make it orange, "system_only.txt" as Custom Keyword Set 4 and make it yellow.

A better way to do it would be to make the keyword sets vary per build target. Set this in the Project preferences panel instead of the IDE preferences panel. The downside of this is that you must make the change for each build target in each project file.

These derived lists are built with derived.sh.

Updates?

There might be an updated version. If so, it's here.
Hal Mueller <hal@mobilegeographics.com> http://www.mobilegeographics.com/
Last modified: Thu Sep 18 01:05:47 PDT 2003