hi,
thank you - but it has become unnecessary.
i did not realize that there is a checkbox in the preferences, called "Script Word Wrap", which was activated while i was working in r23 (probably since the first installation of r23, back in the day), but deactivated (i guess, that's the default setting) in my fresh installation of r2023.
it's fine now. i'll mark this one as solved.