søn, 21 03 2010 kl. 23:57 -0400, skrev Carnë Draug: > On 21 March 2010 23:41, Søren Hauberg <[email protected]> wrote: > > BTW. I was thinking that perhaps 'error', 'warning' and 'print_usage' > > should be highlighted in a different colour (red would be nice) to > > indicate that these functions deal with errors. Not sure if it is a good > > idea, though, but I wanted to mention it :-) > > > > Søren > > > > I don't think that's a good ideia. You see, I don't define, the color, > I just map a specific regexp (for example \...@\b) to something in the > default file (in this example, to data type). I don't define the style > (color, italic and that), I just say what they are. The style > developers are the ones who think about which colors should go with > what. The only thing I could do would be to map those functions to > 'error' but that's used to erroneous constructs (for example, using > non-integer values as indices for a matrix) so it could confuse people > which would think they are doing something wrong.
Yeah, I guess that is a good point. Just forget about the suggestion. > A cool thing that most people probably never noticed (I never did > until I started doing this), is that if you write FIXME, TODO, or XXX > in a comment, these are highlighted differently Yeah, I use this quite a bit. 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
