Re: Meditor bug report
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Dec 21, 2002
- 435 views
On Fri, 20 Dec 2002 15:22:10 +1100, Patrick.Barnes at transgrid.com.au wrote: >It won't open a file further than the 65535th line... is this avoidable,= or is it one of the richedit's limitations? Appears to be a bug in the scroll handling (one of several...). A quick test shows display line 100,000 then immediately reposition itself. You can get some additional mileage by tampering with: setScrollRange(MAIN, 1, 65535) in editor.exw. This should be overridden with the value of max passed to the hacked setBuiltInScrollRange, but apparently isn't. I shall have a look at this when time permits. Actually, can this wait until the next release of win32lib or is it delaying you? I was intending to wait for the new win32lib which promises much improved/simplfied scroll handling before messing any more with this. Alternatively, I think if I just optionally disable the horizontal scroll bar, in the same way I do the horizontal, it should stop this happening, as a stopgap measure. Pete