On 02/03/2010 15:11, Mattias Gaertner wrote:
On Tue, 02 Mar 2010 14:50:18 +0100
Hans-Peter Diettrich<[email protected]>  wrote:
Martin schrieb:
With multiple editor windows, the files must be kept (and parsed...) in
their own pool, separate from the SynEdit viewers.
Why do you think this is needed?
AFAIK I'm the only one that has provided some profiler output and it
showed that the synedit scanner is not a big number. The bigger
limitation is the visual controls (pagecontrol, pages).

The files must be parsed (for highlighting) within the overall SynEdit.
But, this parsing must move from the "viewer"/"display" part to the "content provider" part. Otherwise if you view the same source twice (and both views use the same highlighter), then the text would be scanned twice, even though once would be enough.

Anyway, that has been iterated last year, under the topic Model-View-Controller.... So lets not go there

Martin

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to