Frank Heckenbach wrote:
Silvio a Beccara wrote:
I use Kate (for KDE) to edit GPC programs. Since not all of the keywords of GPC are listed in the definition file for colour evidentiation for Pascal, I was wondering whether someone has written a complete definition file for GPC.
I don't know exactly what's necessary for a definition file, but all the keywords are listed in the manual (or in the source in gpc.gperf -- this form may be easier for automatic processing).
Note, though, that many keywords depend on the dialect, and some keywords of one dialect are often used as identifiers in another one ...
Mr Beccara might consider that the fact that so-called 'keywords' are not being flagged indicates that he is using non-portable extensions. Such editor lists generally depend on the file extension for activation, so he might also consider different usage for .p and .pas source extensions. This is very easy with Textpad on Windoze, and I suspect VIM or Emacs could do the same thing in other environments.