On 11 March 2010 04:19, Søren Hauberg <[email protected]> wrote:
> I don't understand what you mean. You want users to be able to tell
> GtkSourceView which function names to highlight, right? If so, how are
> they going to be doing that without editing the 'octave.lang' file that
> comes with GtkSourceView?
>

Probably a misunderstanding between us. They will have to edit the
file if they do want to add other functions to the list of highlighted
ones. The comment explaining on the file explaining how to do it,
don't think about it as if we are asking someone to do it bit rather
as documentation on how to expand it to the user's need. We would
select a bunch of functions, but in case one day some user decides to
look on how it works and increase it, it's already there explained for
him. If he gets to the point of looking inside the lang file, he's
probably already thinking about changing it to do something more. We
would only be anticipating this and save him from the work of finding
how to highlight more functions. No extra work for us, just a bit more
easy on the user.

> Hmm, that doesn't really match my experience. I guess I should ask the
> developers.

Well, if it doesn't work that way, maybe that's a good idea to give
them. To keep a counter on many times each language is used to select
the one that is most likely to be correct. Or maybe that's a more
appropriate question/comment for the gedit developers rather than the
ones from gtksourceview. All I know is I still have the lang file for
Objective-C but my *.m files are automatically identified as Octave
files.

Carnẽ Draug

------------------------------------------------------------------------------
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