Setting Fonts and Colors in the Source Editor

See Also

You can customize the font, background color, and foreground color for many categories of text in the Source Editor. Every type of editor can have different font and color settings. You can also set different fonts and colors for printing.

The categories of text that can be customized includes:

To set fonts and colors for elements in the Source Editor:

  1. Choose Tools and choose Options.
  2. To set fonts and colors for display, expand Editing and expand Editor Settings and select an editor type.

    To set fonts and colors for printing, expand IDE Configuration and expand System and expand Print Settings and select an editor type.

  3. Select the Fonts and Colors property and click the ellipsis (...) button.
  4. In the Fonts and Colors property editor, select the category you want to customize from the Syntax list.
  5. Set the font, foreground color (text color), and background color for the category selected in the Syntax list.

    To edit the settings, click the button that shows the current font, foreground color, or background color. Then click the ellipsis (...) button to display the font or color property editor.

    Alternatively, for the color settings you can either type in an RGB setting for the color or display a color from the combo box list.

  6. Use the Inherit checkbox to specify that a font or color should be inherited from the Default syntax category. If you set a specific font or color and then check the Inherit checkbox, the inherited value will override the value you set.

    Some categories can also inherit properties from other categories besides Default. For example, if the font is inherited for the Selected Text category, selected text will always inherit the font of whatever text is selected.

  7. Click OK.
See Also
Source Editor Properties
Color Chooser
Print Properties
Sharing Source Editor Settings

Legal Notices