It's actually kind of surprising that it works now because `SCI_POINTXFROMPOSITION` didn't work when I removed `SCI_SETFIRSTVISIBLELINE` in front of the size request and moved it behind - so `SCI_POINTXFROMPOSITION` works only for the displayed editor area but in this case it isn't displayed yet and `sci` has some who-knows-what size before the size request. But I don't know how this could be fixed.
Ugh… yeah, maybe someday I'll have to figure that out, because it doesn't seem very safe indeed. :crossed_fingers:
Anyway, good, it works now, the world seems to be saved for a while :-)
Thanks! :detective: