Home Download Buy Blog Forum Support

Hex Viewer (a hex viewer and editor)

Re: Hex Viewer (a hex viewer and editor)

Postby facelessuser on Tue Aug 21, 2012 9:20 pm

Callidus wrote:Would it be possible to have the hex editor open AND be positioned to where the cursor or selection currently is? E.g. Say I put the cursor at the end of a line, then open the Hex Viewer, it should open to that same spot at the end of the line (so that I can view 0d 0a).

Currently it always opens with the cursor at the start of the file.

I don't know...maybe. The view that ST2 gives of the text is a modified representation of the actual file. The hex view is a raw representation of the file. It may not be easy to analyze the ST2 buffer and find the correct offset into the binary buffer of the file.
facelessuser
 
Posts: 1708
Joined: Tue Apr 05, 2011 7:38 pm

Re: Hex Viewer (a hex viewer and editor)

Postby flibberty on Tue Jul 16, 2013 10:40 pm

I'm not sure if I'm doing the wrong thing. I have tried installing Hex Viewer both manually and using package control. I have restarted ST2. The toggle hex option does appear, but it doesn't appear to do anything. In case it helps: I'm using ST 2.0.2, OS X 10.7.5 and Python version 2.7.1.

Any help much appreciated.

Thanks.
flibberty
 
Posts: 2
Joined: Tue Jul 16, 2013 10:36 pm

Re: Hex Viewer (a hex viewer and editor)

Postby facelessuser on Tue Jul 16, 2013 10:53 pm

I will try upgrading my ST2 (I am currently using ST3 on OSX 10.8). Do you see any errors in the console? How big a file are you trying to view as hex? Details, details, I need the details :).
facelessuser
 
Posts: 1708
Joined: Tue Apr 05, 2011 7:38 pm

Re: Hex Viewer (a hex viewer and editor)

Postby flibberty on Tue Jul 16, 2013 11:03 pm

facelessuser wrote:I will try upgrading my ST2 (I am currently using ST3 on OSX 10.8). Do you see any errors in the console? How big a file are you trying to view as hex? Details, details, I need the details :).


Well, this is strange. I went back to check the console to see if an error appeared but this time the toggling worked. Thank you for your quick reply anyway.
flibberty
 
Posts: 2
Joined: Tue Jul 16, 2013 10:36 pm

Re: Hex Viewer (a hex viewer and editor)

Postby facelessuser on Tue Jul 16, 2013 11:46 pm

No worries. Glad you got it working.
facelessuser
 
Posts: 1708
Joined: Tue Apr 05, 2011 7:38 pm

Re: Hex Viewer (a hex viewer and editor)

Postby AlexFolland on Sat Apr 18, 2015 9:17 pm

Hey, how the heck do you actually edit anything? I have hex view loaded on this file using the command palette command, "Hex Viewer: Toggle Hex View" and I'm pressing keys with the part I want to edit selected and nothing is happening. Could you please write something about the basic usage of this arcane addon?
AlexFolland
 
Posts: 2
Joined: Sat Apr 18, 2015 9:16 pm

Re: Hex Viewer (a hex viewer and editor)

Postby facelessuser on Sat Apr 18, 2015 9:43 pm

facelessuser
 
Posts: 1708
Joined: Tue Apr 05, 2011 7:38 pm

Re: Hex Viewer (a hex viewer and editor)

Postby AlexFolland on Sun Apr 19, 2015 10:21 am

Oh, I should have also mentioned that "Hex Viewer: Show Hex Edit Panel" does absolutely nothing. I hadn't read that part of what you linked me, but I had tried "Hex Viewer: Show Hex Edit Panel". It didn't bring up anything. There was no reaction from the program, despite trying multiple times; not even an error. I then assumed that I was already viewing the "hex edit panel". I scoured the screen for such a thing, and concluded that the uneditable area I was already viewing was the supposed "Hex Edit Panel", and that it wasn't working for some other reason. I was wrong there, but there was another bug, I suppose. How do I actually make the "Hex Edit Panel" appear if using "Hex Viewer: Show Hex Edit Panel" from the command palette does nothing?
AlexFolland
 
Posts: 2
Joined: Sat Apr 18, 2015 9:16 pm

Previous

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 8 guests