1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 403263: Update Editor > General preference docs

Change-Id: I0612f2ffe8ef6a27184b0c37d519e632064774d5
Reviewed-on: https://git.eclipse.org/r/11289
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
This commit is contained in:
Jesse Weinstein 2013-03-18 18:12:58 -04:00 committed by Sergey Prigogin
parent bd04871a91
commit 5f20538e4c
3 changed files with 100 additions and 68 deletions

View file

@ -42,8 +42,8 @@ th { font-weight: bold }
display: none; display: none;
} }
.menu td { vertical-align: top; } .menu, .option td { vertical-align: top; }
td.menu_name {font-weight: bold;} td.menu_name, td.option_name {font-weight: bold;}
/* Mike Behm's addition to the style sheet */ /* Mike Behm's addition to the style sheet */
.userinput { font-family: monospace; } .userinput { font-family: monospace; }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View file

@ -1,72 +1,104 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Editor preferences</title> <title>Editor preferences</title>
<link rel="stylesheet" type="text/css" href="../help.css"> <link rel="stylesheet" type="text/css" href="../help.css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script> <script type="text/javascript"
src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head> </head>
<body> <body>
<div role="main">
<h1>Editor preferences</h1>
<p>
Use the <a class="command-link"
href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.cdt.ui.preferences.CEditorPreferencePage)")'><img
src="PLUGINS_ROOT/org.eclipse.help/command_link.png"
alt="command link" />Editor</a> preference panel to control the
appearance of text highlighting in C/C++ editors.
</p>
<p>
<img src="../images/editor_general_preferences.png"
alt="Editor Preferences Panel">
</p>
<div role="main"><h1>Editor preferences</h1> <table class="option" border="1" cellspacing="0">
<colgroup>
<col width="30%" valign="top">
<col width="70%" valign="top">
</colgroup>
<tbody>
<tr style="text-align: center;">
<th id="option"><strong>Option</strong></th>
<th id="description"><strong>Description</strong></th>
</tr>
<tr>
<td class="option_name" headers="option">Smart caret
positioning in identifiers</td>
<td headers="description">Treats CamelCase identifiers as
being made up of separate words.</td>
</tr>
<tr>
<td class="option_name" headers="option">Report problems as
you type</td>
<td headers="description">Problems found will be immediately
highlighted in the editor.</td>
</tr>
<tr>
<td class="option_name" headers="option">Highlight matching
brackets</td>
<td headers="description">When the cursor is beside a bracket,
the matching bracket is highlighted.</td>
</tr>
<tr>
<td class="option_name" headers="option">Highlight inactive
code</td>
<td headers="description">Highlights inactive code when the
cursor is positioned inside it.</td>
</tr>
<tr>
<td class="option_name" headers="option">Appearance color
options</td>
<td headers="description">Lists the items for which you can
specify a color.</td>
</tr>
<tr>
<td class="option_name" headers="option">Color</td>
<td headers="description">Specifies the color in which to
display the selected item.</td>
</tr>
<tr>
<td class="option_name" headers="option">Documentation tool
comments</td>
<td headers="description">Specifies which documentation tool
should be used to determine editor presentation and behaviors.
This enables editor features such as content-assist, documentation
comment generation and syntax highlighting. The particular tool
selected here will be used for files that are not associated with
a project, or where no project level preference has been set.</td>
</tr>
</tbody>
</table>
<p>Use the <img src="../images/command_link.png" alt="" > <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.cdt.ui.preferences.CEditorPreferencePage)")'>Editor</a> preference panel to control the appearance of text highlighting in C/C++ editors.</p> <p>
<p><img src="../images/editor_general_preferences.png" alt="Editor Preferences Panel"></p> <img src="../images/ngconcepts.gif" ALT="Related concepts"
width="143" height="21"> <br> <a
<table width="600px" cellpadding="4" cellspacing="0" border="1" fgcolor="DDD"> href="../concepts/cdt_o_code_entry.htm">Coding aids</a>
<caption><strong>Editor Preference Options</strong></caption> </p>
<colgroup> <p>
<col width="30%" valign="top" > <img src="../images/ngtasks.gif" ALT="Related tasks" width="143"
<col width="70%" valign="top" > height="21"> <br> <a
</colgroup> href="../tasks/cdt_t_cust_cpp_editor.htm">Customizing the C/C++
<tbody> editor</a>
<tr style="text-align:center;"> </p>
<th id="option"><strong>Option</strong></th> <p>
<th id="description"><strong>Description</strong></th> <img src="../images/ngref.gif" ALT="Related reference" width="143"
</tr> height="21"> <br> <a href="cdt_o_ceditor_pref.htm">C/C++
<tr> editor preferences</a>
<td headers="option"><strong>Smart caret positioning in identifiers</strong></td> </p>
<td headers="description">If enabled, there are additional word boundaries inside identifiers.</td> <hr>
</tr> <img alt="IBM Copyright Statement" src="../images/ng00_04a.gif">
<tr> </div>
<td headers="option"><strong>Highlight matching brackets</strong></td> </body>
<td headers="description">When the cursor is beside a bracket, the matching bracket is highlighted.</td> </html>
</tr>
<tr>
<td headers="option"><strong>Highlight inactive code</strong></td>
<td headers="description">Highlights inactive code when the cursor is positioned inside it.</td>
</tr>
<tr>
<td headers="option"><strong>Appearance color options</strong></td>
<td headers="description">Lists the items for which you can specify a color.</td>
</tr>
<tr>
<td headers="option"><strong>Color</strong></td>
<td headers="description">Specifies the color in which to display the selected item.</td>
</tr>
<tr>
<td headers="option"><strong>Documentation tool comments</strong></td>
<td headers="description">Specifies which documentation tool should be used to determine editor presentation and behaviors. This
enables editor features such as content-assist, documentation comment generation and syntax highlighting. The particular
tool selected here will be used for files that are not associated with a project, or where no project level preference has
been set.</td>
</tr>
</tbody>
</table>
<p><img src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> <br>
<a href="../concepts/cdt_o_code_entry.htm">Coding aids</a></p>
<p><img src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br>
<a href="../tasks/cdt_t_cust_cpp_editor.htm">Customizing the C/C++ editor</a></p>
<p><img src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br>
<a href="cdt_o_ceditor_pref.htm">C/C++ editor preferences</a></p>
<hr>
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
</div></body>
</html>