首选项

要配置 GHex,请选择"编辑" ▸ "首选项""首选项"对话框包含以下选项卡式部分:

4.1. 编辑

最大取消层次数

Use this spin box to specify the maximum number of edits that you can undo.

将状态栏中的光标偏移显示为

Use this drop-down list to select the format in which the cursor offset is displayed. The format can be decimal, hexadecimal, or a custom print style string that only contains the format specifiers x, o, and s.

显示偏移柱

选择此选项会在 GHex 窗口的十六进制视图左侧的柱中显示光标偏移。

4.2. 显示

字体

Use the font selector list boxes to edit the existing font information or type new font information. Specify a font type, style, and size to display the contents of files in GHex.

默认组类型

Select one of the following options to specify how GHex displays the hexadecimal content of a file in the GHex window:

  • 字节 - 单个字节
  • - 两个字节的组。
  • 长字 - 四个字节的组。

4.3. 打印

数据字体

单击数据字体 按钮可以指定打印文件中包含的数据时所用的字体类型、风格和大小。

页眉字体

Click on the Header font button to specify the font type, style, and size to use to print the header information that is contained in the file.

打印阴影框的行数

Use this spin box to specify the number of lines that GHex alternately prints with a surrounding shaded box. If the value of the spin box is 10, GHex prints the first 10 lines of the file without a shaded box, the next 10 lines with a shaded box, and so on. If the value of the spin box is 0, GHex does not print any shaded box.