tweaks: rearrange some code to separate softwrap and normal mode more

(Ignore the indentation for the moment.)
1 file changed