Ok I took your suggestions and experimented.  After some experimenting I figured out it's not the styling persay but the folding.  If folding is disabled it runs just fine but if folding is enabled it's sluggish.  I noticed however that Scite runs just fine either way.  As does the DelphiSCI component.  I thought perhaps it was my controls handling of messages from scintilla but even after commenting them all out same thing.  I'm a bit of a loss here.  Thanks for any help

Stewart

Neil Hodgson <[EMAIL PROTECTED]> wrote:
Stewart Obert:

> I've noticed when dealing with a long file if I use Ctrl+End if it's
> highlighted it has a bit of a lag time. If I use SCI_COLOURISE after
> setting the highlighter properties there is no lag time with Ct! rl+End but
> there is a bit of a lag time there.

Syntax styling does take some time.

> I've noticed none of the editors using Scintilla seem to suffer from this
> problem but I'm not entirely sure why. As near as I can tell I'm using an
> almost identical loading method to them. So I guess my question is what
> might cause this delay that I may be doing wrong so I can correct it.

Try turning line wrapping on/off and experiment with layout caching property.

Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest


Yahoo! Photos – Showcase holiday pictures in hardcover
Photo Books. You design it and we’ll bind it!
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to