aspose file tools*
The moose likes Cattle Drive and the fly likes help with a 1B nitpick... I'm not really seeing it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "help with a 1B nitpick... I Watch "help with a 1B nitpick... I New topic
Author

help with a 1B nitpick... I'm not really seeing it

Steven Lacher
Greenhorn

Joined: Dec 26, 2002
Posts: 12
From Marilyn's nitpick...
"Now that we have such a refined program, it's time to pick at the finer details. What happens if the name is just perfectly long enough that you write exactly 80 characters? (like "Mike" or "Marilyn")
The problem is that if your console is 80 characters wide and you write to the 80th character, many consoles will start a new line for you. Since you also start a new line, you get double spaced lines. How can you work around this issue?"

I'm thinking that perhaps since I know my last character is always a space (name followed by " "), that I should instead limit the wrap limit to 79 characters instead. But I'm just not sure. Any thoughts or guidance, fellow cattle drivers?


SCJP 1.4
Carol Murphy
village idiot
Bartender

Joined: Mar 15, 2001
Posts: 1195
I'm thinking you're onto something there.....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help with a 1B nitpick... I'm not really seeing it