I can't get word wrap to work

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
moores8
Posts: 4
Joined: Tue Nov 23, 2010 9:58 am

I can't get word wrap to work

Post 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
User avatar
helios
Posts: 710
Joined: Sun Mar 02, 2003 5:52 pm
Location: Helios Software Solutions
Contact:

Post 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.
Helios Software Solutions
moores8
Posts: 4
Joined: Tue Nov 23, 2010 9:58 am

Post by moores8 »

Thanks very much. I found that the word break had been set to 8000!
Post Reply