[CM] Grace
Heinrich Taube
taube at uiuc.edu
Fri Dec 18 05:59:31 PST 2009
charles, as soon as the dust settles on JUCE's new CodeEditor
component I will try to move Grace's editor to that and then syntax
highlighting should not be a problem for large files. The current
editor (written several years ago) is built on JUCE's TextEditor,
which is a char based editor with all sorts of limitations. in order
to colorize text you have to literally (re)insert it into the buffer,
which becomes an absurd proposition for large files. i tried hacking
the juce sources to get it colorizing without insertion but gave up
after it never really worked. his new CodeEditor has built in support
for language syntax but moving grace to this will be a lot of
difficult work (basically a rewrite)
anyway, handwaiving aside, its definately on my todo list.
> Rick-
>
> Grace is working great! Thanks for continuing to develop CM. I'm
> wondering if it would be easy to make Grace colorize large buffers.
> I didn't think I cared, until it didn't.
>
> -Charles
>
> Charles Nichols
> Associate Professor, Composition and Music Technology
> School of Music, University of Montana
> 32 Campus Drive
> Missoula, MT 59812
> (406) 243-5360
> www.charlesnichols.com
>
More information about the Cmdist
mailing list