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;
}
.menu td { vertical-align: top; }
td.menu_name {font-weight: bold;}
.menu, .option td { vertical-align: top; }
td.menu_name, td.option_name {font-weight: bold;}
/* Mike Behm's addition to the style sheet */
.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">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Editor preferences</title>
<link rel="stylesheet" type="text/css" href="../help.css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Editor preferences</title>
<link rel="stylesheet" type="text/css" href="../help.css">
<script type="text/javascript"
src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head>
<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><img src="../images/editor_general_preferences.png" alt="Editor Preferences Panel"></p>
<table width="600px" cellpadding="4" cellspacing="0" border="1" fgcolor="DDD">
<caption><strong>Editor Preference Options</strong></caption>
<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 headers="option"><strong>Smart caret positioning in identifiers</strong></td>
<td headers="description">If enabled, there are additional word boundaries inside identifiers.</td>
</tr>
<tr>
<td headers="option"><strong>Highlight matching brackets</strong></td>
<td headers="description">When the cursor is beside a bracket, the matching bracket is highlighted.</td>
</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>
<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 alt="IBM Copyright Statement" src="../images/ng00_04a.gif">
</div>
</body>
</html>