[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] Syntax Highlighting
Hi Ryan and Frederik,
just committed the patch and the fix ...
On Dec 1, 2006, at 4:38 PM, Fredrik Olofsson wrote:
please do. works great here and it's a lot quicker.
and while you're at it why not implement this tiny fix too?
On 01.12.2006, at 12:48, Ryan Brown wrote:
If nobody objects, could someone commit this?
On Nov 29, 2006, at 6:00 PM, Ryan Brown wrote:
Attached is a simple patch that improves syntax highlighting
performance. Opening a large .sc file (6500 lines) previously
took about 10 seconds of beach balling, with the patch it opens
instantly. It works by changing the text color via textStorage
(rather than the text view) and wrapping the entire colorization
loop in beginEditing and endEditing calls. Why this improves
performance is documented here:
I also cleaned up the code a bit.
fredrikolofsson.com klippav.org musicalfieldsforever.com
sc-dev mailing list