Regex Colors

Click the Regex Colors button on the Editors page in the Preferences dialog to customize the color palette that RegexBuddy uses for regular expressions and replacement strings.

Regex Colors

Color Palettes

List of Individual Colors

The colors prefixed with “regex” are combined to determine the colors of the various parts of your regular expressions and replacement texts. For some regex tokens, the color is determined by layering two of these colors on top of each other. All colors (background, text, underline, strikeout) and all styles (bold, italic, underline, strikeout) are determined separately when layering colors. A “default” color or an “unchanged” style does nothing when it is layered on top of another color. If all layers use the “default” colors then the window colors of the active theme are used.

The colors prefixed with “editor” are used to draw various parts of the editor control for regular expressions.

Example

When configuring syntax highlighting colors, you can select one of the available coloring schemes to see an example. Each coloring scheme has its own example text that shows the most important color elements of the scheme. You can double-click any text in the example to select the individual color that was applied by the syntax coloring scheme.

The example does not necessarily show all color elements. You can type in or paste in your own example to test the colors. Your example won’t be saved. If you select a different coloring scheme in the drop-down list then the example is reset to what is stored in the scheme.

Import and Export

When customizing the palettes for the Regex panel in RegexBuddy 5, you can import palettes exported from the file type configuration in EditPad 8. RegexBuddy 5 can also import palettes exported after clicking Customize Search Palette on the Appearance page in the Preferences in AceText 4.

If you export a palette when customizing the palettes for the Regex panel in RegexBuddy 5 then you can import that palette while customizing the Search palette in AceText 4. EditPad 8 cannot import RegexBuddy 5 palettes because it expects syntax colors and regex colors in the same palette, while RegexBuddy 5 uses separate palettes for those.

Older versions of these products did not have the ability to export and import palettes at all.