I've created a mercurial repository in bitbucket in order to store
syntax highlighting files for use Octave language with multiple text
editors. By the moment I have files for CodePad (an discontinued MS
Windows program), nano, vim and Kate/KWrite. It would be nice if
someone in the community could contribute with other files for editors
as gedit, jedit, geany, etc.
| For Octave developers: Could be possible to implement a function
| called function_names() or similar in order to obtain a list with all
| the Octave function names, keywords, etc.?
You could try __list_functions__.
How accurate do you expect highlighting to be?
Suppose you write some perfectly valid code like this:
save foo.dat bar
save ("foo.dat", "baz")
save = 1;
On which of the lines above should "save" be highlighted as a command,
a function, or a variable? Once a symbol has been used as a variable
in a given function or script, I suppose it should afterward be
highlighted as a variable unless it is cleared. What if the clearing
is done with something like