tor, 01 04 2010 kl. 17:21 -0400, skrev Carnë Draug:
> On 20 March 2010 18:32, Søren Hauberg <[email protected]> wrote:
> > It would be nice if you could also highlight the function name coming
> > after the '@', so when I write '@sin' all for characters get the same
> > colour. This should, however, only happen when the following characters
> > is a legal function name. Specifically, I think we should highlight
> > anonymous functions different, so when I type '@(x)' only the '@' gets
> > highlighted.
> 
> What do you think if it highlights any word that comes right after the
> @ ? It would still not highlight anonymous functions but it would any
> user-made function.

I'm guessing this is how the parser works, so that sounds reasonable to
me (I assume you define "word" as something that starts with an
alphabetical character and only contains alphanumerics or underscores)

Søren


------------------------------------------------------------------------------
Download Intel&#174; 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

Reply via email to