Toggle view?

General questions about using TextPad

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

Post Reply
BrianA
Posts: 3
Joined: Wed Sep 10, 2008 8:34 am

Toggle view?

Post by BrianA »

Hi

Is there a way to toggle between text and binary views of a file?
----------
Cheers

Brian Abbott
ACRobin
Posts: 134
Joined: Fri Nov 04, 2005 9:51 pm
Location: Northumberland,UK
Contact:

Post by ACRobin »

Easy, open the file twice - once as and editable text view and the other in the read only binary view.
Then you can have tabbed documents, use the document selector or CTRL+Tab - or split the screen..........
BrianA
Posts: 3
Joined: Wed Sep 10, 2008 8:34 am

Post by BrianA »

Hmm, but that's fiddly. I was looking for a simple toggle ...
----------
Cheers

Brian Abbott
Lawrence
Posts: 9
Joined: Wed Sep 01, 2004 3:32 pm
Location: Kansas City

write an item in Tools>External Tools to do it

Post by Lawrence »

Go to TextPad preferences and tools. Then:
1. add a program, name it something like "re-open in Binary"
2. Set the command to c:\program files\textpad 5\textpad.exe
3. Set parameters to $File(0x00).
4. Set initial folder to $FileDir.
5. Apply
Now apply and check under External Tools. You should have an item that will re-open the currently open file in binary. I didn't try it but change #3 to $File(0) and it should reopen a binary file in ascii.
Post Reply