Page 1 of 1
I can't get word wrap to work
Posted: Tue Nov 23, 2010 10:05 am
by moores8
64-bit Vista
Textpad v5.3.1
I have a Python script that writes very long integers to .txt files. I
can't get Textpad to wrap these long lines. Clicking on the word wrap
icon on the top tool bar doesn't wrap them. What else can I do?
Thanks
Posted: Tue Nov 23, 2010 11:54 am
by helios
This is set using the word break column, which can be set differently for each document class.
For example, to configure it to 65 for the Text class
(*.txt):
1) From the Configure menu, choose Preferences.
2) Click the "+" next to Document Classes.
3) Select "Text".
4) Check "Word wrap long lines" and "Save with hard breaks".
5) Check "Word wrap at column number", and type 65 in the box.
6) Click OK.
As you type, words will wrap with a soft break, which will be converted to a hard break when the document is saved, or for selected text, by using the Split Wrapped Lines command, on the Edit menu. You can join selected lines back together again, using the Reformat command.
I hope this helps.
Posted: Tue Nov 23, 2010 2:17 pm
by moores8
Thanks very much. I found that the word break had been set to 8000!