Re: wxEditor v0.2 released
- Posted by Matt Lewis Jul 03, 2008
- 787 views
[quote Greg Haberek]
Matt Lewis said...
Okay, yeah... I think found it. In redraw_buffer() I have this:
[snip]
But I think it should be something like this:
[snip]
I haven't tried it, but I suspect that's it. I never really noticed because I was always loading small-ish files.
The other thing that will probably help a lot is if you cache the file data locally, rather than going back to the list each line. Best strategy would probably be to swap that in and out only when the user switches to a different file, or saves, etc.
Matt