From sources-request at octave dot org Mon Jun 13 09:14:06 2005 Subject: Hilighting with gedit/GNOME. From: Muthiah Annamalai To: sources at octave dot org Date: Mon, 13 Jun 2005 04:19:53 -0700 (PDT) Hello there! This mail is for people using Gedit,GNOME, can now syntax hilite their scripts with this file octave.lang. Everyone can suggest where the words must go, and if all keywords in Octave are listed. octave.lang ==================================== \ #|% "|' "|' function endfunction switch case endswitch otherwise unwind_protect unwind_protect_cleanup end_unwind_protect try catch end_try_catch end if else elseif endif break continue for endfor return do until while endwhile global nargin nargout assert \b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b \b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]? \b0[0-7]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b \b0[xX][0-9a-fA-F]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b size zeros ones min max varargs sqrt atan2 asin acos log10 log real error isscalar isstr strcmp log2 Inf isvector strcat fsolve islogical isempty isnumeric prod round dims cumprod ismatrix floor sort ceil linspace isnan isinf nan_inf repmat colums rows sum rem reshape conv length usage log2 abs setstr printf sprintf fprintf fread fopen fclose system unlink To install this file: ===================== There are 2 ways. cp ./octave.lang /usr/gtksourceview-$version/language-specs/ where $version=1.0 or 0.8 or whatever you have installed on your system. [OR] If youre not a Root user cp ./octave.lang ~/.gtksourceview-$version/language-specs/ in your HOME directory. __________________________________ Discover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html