word wrap - wraps at apostrophe

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
sagetyrtle
Posts: 7
Joined: Mon Aug 11, 2008 2:32 pm

word wrap - wraps at apostrophe

Post by sagetyrtle »

Hi there,

I'm wondering if there's a way to stop Textpad from wrapping a word at an apostrophe. For example, instead of:

"The purple dog can't
sleep."

I get:

"The purple dog can
't sleep."

Thanks much for any suggestions you have.
User avatar
helios
Posts: 711
Joined: Sun Mar 02, 2003 5:52 pm
Location: Helios Software Solutions
Contact:

Post by helios »

Which version of TextPad are you using?
Helios Software Solutions
sagetyrtle
Posts: 7
Joined: Mon Aug 11, 2008 2:32 pm

Post by sagetyrtle »

I'm using 5.2.0.
paleolith
Posts: 46
Joined: Sun Jun 26, 2005 6:25 pm
Contact:

Post by paleolith »

I don't see this problem. What is the type of file? In what font are displaying? Are you certain there is no space before the apostrophe? Did you type the text or did you copy and paste it from somewhere else?
sagetyrtle
Posts: 7
Joined: Mon Aug 11, 2008 2:32 pm

Post by sagetyrtle »

Image

I'm using Courier New, and nope, no space before the apostrophe. As you can see in the second screenshot, when I adjust the window width it displays correctly:

Image

I typed the text directly into Textpad.
paleolith
Posts: 46
Joined: Sun Jun 26, 2005 6:25 pm
Contact:

Post by paleolith »

I'm afraid I can't duplicate it no matter what I try. I tried various combinations of document class options and couldn't get it to happen. I didn't ask what OS version you are on. You didn't say what the file type is, but I'm guessing that you probably aren't changing a lot of document class options. I tested with an unnamed document and changing the default document class options -- word wrap, wrap at column, font. I did not try any of the more esoteric things like syntax highlighting. When I switched to Courier New, my apostrophes looked like yours.

AFAICT, the syntax definition file (even if you are using one) isn't documented as affecting word wrapping, just selecting and stepping. It would make sense if it did affect wrapping though. Do you use a syntax definition file? I don't -- word wrapping seems to be based solely on spaces, not on "characters in words" -- but I do see that double-clicking a word breaks at an apostrophe unless I add the apostrophe to "other characters in words". Does making that change help your situation?

Beyond that, I'm afraid I'm out of ideas.

Edward
ak47wong
Posts: 703
Joined: Tue Aug 12, 2003 9:37 am
Location: Sydney, Australia

Post by ak47wong »

I couldn't reproduce it either. But I do want to know what Max is going to do to the woman in the big SUV.

Andrew
paleolith
Posts: 46
Joined: Sun Jun 26, 2005 6:25 pm
Contact:

Post by paleolith »

My sympathies are with MAX.
sagetyrtle
Posts: 7
Joined: Mon Aug 11, 2008 2:32 pm

Post by sagetyrtle »

Aha - okay.

I tried it with a plain text file in Textpad and couldn't re-create the problem. So it must be the syntax definition file I'm using. Ah well. Thanks very much for your help in any case.

(re: Max - Hee! The woman in the SUV is his girlfriend. He's the villain of the piece, he's moments away from being run down by a group of bike riders.)
paleolith
Posts: 46
Joined: Sun Jun 26, 2005 6:25 pm
Contact:

Post by paleolith »

sagetyrtle wrote:I tried it with a plain text file in Textpad and couldn't re-create the problem. So it must be the syntax definition file I'm using.
Interesting. That's a good one to know.
(re: Max - Hee! The woman in the SUV is his girlfriend. He's the villain of the piece, he's moments away from being run down by a group of bike riders.)
reminds me of this old fantasy.

Edward
Post Reply