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 > _______________________________________________ Cmdist mailing list [email protected] http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
