gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] Kate Cobol syntax highlighting - here's a cobol.xm


From: Bob
Subject: Re: [open-cobol-list] Kate Cobol syntax highlighting - here's a cobol.xml file
Date: Mon Feb 20 21:37:02 2006
User-agent: KMail/1.8.2

There is a Cobol highlighting file for JEdit, a nice Java editor.  I usually 
use XEmacs, but sometimes it is nice to just jump in and use Kate.  So, since  
I had today off, I started with the JEdit Cobol file and created one that 
works in Kate.  I hope this helps.

Attached is my new cobol.xml highlighting file for Kate.  I haven't tested it 
all that much but it seems to work for some large MicroFocus programs I'm 
working with.  It handles col 1-6 as comments (since MF allows anything 
there, not just line numbers), col 73-80 as comments, embedded SQL sections 
are highlighted, paragraphs are highlighted, and the usual keywords and 
functions.  The only thing I know of that it maybe should do that it doesn't 
is to handle line continuations (using the dash '-' in col 7), but none of 
the code I've seen in years uses that, anyway.  Any string literals that 
extend over one line using the continuation are going to confuse the 
highlighting and later sections of code may be all messed up.

When I get a chance, I'll test a bit more, and then see about getting it added 
to the official list of Kate highlighters.  Or, if anyone else cares to do 
this for me, by all means go for it.

Bob Willan
==============================
On Sunday 19 February 2006 08:49 pm, Robert Keane wrote:
Does anyone have or know where to get a cobol.xml file that will work 
with KDE's Kate editor.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list


Attachment: Kate-editor_syntax-highlighting_cobol.xml
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]