Extended tab keyboard commands and language display

Wishlists for new functionality and features.
Post Reply
lordcanty
Posts: 19
Joined: 23 Mar 2007 22:43

Extended tab keyboard commands and language display

Post by lordcanty » 20 Apr 2007 21:01

Hi,
could you implement some other ways to change between tabs? I was thinking something like ALT+left/right to select next/prev and ALT+1-9 to go to one. I know you can select next tab (but not prev) with CTRL+TAB and close them with CTRL+W, or maybe there are other commands I haven't found.

Also, basically I'd like to see japanese strings in the text part. I have my system's default encoding to japanese, and with other hex editors I can see them if I select something like "windows ansi" encoding (I think, maybe it depends on the program). However none of the encoding-font combinations I've tried work. Not sure if it's enterely dependant on Windows though.

Maël
Site Admin
Posts: 1127
Joined: 12 Mar 2005 14:15

Re: Extended tab keyboard commands and language display

Post by Maël » 21 Apr 2007 18:44

lordcanty wrote:could you implement some other ways to change between tabs? I was thinking something like ALT+left/right to select next/prev and ALT+1-9 to go to one. I know you can select next tab (but not prev) with CTRL+TAB and close them with CTRL+W, or maybe there are other commands I haven't found.
You can use CTRL+SHIFT+TAB to select the previous tab.
The issue with ALT+1-9 is that it is used (at least on the num-pad) to enter characters (in any windows app). ALT+left/right is commonly used to browse backwards/forwards, this would be something like a moving history of the caret, but not the next or previous tab.
Ctrl+1..9 would be good for selecting tabs, but unfortunately this is already used for bookmarks.
lordcanty wrote:Also, basically I'd like to see japanese strings in the text part. I have my system's default encoding to japanese, and with other hex editors I can see them if I select something like "windows ansi" encoding (I think, maybe it depends on the program). However none of the encoding-font combinations I've tried work. Not sure if it's enterely dependant on Windows though.
At the moment it doesn't work in HxD. This is because multibyte character sets can cause buggy display with HxD, which is why I fall back to Window-1252. (one issue is that Asian glyhps usually are wider than latin glyphs, the other is that multibyte-characters have to be split up in a sensible manner, i.e. two bytes form a character but are one different rows of the hex-view) I intend to fix this in future, including adding support for UTF-8.

lordcanty
Posts: 19
Joined: 23 Mar 2007 22:43

Re: Extended tab keyboard commands and language display

Post by lordcanty » 21 Apr 2007 21:38

Maël wrote:You can use CTRL+SHIFT+TAB to select the previous tab.
The issue with ALT+1-9 is that it is used (at least on the num-pad) to enter characters (in any windows app). ALT+left/right is commonly used to browse backwards/forwards, this would be something like a moving history of the caret, but not the next or previous tab.
Ctrl+1..9 would be good for selecting tabs, but unfortunately this is already used for bookmarks.
Ah, didn't know that. I'd prefer simpler commands but that will work. Maybe you should add the less common keyboard commands to the readme...
Maël wrote:At the moment it doesn't work in HxD. This is because multibyte character sets can cause buggy display with HxD, which is why I fall back to Window-1252. (one issue is that Asian glyhps usually are wider than latin glyphs, the other is that multibyte-characters have to be split up in a sensible manner, i.e. two bytes form a character but are one different rows of the hex-view) I intend to fix this in future, including adding support for UTF-8.
If you mean each line changes to different length due to some characters being wider, I get this with other apps and I don't mind, and for the other issue I could always change the number of columns to show. I use "windows ansi" encoding just when I need to see jp. strings then change back. Rather than redesign the viewer you could add some option for an alternate encoding or something just to show these momentarily. It's a minor issue I doubt most people would care.

Maël
Site Admin
Posts: 1127
Joined: 12 Mar 2005 14:15

Post by Maël » 21 Apr 2007 22:26

Maybe you should add the less common keyboard commands to the readme...
Yes, I should ;-) There'll be a help file for version 2.0.

Regarding the Asian characters: It were real drawing issues, sometimes this caused totally unreadable display on the text-side (no, not because the characters are non-latin ;-). This is due to the fact that split MBCS can confuse the text-drawing function of Windows.
The other thing is that HxD expects every line to be of equal width, so I have to change some things: The caret positioning will not work, editing will not work for text, glyphs might be chopped off, selection, etc.

I had once enabled MBCS but got bug reports by a Japanese user. Maybe I can find an intermediate solution...

Post Reply