Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Notepad width limit
Message
From
09/11/2007 13:01:12
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
General information
Forum:
Windows
Category:
Computing in general
Miscellaneous
Thread ID:
01267980
Message ID:
01268014
Views:
20
>>>>>>I have some very long log file entries. When viewing in Notepad, they very long ones wrap. If I view in FP, there is
>>>>>>no wrapping. I want the log file to be more readable than this wrapping appears. Likely the person viewing the log
>>>>>>file will be using Notepad, or something similar. Below is an example of the contents of the log file. It really
>>>>>>doesn't look like this in Notepad, only the 2nd message wraps to the next line. The others just keep going to the
>>>>>>right on a single line.
>>>>>>
>>>>>
>>>>>Did you turn off Word Wrap under the Format menu?
>>>>
>>>>Yes, only the 2nd wraps down to the 2nd line. These are all very long, but some longer than most. Those are the ones that wrap down. The others go off the right side of the screen. I would like them all to do that. I think there is just a max width in Notepad, but I can't find a reference to it.
>>>
>>>Do your "new lines" consist of both a CR and LF? If you only have one of the two, it's still considered a single line.
>>
>>They are all the same as far as that goes. The very end of each message has the CR and LF. Just kind of strange. I though they would all remain on a single line each.
>
>It appears that the limit is 1024 for a line length, no matter what the word wrap setting is.
>
>
>x = REPLICATE("x",1025)
>STRTOFILE(x,"junk.txt")
>
>
>then open the file in notepad and see the 1 additional character.

Hmmmm... Ok. What do you think would be the simplest way to add CR/LF at each 1020th position of the message?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform