How to display all control characters of lines?

General questions about using TextPad

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

Post Reply
nathanv117
Posts: 14
Joined: Tue Jul 31, 2007 3:14 pm

How to display all control characters of lines?

Post by nathanv117 »

How to display all control characters of lines?
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

Could you please explain what you want?
nathanv117
Posts: 14
Joined: Tue Jul 31, 2007 3:14 pm

Post by nathanv117 »

Imported a file to textpad. want to know what the white space at the end of each lline contains. Textpad finds blank for some lines only.
Also want to find what other white spaces have. Need to add strings after the last word in each line.
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Does View | Visible Spaces help?
nathanv117
Posts: 14
Joined: Tue Jul 31, 2007 3:14 pm

Post by nathanv117 »

No.
Nathan
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

If you want people to help you, you have to help them understand what you want.
nathanv117
Posts: 14
Joined: Tue Jul 31, 2007 3:14 pm

Post by nathanv117 »

nathanv117 wrote:Imported a file to textpad. want to know what the white space at the end of each lline contains. Textpad finds blank for some lines only.
Also want to find what other white spaces have. Need to add strings after the last word in each line.
Sorry for the misunderstanding.
I tried View | Visible Spaces option and the textpad shows blank space for the lines it missed.

Appoliges again
nathan
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

What do you have selected in Configure | Preferences | View | Visible white space?
nathanv117
Posts: 14
Joined: Tue Jul 31, 2007 3:14 pm

Post by nathanv117 »

Tried with all the three selected and not selected also. Still all the white spaces show as white spaces. do not see any special chars.
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

What are these characters? Open the file in binary format and have a look.
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

What class of file are you looking at?
do not see any special chars.
What do mean be special characters? Explain or show example.

Did you press END to go to the end of each line?
Hope this was helpful.............good luck,
Bob
nathanv117
Posts: 14
Joined: Tue Jul 31, 2007 3:14 pm

Post by nathanv117 »

ben_josephs wrote:What are these characters? Open the file in binary format and have a look.
In binary shows up as hex 0D0A namely LR and LF

Zerubbabel <a href="#371M3f">See - 371M3f</a> <a href="#INDX">Index</a>

<!-- ZZZZZZZZZZ END -->

<!--YYYYYYYYYY START CATEGORY INDEX - nnnnn LINES -->

<h2><a name="CATINDX">Category Index</a></h2>

A

But the blank lines does not show up in binary file, why?

But textpad find ^\n highlights first position of a blank line in txt file!
Is \n is LF?

Thanks for directing me to binary lookup. learned something new!

How to insert a string at the end of these lines?

Appreciate your help.
nathanv117
Posts: 14
Joined: Tue Jul 31, 2007 3:14 pm

Post by nathanv117 »

Bob Hansen wrote:What class of file are you looking at?
do not see any special chars.
What do mean be special characters? Explain or show example.

Did you press END to go to the end of each line?
Opened a text file (class?) sent by another person. Do not know whether they did END after each line.

Please see my previous reply. Thanks.
nathanv117
Posts: 14
Joined: Tue Jul 31, 2007 3:14 pm

Post by nathanv117 »

Hi Bob,
Now I see they are not printable/viewable CR LF special (control) chars.
nathanv117
Posts: 14
Joined: Tue Jul 31, 2007 3:14 pm

Post by nathanv117 »

Hi Bob, Ben
Also found out in DOS CR/LF separates the lines! Too tech for me!
Now I am half-baked one! Did I buy textpad to learn this! Good investment!
Post Reply