Edit Anything

Professional text and hex editing
with Binary Templates technology.

010 Editor - Text/Hex Editor Homepage

The View Menu is used for controlling the current File Interface. The File Interface (which includes the Font, Character Set, Linefeeds/Line Width, Tabs, Addresses, Group By, Division Lines, Areas, Highlighting, Ruler, and Status Bar) tells the program how each Editor Window should display data (see Working with File Interfaces for more information). When one of the interface options is modified, this affects all files that use that interface (except for the Endian and Word Wrap setting as discussed below). The View menu will display different options when a text-based File Interface is active as opposed to a hex-based File Interface because some options are only applicable to one type of interface. By default, 010 Editor comes installed with a number of File Interfaces as displayed on the 'View > Edit As' menu; however, different interfaces can be created for different files based on the file name or extension. Note that all File Interfaces are saved automatically upon exit. The View Menu is also used to control which panels are displayed and controls options for the Tool Bars. This section lists all available menu options in the View menu:

  • Edit As > (File Interface List) - Shows a list of possible File Interfaces (see Working with File Interfaces) that can be used to edit files. A check mark is placed beside the interface that is applied to the current file. To create more interfaces, see the 'Create New File Interface' or 'Edit File Interfaces' menu option.

  • Edit As > Toggle Hex Interface - If editing a file using a text-based File Interface clicking this option chooses a hex-based File Interface to edit the file. Similarly, if the current interface is a hex-based File Interface the File Interface is switched to a text-based interface.

  • Edit As > Create New File Interface - Creates a new interface for all files with the same extension as the current file. For example, if the current file has a '.bmp' extension then all files that are opened with a '.bmp' extension will use the created interface and the interface will be named 'bmp' on the Edit As menu.

  • Edit As > Edit File Interfaces - Displays the File Interface Options dialog that is used to modify, create, or delete File Interfaces.

  • Font - Sets the font for the current interface. This menu will display either Use Default Text Editor Font or Use Default Hex Editor Font depending upon if this Interface is for text or hex files. If this toggle is enabled, the default font is used from the Font Options dialog, otherwise this interface uses its own custom font. Clicking Change Font displays the standard Font dialog that allows setting of the font type, size, and style. Use the Enlarge Font (Ctrl++) or Shrink Font (Ctrl+-) menu options to increase or decrease the size setting for the font. If this Interface is using one of the default fonts, the Change Font, Enlarge Font and Shrink Font menu options affect the default font, otherwise these options affect the custom font for this Interface.

  • Character Set - This option controls which character set is used when displaying characters in the Char area. The options are ASCII, ASCII+OEM, ASCII+ANSI, EBCDIC, Unicode, UTF-8 and Macintosh. The OEM and ANSI character sets only affect bytes with values between 128 and 255. Bytes that have no representation in the Char area (e.g. control characters) are displayed as the character '.' in hex-mode or a square in text-mode. When using Unicode character sets every two bytes indicate one character and the endian for the characters is determined using the 'View > Endian' menu option. The actual characters for the Unicode display depend upon which font is currently in use. Characters sets for different nationalities are also available by clicking on the 'International' menu option and selecting Arabic, Baltic, Chinese (Simplified), Chinese (Traditional), Cyrillic (Russian), Eastern Europe, Greek, Hebrew, Japanese, Korean (Johab), Korean (Wansung), Thai, Turkish, or Vietnamese. Note that most of these character sets only affect bytes values between 128 and 255 and the actual characters displayed depend upon the fonts installed on the system.

  • Linefeeds (text only) - Controls how a text file is divided into lines. Currently this menu is used to control how Word Wrap is applied to files. When Word Wrap is enabled, any lines that go beyond the edge of the Text Editor Window are wrapped onto a new line. Click the Word Wrap option to turn wrapping on or off and the text /wrap will appear beside the File Interface name in the File Bar when enabled (see Word Wrap for more information). Note that whether Word Wrap is turned on is stored separate to the File Interface and the current Word Wrap state is remembered for files if the Remember Last Used Interface toggle is set in the Editor Options dialog. If a file has not been opened before (or the Remember Last Used Interface toggle is turned off), the wrap state can be set with the Initial Wrap State menu option to On, Off or Auto-detect. For Auto-detect, 010 Editor will automatically turn on Word Wrap if it finds the file contains long text lines. Wrapping is usually done at the edge of the Text Editor Window but can be set to occur at a specific column with the Wrap Width menu option. Wrapping can be set to Column 80 or any other column number by choosing Custom Column. When wrapping occurs at a set column, a line will be drawn in the Text Editor Window to indicate the wrap width. When applying Word Wrap, by default whole words are always kept together but wrapping can be done on any letter by choosing Wrap on Letters on the Wrap Method menu. Select Wrap on Words to return to keeping whole words together. The Column Mode menu item switches the editor to or from Column Mode and see the separate Column Mode help topic for more information.

  • Line Width (hex only) - Specifies how many bytes are displayed on each line of the Hex Editor. For example, if Fixed 16 Bytes is chosen the file is displayed with 16 bytes per line. When the linefeeds are set to Auto Width the number of bytes to display is automatically chosen to fill the width of the Hex Editor Window. The width can be set to 4, 8, 12, 16, 20, or Custom Width. When setting to a Custom Width a dialog will be displayed for entering any width (values between 1 and 1024 are allowed). Note that the number of bytes per line must be divisible by the number of bytes in the Group By option.

  • Tabs/Whitespace (text only) - When editing a text file the columns of the file are divided into a number of tab stops. Enable the Show Whitespace menu option to display symbols indicating where all spaces and tabs exist in the file (the color of the symbols can be controlled using the Color Options dialog). Choose the number of characters between each tab stop using the Tab Size: menu options (click the Tab Size: Custom menu option to set a specific tab size using an input dialog). When a tab character is encountered in a file the next character is drawn at the next tab stop. The number of characters to insert when the Tab key is pressed can be controlled through the Indent Size: menu options. Note that the Indent Size may be different than the Tab Size. If the Insert Spaces toggle is enabled (the default) spaces are inserted into a file to simulate the tab positions. To insert actual Tab characters disable the Insert Spaces option and make sure the Tab Size and Indent Size are set to the same amount. An easy way to access this menu is by clicking the Tab: section of the status bar.

  • Addresses - Sets the format of the addresses for the current File Interface as displayed on the left side of the Editor Window. The address can display either the current Byte Number, Line Number, Sector Number or Short Number (note that a Short is a group of two bytes in a hex file). Some addresses can be displayed in either Hex, Decimal, or Octal format as indicated in brackets to the right of the address type. Note that when editing a hex file the line number displayed depends upon the number of bytes per row in the editor (set the Line Width option above). When Sector Number is chosen the address is displayed in the format '< sector number >|< sector offset >' (see Editing Drives for more information on sectors). If None is chosen no addresses are displayed for the file.

  • Group By (hex only) - When using a hex-based File Interface this option sets how many bytes are grouped together in the display. Bytes that are grouped together are displayed without spaces. The default value is Byte, meaning that each byte is displayed with spaces around it. A custom Group By value can be set by clicking the Custom option and entering a value. Note that the number of bytes per line (see Line Width above) must be divisible by the number of bytes per group. The Hex Editor Window has a special mode that allows groups of bytes to be visually swapped without modifying the underlying data. This mode can be enabled by clicking the Swap Little-Endian Bytes by Group toggle and choosing a Group By other than Byte. See Swapping Bytes for more information.

  • Division Lines (hex only) - When using a hex-based File Interface the Division lines allow drawing lines on the Hex Editor Window to visualize how data is grouped into sections. Currently there are two types of lines that can be displayed: Division Lines and Sector Lines. By default Division lines are displayed every 4 bytes of the file and are drawn in a light gray color (use the Color Options dialog to modify the color). The top portion of the 'View > Division Lines' menu is used to control Division Lines. Choose 1, 2, 4, 8, or Custom to set the division spacing, or select None to hide the lines. The 'Set Starting Division Offset' allows starting the division lines on an address other than the beginning of the file. This feature is useful if your file contains a header at the beginning of the file and then a number of fixed size records (the starting offset can be used to skip over the header).

    Sector Lines are meant to visualize the sectors of a hard drive (usually 512, 1024, or 2048 bytes in size), but can be modified by the user to visualize other types of data when not editing a hard drive. By default, Sector Lines are displayed as dark gray lines but this can be modified in the Color Options dialog. Use the bottom portion of the 'View > Division Lines' menu to control the Sector Lines. Show or hide the Sector Lines by clicking the 'Show Sector Lines' menu option. When editing a hard drive, the sector size is determined from the physical device (see Editing Drives); however, when editing a regular file, the sector size can be user defined by clicking the 'Set Sector Size' menu option (this option is useful if you are editing a file which is an image of a drive). When a regular file is being editing a starting address for the sector lines can be specified using the 'Set Starting Sector Offset', similar to the Division Lines.

  • Left Area (hex only) - If the current File Interface is for hex-based files, this option controls which numeric format is used to display the bytes in the left side of the Hex Editor Window. The options are Hex, Char, Octal, Binary, and Decimal. See Introduction to Number Systems for more information.

  • Right Area (hex only) - When using a hex-based interface, this option controls which numeric format is used to display the bytes in the right side of the Hex Editor Window. The options are Hex, Char, Octal, Binary, and Decimal. As well, the Hide option can be selected to only display the left area.

  • Highlighting - Controls which bytes are highlighted in the current interface using a color scheme. When a color scheme is enabled by clicking on an item in the Highlighting menu, the background color of all bytes that match that scheme are modified. A check mark will appear beside an active highlight, and the highlight can be turned off by clicking on the highlight name again. Note that multiple highlights can be turned on at the same time (highlights at the top of the list take precedence over highlights at the bottom). The default Highlight options are 'Linefeed Characters' (0x0d and 0x0a), 'Alphanumeric Characters' (all letters and numbers), 'Control Characters' (any of the bytes from 0 to 31), and 'Non-ASCII Characters' (any of the bytes from 128 to 255). Custom highlights can be generated by clicking the 'Edit Highlights...' menu option (see Highlight Options for more information) and highlights can also be created for highlighting Shorts (a Short is a group of two hex bytes).

  • Highlighting > Syntax Highlighting - Different types of highlighting can be applied to text files based on a number of syntax rules. 010 Editor has its own syntax highlighting rules for Scripts and Templates (select 010 Editor Script/Template) but also has built-in rules for C/C++ source code, HTML, PHP, and XML. The syntax highlighting rules can be customized using the Syntax Options dialog. Select the None menu option to not apply any syntax highlighting.

  • Ruler - Specifies whether the Ruler is displayed above each file. The ruler is a band with tick marks, indicated byte offsets from the first byte in a line. The units used for the ruler can be set to hex or decimal using Hex Units or Decimal Units.

  • Status Bar > File Position - Controls the format of the current cursor position as displayed in the Status Bar as either Byte Number, Line Number, Sector Number, or Short Number (a Short is a group of two bytes within a hex file). See Status Bar for more information.

  • Status Bar > File Size - Sets the format of the file size displayed in the Status Bar as either Byte Count, Line Count, Sector Count, or Short Count.

  • Status Bar > Selection Size - When a selection is made, the number of selected bytes is displayed in the status bar with the label Sel:. This menu option controls the format used to display the selection size.

  • Endian - Controls which byte-ordering is used for the current file (see Introduction to Byte Ordering). The ordering can either be Little Endian (Intel machines), or Big Endian (Motorola Machines). When the current file is in little endian mode, the Status Bar will contain the letters LIT and when the file is in big endian mode, BIG will be displayed (see Status Bar). Use the Toggle Endian menu option to switch between the two endians. The Endian setting is different than the other options in the File Interface since this option contains only the default Endian setting when a file is opened. Changing the Endian does not modify other files that are using the same File Interface (for example, you can have a big endian file and a little endian file open at the same time both using the Unicode File Interface).

  • Workspace - Toggles whether the Workspace panel is displayed in the main window.

  • Inspector - Hides or shows the Inspector panel in the main window.

  • Output - Hides or shows the Output panel that is used to display output from the Find, Find in Files, Compare, Histogram, Checksum, and Open Process tools.

  • Template Results - Toggles whether the Template Results panel is displayed at the bottom of the current Editor Window. See Working with Template Results for more information.

  • Floating Tab Group - Toggles the display of the Floating Tab Group as discussed in Using File Tabs.

  • Tool Bars - Allows control of which Tool Bars are displayed in the program.

  • Other Windows - Allows display of other miscellaneous windows for 010 Editor: the Startup Page and the initial Welcome dialog.

This is the manual for 010 Editor, a professional hex editor and binary editor. Use 010 Editor to edit the individual bytes of any binary file, hard drive, or process on your machine. 010 Editor contains a whole host of powerful analysis and editing tools, plus Binary Templates technology that allows any binary format to be understood.