Annoing - Hex/ascii copy and paste???

General questions about using TextPad

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

Post Reply
User avatar
delley
Posts: 13
Joined: Mon Jan 12, 2004 10:26 am

Annoing - Hex/ascii copy and paste???

Post by delley »

Hi,

I resently started working with base64 encoding of text. I have been using Textpad for a gazillion years (approx.). But I have never used it as an hex tool.

Now, when I view my file which is partly text and partly base 64 encoded, textpad enterpet the whole file as hex - even the text part...

And when I want to copy and paste ascii representation of the base64 encoded part (for sanity check of base64 encoding) from textpad. I can mysteriosly only mark the hex part. Leaving me no option to do anything with the ascii part.

Is this the way it is supposed to work?

It could be nice to be able to mark (and copy) the ascii part as well...

Regards,


8) delley 8)
Now - suddenly everybody is a comedian!?!
User avatar
s_reynisson
Posts: 939
Joined: Tue May 06, 2003 1:59 pm

Post by s_reynisson »

First of all, did you vote here? http://textpad.com/forum/viewtopic.php?t=4123
Second, I don't like to use TP for hex files, to edit and view some users here use http://www.chmaas.handshake.de/delphi/f ... /xvi32.htm
Not much help on TP though, sorry, just wanted to point out the poll ;)
Then I open up and see
the person fumbling here is me
a different way to be
robbage

Re: Annoing - Hex/ascii copy and paste???

Post by robbage »

delley wrote:Now, when I view my file which is partly text and partly base 64 encoded, textpad enterpet the whole file as hex - even the text part...

And when I want to copy and paste ascii representation of the base64 encoded part (for sanity check of base64 encoding) from textpad. I can mysteriosly only mark the hex part. Leaving me no option to do anything with the ascii part.

Is this the way it is supposed to work?
AFAIK, TP switches to Hexview mode based on the file's extension.
If you open the preferences, select "Document Classes", Select "Binary" you will see a list of extensions. You can delete the one causing the problem, or rename your file to whatever.txt
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

Another option:

in the file-open dialog, there is a dropdownlist
Fileformat
with three options:
- auto causes textpad to choose
- text opens as text
- binary opens as hex view
Post Reply