I have constructed a file that is about 48 MB that
generates a highlighting scheme for the NCAR
Command Language (NCL) for .ncl files. The highlighting
scheme was working fine as buidt in functions and
procedure keywords were added and periodically
checked to see if working.
Only recently, upon adding a few more words to the
buildt in procedures keywords list, I used
nedit -import filename
where filename is the text highlighting file. After saving
the preferences in nedit, I went to open a .ncl file and
got the following error message:
Error compiling syntax highlighting patterns:
regexp > 32767 bytes
This causes the highlighting scheme not to work on the
machine. Another collegue of mine gets a similar
message on his machine. I think this means that the file
may be too large for nedit. Can this be fixed? Can more
memory be allocated (can that be done locally on a
machine or in a script)?
Otherwise, I am very close to a successful, correct
highlighting scheme for NCL. Hope to hear back from
Colorado State University
Log in to post a comment.