Title: Crisp editor .kwd file Post by: David Z. on December 15, 2009, 03:26:27 pm I am using the Crisp text editor to write my programs http://www.crisp.com. It can colorize the source code similar to Studio's editor. It uses .kwd files to define the language syntax. Its mostly just a list of reserved words. The 4gl.kwd file that comes with Crisp is for Ingress Windows 4gl, not I4gl. I can create my own 4gl.kwd file, but before I do so, I thought I would ask if anyone already has one. If not, does anyone know of a list of all the I4gl reserved words such as "while", "if", "select", etc?
Thanks, David Title: Re: Crisp editor .kwd file Post by: Reuben B. on December 15, 2009, 08:03:24 pm I am using the Crisp text editor to write my programs http://www.crisp.com. It can colorize the source code similar to Studio's editor. It uses .kwd files to define the language syntax. Its mostly just a list of reserved words. The 4gl.kwd file that comes with Crisp is for Ingress Windows 4gl, not I4gl. I can create my own 4gl.kwd file, but before I do so, I thought I would ask if anyone already has one. If not, does anyone know of a list of all the I4gl reserved words such as "while", "if", "select", etc? Thanks, David Later versions of Genero have the equivalent files to use with the vim text editor. If you have a look at the files in FGLDIR/lib/*.vim you maybe able to construct a solution from them. e.g. $FGLDIR/lib/fgl.vim Quote " BEGIN GENERATED syn keyword fglKeyword ABSOLUTE syn keyword fglKeyword ACCEPT syn keyword fglKeyword ACTION syn keyword fglKeyword ACTIONS syn keyword fglKeyword ADD syn keyword fglKeyword AFTER ... Title: Re: Crisp editor .kwd file Post by: David Z. on December 15, 2009, 09:17:34 pm I didn't see the file in FGLDIR (maybe my version is too old -- 2.11.16), but I did find /usr/share/vim/vim70/syntax/fgl.vim. on my RHEL 5 server. I assume its the same or similar. That helped a lot.
Thanks |