fre, 16 04 2010 kl. 14:08 -0400, skrev Carnë Draug: > pkg () is not being highlighted as function (I'm pretty sure it was at > a certain point, so I may have messed it up during other changes. > > Variable or function names that start by pkg (such as pkg_i or > pkg_description), get the pkg and the underscore highlighted as > preprocess.
I must admit that I'm not good with regular expressions, so I can't be of much help. If I where you, I would simply drop the special-case for 'pkg' and just treat it like any other function, but that's just me being lazy, I guess... > Altough I can't avoid getting variables highlighted as functions if > they have the same name of a function, if they are structure fields, > they shouldn't be highlighted as such. Is it possible in any way, for > a function to be preceded by a dot? No. Function names cannot start with a dot. Søren ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
