octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave-maintainers Digest, Vol 86, Issue 25


From: Ben Abbott
Subject: Re: Octave-maintainers Digest, Vol 86, Issue 25
Date: Wed, 15 May 2013 09:55:56 +0800

On May 15, 2013, at 4:38 AM, John W. Eaton wrote:

> On 05/14/2013 04:26 PM, Daniel J Sebald wrote:
> 
>> Is this the up-to-date repository code?
>> 
>> https://github.com/Amorph/scintilla/blob/master/lexers/LexMatlab.cxx
>> 
>> I don't see any keywords in there. Neither is there anything about color
>> and highlight info. The most I see pertains to documentation formatting.
>> Did the QScintilla folks just decide to add those keyword features
>> themselves instead of going back to the Scintilla source and maintain that?
> 
> It looks like you found the scintilla editor sources, not the QScintilla 
> package.
> 
> In the QScintilla sources, the lexer files that contain the keyword info are 
> in the Qt3 subdirectory.
> 
> For a stand-alone editor, a fixed list of keywords makes sense, I suppose, 
> though for something like Octave, you could possibly query Octave for the 
> most up to date list when the editor starts.
> 
> For an embedded editor, we could do better, by overloading the keyword 
> function with our own that calls Octave functions to get the keyword lists.  
> I'm not opposed to doing that, but the way it was done before looked to me 
> like the code in Octave was just a replacement for the code that is now in 
> QScintilla.  Sorry if I was mistaken and removed it too quickly.
> 
> jwe

John,

You're referring to the changeset below, correct?

        http://hg.savannah.gnu.org/hgweb/octave/rev/025bc6b5080e

Are you implying that this changeset might be backed out, allowing the gui to 
be built with qscintilla 2.4.x?  I'm ok either way, but if 2.4.x will suffice 
then I'll avoid the effort of working on a qscintilla 2.6.x port for macports.

Ben

reply via email to

[Prev in Thread] Current Thread [Next in Thread]