[Wish] Lister: double selection in hex view

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

compie
Junior Member
Junior Member
Posts: 93
Joined: 2003-07-06, 18:47 UTC

[Wish] Lister: double selection in hex view

Post by *compie »

When using lister to view a file in hex mode, you can make a selection on the right (where the normal text is shown). It would be nice if the corresponding section on the left (the hex text) would also be marked.
I have used some HEX editors that also implemented this and it works fine.

Christian: if you implement this, could you also make it possible to select on the left (in the hex text)?
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

+ for standalone selection for left / right side
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
compie
Junior Member
Junior Member
Posts: 93
Joined: 2003-07-06, 18:47 UTC

Post by *compie »

I hope this can be but on the big wish list for TC 7.? ....
User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Post by *D1P »

Support++
astrotzky
Junior Member
Junior Member
Posts: 48
Joined: 2006-09-18, 10:37 UTC

Post by *astrotzky »

Support++
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

++

Post by *Clo »

:) Hello !

• I support as well !

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

In waiting for it, you can use the alternative viewer : universal viewer :mrgreen:
Dr.Nemo
New Member
New Member
Posts: 1
Joined: 2009-11-03, 06:46 UTC

Lister: HEX mode enhancement

Post by *Dr.Nemo »

Hi,

Please add hex code selection in the left pane when cursor is visible in right pane (ascii codes).

This is really useful when you want to know the hex code of ascii symbol under cursor.

Thanks!
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Support.
Also support context menu item like 'Copy as HEX' for copying HEX values (or to copy HEX values on context menu item in HEX column and text in text column).
Also would be great to have possibility to select text in HEX column also (currently lister allows to select entire lines only.

And many users asked for jumping to offset, I think it may be done via jump to % dialog, e.g. if user enters number with prefix $. This is not so hard to realize.
User avatar
aRIEL242
Junior Member
Junior Member
Posts: 64
Joined: 2009-06-29, 12:31 UTC

Post by *aRIEL242 »

Support
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post by *Sam_Zen »

I want to support this, although I'm not saying, that it's not so hard to realize..
It would implicate, that there will be two cursors at the same time in one file, to indicate the same position.
Showing a selection of a string of characters in the left pane simultaneously is even more complicated.
0.618033988
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Sam_Zen wrote:I want to support this, although I'm not saying, that it's not so hard to realize..
It would implicate, that there will be two cursors at the same time in one file, to indicate the same position.
Showing a selection of a string of characters in the left pane simultaneously is even more complicated.
I don't know how Lister is made, but it have no child classes, so it seems that it draws selection manually - in this case it is quite easy - draw selection in both hex and text blocks in one procedure.

BTW, standard Windows classes have style ES_NOHIDESEL allowing to see selection even if windows have no focus. In Delphi it is pretty easy to set equal selection for pair of Edit windows (or Memo, they are equal, in Windows there is only one class EDIT with optional style ES_MULTILINE):

Code: Select all

object Form1: TForm1
  ...
  object Edit1: TMemo
    ...
    HideSelection = False
    ...
  end
  object Edit1: TMemo
    ...
    HideSelection = False
    ...
  end
  ...
end


procedure TForm1.DupSelection(ToRight: Boolean);
begin
  if (ToRight) then begin Edit2.SelStart:=Edit1.SelStart; Edit2.SelLength:=Edit1.SelLength; end
  else begin Edit1.SelStart:=Edit2.SelStart; Edit1.SelLength:=Edit2.SelLength; end;
end;

procedure TForm1.Edit1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
begin if (ssLeft in Shift) then DupSelection(True); end;

procedure TForm1.Edit1Click(Sender: TObject);
begin DupSelection(True); end;

procedure TForm1.Edit1DblClick(Sender: TObject);
begin DupSelection(True); end;

procedure TForm1.Edit1KeyUp(Sender: TObject; var Key: Word; Shift: TShiftState);
begin DupSelection(True); end;
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post by *Sam_Zen »

I guess you convinced me.
Just two cursors would be very nice already.
0.618033988
miskox
Member
Member
Posts: 166
Joined: 2003-06-11, 06:00 UTC

F3 - Lister viewing in HEX suggestion

Post by *miskox »

If I view a file in hex (F3 - Lister, Options/Hex) and I select some characters on the right they are selected - colors are inverted. I would like to see hex values selected too.

Also selecting hex values would do the same - currently it is not possible to select hex values.

Saso
#224551
User avatar
aRIEL242
Junior Member
Junior Member
Posts: 64
Joined: 2009-06-29, 12:31 UTC

Post by *aRIEL242 »

Support++
Post Reply