tools -> options -> your language -> word wrap
Choose whatever left and right margin settings you want then tick the "word wrap when typing" option. Click the help button for more detail. Also, in appearance -> general - see the "vertical line columns" option.