[b38] rare bug: 1-line of extreme length - wrong cursor positioning on open

Started by: wOxxOm2 voices3 posts

1. create a file of 1000000 (1MB) characters in one line - do it by copy/paste (for example, in geometric progression fashion which requires only 32 copy/pastes :-)

2. turn off wrapping (Ctrl-1), save it

3. close EmEditor (!)

3. launch EmEditor with this file (doubleclick in Explorer or run via command line with the file name as parameter)

now the bug:
4. Cursor insertion point is half a window away from the line end
I believe this has been fixed on beta 37.
no, b38 when launched like "emeditor ThisBigOneLineFile.txt" still positions cursor (or the text itself) about 30-40 character after actual line end.

Yet b38 display the cursor correctly if I launch EmEditor first, then choose the file from Recently opened list (Alt-F, 1)

3 posts in this topic