010 Editor contains a number of themes which are a set of colors for all the various user interface elements in the program. A number of different themes exist including themes with dark backgrounds or light backgrounds and the Theme/Colors Options dialog allows choosing the theme (the theme can also be chosen in the Welcome dialog displayed when 010 Editor is run for the first time). Open the Theme/Color Options dialog by clicking 'Tools > Options...' and selecting Theme/Colors from the list. Styles for all the Syntax Highlighting Rules are also controlled by this dialog. New themes can be created and the individual colors in the themes can be customized. The following themes are available:
- Evening Sky - The default theme with a darker background which some users may find gives less eye strain when used in low-light conditions (nighttime).
- Blue Sky - A theme with a white background and blue tabs.
- Rain Cloud - Identical to Blue Sky except the tabs are displayed as gray.
- Day & Night - Uses a light theme for the editor and a dark theme for the application background.
- Midnight - Similar to Evening Sky except the background is black.
- Classic - A theme similar to older versions of 010 Editor.
If a theme has been imported using the Import... button at the bottom of the dialog then a new theme named Custom will also be available in the list followed by the file name of the theme in brackets. Clicking the Export... button will save the current theme to a file including any modified colors.
Some user interface elements are drawn using a native style, meaning the operating system draws those elements using its standard drawing procedures (for example the Mac menu bar and the Mac status bar are always drawn by the operating system). 010 Editor overrides some of this drawing with its own user interface styles but the native style can be turned on for some elements by clicking the Options button and turning on native drawing for either the Menu Bar, Tool Bars, Dock Headers (the title above each dock window), the Dock Window tabs or File tabs. Also when switching themes when individual colors have been modified by the user, 010 Editor will ask whether to Reset the modified colors or to Keep the modified colors. If the Reset Colors when Switching Themes option is set to Ask then a dialog is displayed asking for the user choice but if the choice has already been set the Reset Colors when Switching Themes option will be set to Yes or No.
The Colors table allows customizing individual colors in each theme. Click the color box in the Fore column to set the foreground (text) color of the item or click the color box in the Back column to set the background color of the item. If a color has been modified the color name is drawn in Bold and a Reset button appears in the Reset column. Clicking the Reset button returns just that color to its original value. Some colors may be set to None, which means that the foreground or background color will be inherited from what is drawn behind the element (or in some cases setting to None means the default operating system color will be used instead).
Click on a color box to open up the Color Selector Box. Select a color from the box, or click the More Colors... button to open the standard Color Selector Dialog. When using the Color Selector Dialog, select a color from either the color boxes on the left or the color area on the right and click the OK button. Clicking the Add to Custom Colors button adds the current color to the list of 16 colors on the bottom left and this list is also displayed at the bottom of the color selector. The Cancel button will close the dialog without selecting a color.
The following lists each of the color options and what they control. Note that when each color is changed the results usually are updated in the application immediately, making it easier to see how color changes will affect the application.
- Application - The color of the main 010 Editor application window.
- Menu Bar - Controls the color of the menu bar at the top of the application window. A color of None means the default operating system colors are used. Menus can also been drawn using native drawing by using the Options drop-down menu.
- Menu Bar Selected - When the contents of a Menu Bar item are being displayed (for example, the File menu) the Menu Bar item is displayed using this color.
- Menu Bar Highlighted - When the mouse is hovered over a Menu Bar item that item is displayed using this color.
- Tool Bar - Controls the color of the Tool Bars. The foreground color sets the color of the handle and arrows in each Tool Bar. A color of None means the Application color is used instead. Tool Bars can also be drawn using native drawing with the Options drop-down menu.
- Dock Header - Sets the color of the header of the top of each Dock Window. Dock headers can be drawn using the system (native) style by using the Options drop-down menu.
- Status Bar - The color of the status bar at the bottom of the Application. Note that on macOS the status bar background is always drawn using the native style.
- Status Warning - If an error occurs when performing an operation, an error message is sometimes displayed in the Status Bar. The color of the error message will be displayed as this color (by default orange).
Startup Page Colors
- Startup Page - The foreground and background color of the Startup Page.
- Highlighted Row - When the mouse hovers over an item in the Recent Files list that item will be displayed with this background color.
- Fade - Controls the fade at the very top of the Startup Page. If this color is set to None then no fade is drawn.
- Paths - Sets the color of the paths displayed at the right-hand side of the Recent Files list.
File Tab Colors
- File Tabs - Controls the foreground and background color of the unselected tabs in the list of tabs used to choose the active file above each editor. A background color of None means the Application background color is used.
- Selected Tabs - The selected (active) tab in the list of documents is drawn using this color.
- Highlighted Tabs - When the mouse is hovered over a tab in the list of files that tab is drawn using this color.
- Division Line - Sets the color of the line underneath the File Tabs.
Dock Window Tab Colors
- Dock Window Tabs - This option controls the color of all unselected tabs in the main application when Dock Windows are docked together to create a set of tabs.
- Selected Tabs - The color of the selected tab in the list of Dock Windows in the main application.
- Highlighted Tabs - Controls the color of the tab in the Dock Windows which is displayed as highlighted when the mouse moves over the tab.
- Division Line - The color of the separator line displayed immediately above the Dock Window Tabs.
Dock Window Colors
- Dock Windows - Sets the default text and background color for the Dock Windows, which include the Workspace, Inspector, Output Windows, etc. A color of None means the Application color is used.
- Workspace - Controls the text and background color of the Workspace. A color of None means the Dock Windows color is used.
- Explorer - The text and background color of the Explorer. Setting the color to None uses the Dock Windows color.
- Functions - Sets the color of the Functions tab and a color of None uses the Dock Windows Color.
- Output - The text and background color of the Output Windows. A value of None means the Dock Windows color is used. Note that changing this color will not affect any text already present in the Output Window.
- Output Warning - Controls the color of warnings in the Output Window as a result of running a Script or Template. Note that changing this color will not affect any warnings already present in the Output Window.
- Output Error - The color of any error messages display in the Output Window. Note that changing this color will not affect any errors already present in the Output Window.
- Tables - Controls the foreground and background color of tables in the application, including the Inspector, Template Results, Bookmarks, Find Results, etc. A color of None means the Application color is used.
- Alternating Rows - Controls the color of every second row in any of the Tables.
- Selected Row - The color of the currently selected row in a table when the table has input focus.
- Inactive Selected Row - Controls the color of the selected row in a table when the table does not have input focus.
- Header Row - The header row is a special row of data in a table to show the start of a block of information. For example in the Find In Files results the results for each file begin with a header row. This color gives the foreground and background color of the row.
- Header Outline - Controls the box around the Header Row in a table and setting to None means that no box is drawn.
- Edit - This color is used when a cell of the table is being edited, for example in the Inspector or the Template Results.
- Paths - The text color used when displayed paths on the right side of the Workspace.
- Highlighted Row - Some tables highlight the row the mouse is currently over (for example in the Workspace). The highlighted row is drawn in this color.
- Graphs - Controls the color of various graphs displayed in the Output Windows, such as the Find Results, Histogram Results, etc. The foreground color controls the box around the graph.
- Find Item - The color a line in the Find Results graph which shows where a find occurrence is in a file.
- Find Selected - Show which Find occurrence is currently selected in the Find table.
- Find Marker - Beside the currently selected Find occurrence in the Find graph, two small arrows are drawn. This color controls the color of those arrows.
- Compare Difference - Controls the color of a difference in the Compare results graph.
- Compare Only In - The color of bytes that are only in one file in the Compare results graph.
- Compare Selected - The outline of the range that is currently selected in the Compare results graph.
- Histogram Item - Color of the bars in the Histogram results graph.
- Histogram Alt Item - Every second bar in the Histogram results graph is drawn in an alternate color. This option controls the alternate color.
- Histogram Selected - The color of the select bar in the Histogram results graph.
- Process Read - Controls the color of heaps in the Process graph that are marked as read-only.
- Process Read/Write - The color of heaps in the Process graph that are readable and writable.
- Process Selected - Indicates the color of the currently selected heap in the Process graph.
- Labels - Sets the color of text labels in the different output graphs.
- Empty Graph - The color of a graph which currently contains no data.
App Bar Colors
- App Bars - App Bars are thin bars displayed below an editor which are currently used for Find, Replace, Goto and Selecting a Range. This option controls the color of the App Bars and a color of None means the Application color is used.
- App Bar Line - Controls the color of the line displayed above each App Bar. A color of None means no line is displayed.
- App Bar Arrows - Sets the color of a number of upward facing arrows on the App Bar that popup additional panels.
- App Bar Info Text - The color of an special information text on the App Bars (currently used for the hex-bytes display on the Find bars).
- Editor - Indicates the foreground and background colors of the main Editor Window (see Using the Text Editor and Using the Hex Editor for more information).
- Selected - After selecting a set of bytes (see Selecting Bytes), those bytes are drawn in a different color. By default, the text color is changed to white and the background to blue.
- Highlight Line - By default, the line the cursor is located on will be drawn a different color which can be controlled with this option. The Highlight Line option can be turned on or off (see Editor Options).
- Addresses - Specifies the color of the addresses along the left side of the Text Editor or Hex Editor Window. If set to None the Application color is used instead.
- Addresses Line - The color of the line immediately to the right of the addresses. If this color is set to None then no line is drawn.
- Ruler/File Bar - Indicates the color of the ruler and the File Bar along the top of each Editor Window (when enabled). If set to None the Application color is used instead.
- Ruler Line - Controls the color of the line underneath the Ruler. If set to None then no line is drawn.
- Ruler Marker - The color of the small arrow which indicates the current column in the Text Editor Window ruler can be controlled with this option. The default color is gray.
- Input Method Editor - Some languages use an Input Method Editor (IME) to insert characters into the Editor Window. When the IME is displayed, its color will be controlled by this option.
- Caret - This option controls the color of the caret (the blinking cursor) in either the Hex Editor or Text Editor Window.
- Inactive Caret - Sets the color of a line indicating the current insertion point even when an editor does not have any input focus. This is called the Inactive Caret and can be turned off using the Editor Options dialog.
- Highlighting - This highlighting color is used when highlighting a set of bytes using 'View > Highlighting' (see Working with File Interfaces for more information).
- Bookmarks - Controls the color of Quick Bookmarks as displayed in the Text or Hex Editor, and any other bookmarks created when the Use Custom Color toggle is turned off in the Add Bookmark dialog.
- Show Whitespace - When Show Whitespace is enabled for a text file, special symbols are drawn in the editor to indicate where space and tab characters exist. This option controls the color of the symbols that are drawn.
Hex Editor Colors
- Modified - When bytes are modified in the Hex Editor, the colors of those bytes are changed. By default, the text color is changed to orange and the background color remains unchanged.
- Alternating Hex Lines - When using the Hex Editor, alternating lines are displayed in a different color. Change this color to match the Editor background color to obtain a single color in the background.
- Highlight Byte - When the cursor is in the left or the right editing areas, the current byte will be highlighted in the other editing area. The byte is colored light gray by default, but can be changed by clicking the color box.
- Highlight Variable - After a Template has been run on a file, moving the mouse over the Hex Editor Window will cause brackets to display indicating where the template variables were declared (see Working with Template Results). The color of the brackets can be modified by clicking this color box. The Highlight Variable option can be turned on or off using the Hex Editor Options dialog.
- Empty Area - The color to the far right of both editing areas in the Hex Editor Window can be controlled by clicking this color box. The default color is the color of the window.
- Area Separator - The Separator is the line that separates the left area from the right area in a Hex Editor Window. Click this color to change the Separator color.
- Division Lines - Division Lines are lines that are drawn on the Hex Editor Window that indicate groups of bytes. By default, Division Lines are drawn every 4 bytes and they are colored light gray. Use the 'View > Division Lines' menu to adjust the division lines (see Working with File Interfaces). Clicking this color box allows changing the color of the Division Lines.
- Sector Lines - Sector Lines are similar to Division Lines except they are usually used to visualize where sectors are located on a drive. Sector Lines can be controlled on the same menu as Division Lines 'View > Division Lines' (see Working with File Interfaces). The color of the sector lines can be changed from the default dark gray using this color box.
- Template Results Header - Controls the color of the header for the Template Results panel.
- Template Results Line - The color of the line immediately above the Template Results header. Note that setting this color to None will remove the line.
- Find Results - After clicking the Find All button in the Find Dialog (see Using Find), all occurrences in the file that match the target are colored according to this rule.
- Find Selection Lock - When using the Find Bar or Replace Bar, it is possible to limit the Find or Replace to a selected range of bytes. When a Find or Replace is locked to a selection by clicking the Lock to Selection button in the Options dialog, the selection will then be drawn in this color until the range is unlocked.
- Difference - After performing a comparison between two files (see Comparing Files), those bytes that are different between the files will be colored. This option controls which color will be applied to the bytes in the Hex Editor Window.
- Only In - After a comparison between two files (see Comparing Files), bytes that are only in one file and not the other will be colored according to this rule.
Use the Syntax Style section to control the color scheme for all of the Syntax Highlighting Rules. The use of styles allows multiple Syntax Highlighting Rules to share a single color scheme (see Syntax Options for more information). For example, both commenting in C++ and PHP share the 'code-comment' style. Changing the 'code-comment' style affects the colors of all rules that use that style. All styles that begin with 'code-' are typically used in programming languages while all styles that being with 'tag-' are used in tag-based (e.g. XML, HTML) languages. When a Syntax Style is selected in the list a special group of icons appears at the top-right corner of the dialog:
Clicking the Plus icon creates a new style and clicking the X icon deletes the selected style. Note that if a style that is in use by a Syntax Highlighting Rule is deleted, the style will remain in the Syntax Highlighting Rule until the rule is changed. The Up and Down arrows can be used to move styles to a new position in the list. To rename a style double-click the style name in the list. Note that any created styles are marked as bold in the list and the Reset button will not appear beside the color when it is modified. Styles are exported automatically when the list of Syntax Highlighting Rules is exported using the Syntax Options dialog or when the current Theme is exported using the Export... button.
Clicking the Reset button will return all of the colors to their default values but note that any created Syntax Styles will be kept but moved to the bottom of the Syntax Styles list.