blob: e65e619e7855b675f864c368637f2ebb34e2cdcb [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Options Window: Fonts and Colors</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="netbeans.optionsDialog.fontAndColorsPanel" name="netbeans.optionsDialog.fontAndColorsPanel"></a></p>
<div id="NBCSH263"><!-- infolevel="all" infotype="General" --><a id="sthref14" name="sthref14"></a>
<h1>Options Window: Fonts and Colors</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>You use this panel to customize the font, background color, and foreground color for text and elements in the Source Editor. You can specify the font and color according to editor type. You can also use this panel to specify the colors of changed text when comparing file revisions.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG2415">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>This panel contains the following elements.</p>
<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t20">Element</th>
<th align="left" valign="bottom" id="r1c2-t20">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t20" headers="r1c1-t20">
<p>Profile</p>
</td>
<td align="left" headers="r2c1-t20 r1c2-t20">Select a settings profile from the dropdown list. The IDE includes several profiles by default.
<p>You can create profiles to save different custom font and color settings. You can switch between profiles to quickly change between saved custom Source Editor settings.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t20" headers="r1c1-t20">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Duplicate</p>
</td>
<td align="left" headers="r3c1-t20 r1c2-t20">Click Duplicate to create a new profile that is a copy of the selected profile. When you click Duplicate a dialog box appears where you can enter a name for the new profile.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t20" headers="r1c1-t20">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Restore</p>
</td>
<td align="left" headers="r4c1-t20 r1c2-t20">Click Restore to restore the selected profile to the default settings.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t20" headers="r1c1-t20">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Remove</p>
</td>
<td align="left" headers="r5c1-t20 r1c2-t20">Click Remove to delete the selected custom profile. You cannot delete the default profiles.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t20" headers="r1c1-t20">
<p>Syntax</p>
</td>
<td align="left" headers="r6c1-t20 r1c2-t20">This tab enables you to customize the appearance of text according to type and language. You can specify the font, the font color and the background color.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t20" headers="r1c1-t20">
<p>Highlighting</p>
</td>
<td align="left" headers="r7c1-t20 r1c2-t20">This tab enables you to customize the foreground and background colors for highlighted areas, including code folding and how highlighted elements appear.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t20" headers="r1c1-t20">
<p>Annotations</p>
</td>
<td align="left" headers="r8c1-t20 r1c2-t20">This tab enables you to customize the foreground and background colors of source code lines associated with annotation glyphs. Annotation glyphs are shown in the left margin of the Source Editor.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t20" headers="r1c1-t20">
<p>Diff</p>
</td>
<td align="left" headers="r9c1-t20 r1c2-t20">This tab enables you to customize the colors for indicating changed text when comparing file revisions.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r10c1-t20" headers="r1c1-t20">
<p>Versioning</p>
</td>
<td align="left" headers="r10c1-t20 r1c2-t20">This tab enables you to specify the colors that are used for highlighting text in versioned files. You can specify colors according to the type of version control system.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p>You can modify the appearance of text and elements in the Source Editor by setting the following properties in the tabs.</p>
<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t21">Element</th>
<th align="left" valign="bottom" id="r1c2-t21">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t21" headers="r1c1-t21">
<p>Language (Syntax tab only)</p>
</td>
<td align="left" headers="r2c1-t21 r1c2-t21">Select a language from the drop-down list. When you select a language, the Categories pane displays the text categories in that language that you can customize. Modifications apply only to the specified language.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t21" headers="r1c1-t21">
<p>Preview (Syntax tab only)</p>
</td>
<td align="left" headers="r3c1-t21 r1c2-t21">The Preview area displays how the selected changes will appear in the Source Editor.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t21" headers="r1c1-t21">
<p>Categories</p>
</td>
<td align="left" headers="r4c1-t21 r1c2-t21">The Categories list contains the text and editor elements that can be modified in the tab.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t21" headers="r1c1-t21">
<p>Font (Syntax tab only)</p>
</td>
<td align="left" headers="r5c1-t21 r1c2-t21">The font used to display the selected text category. Click the ellipsis button (...) to open the Font Chooser to select a font.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t21" headers="r1c1-t21">
<p>Foreground</p>
</td>
<td align="left" headers="r6c1-t21 r1c2-t21">The color of the text. Choose a color from the drop-down list or choose Custom to open the Select Color dialog box.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t21" headers="r1c1-t21">
<p>Background</p>
</td>
<td align="left" headers="r7c1-t21 r1c2-t21">The color behind the text. Choose a color from the drop-down list or choose Custom to open the Select Color dialog box.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t21" headers="r1c1-t21">
<p>Effects</p>
</td>
<td align="left" headers="r8c1-t21 r1c2-t21">Choose additional effects to apply to the text.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t21" headers="r1c1-t21">
<p>Wave Underlined (Annotations tab only)</p>
</td>
<td align="left" headers="r9c1-t21 r1c2-t21">Choose a color for the underline from the drop-down list or choose Custom to open the Select Color dialog box.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<a id="NBCSH281" name="NBCSH281"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG117">
<param name="text" value="<html><u>&quot;Working with the Options Window&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<!-- -->
<!-- Start Footer -->
<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>