blob: 19064ee4ff57a2bc717870cd9aa9427f6e469ede [file] [log] [blame]
<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en"><html><head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css"><title>Text Editors preference page</title>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css"></head><body bgcolor="#ffffff">
<h1 class="Head">Text Editors preference page</h1>
<p>The following preferences can be changed on the
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.GeneralTextEditor)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png">
<strong>General &gt; Editors &gt; Text Editors</strong></a>
page.</p>
<h2>Appearance options</h2>
<table border="1" cellspacing="0" style="width: 100%;">
<caption>
</caption>
<thead>
</thead>
<tbody>
</tbody>
<tbody>
<tr>
<th width="25%"> <div class="Para">Option</div></th>
<th> <div class="Para">Description</div></th>
<th> <div class="Para">Default</div></th>
</tr>
<tr>
<td align="left" valign="top"> <div class="Para">Undo history size<br>
</div></td>
<td align="left" valign="top"> <div class="Para">This option allows you
to set the size of the undo history for text editors. </div></td>
<td align="left" valign="top"> <div class="Para">200</div></td>
</tr>
<tr>
<td align="left" valign="top"> <div class="Para">Displayed tab width<br>
</div></td>
<td align="left" valign="top"> <div class="Para">This option allows you
to set the displayed tab width for text editors. </div></td>
<td align="left" valign="top"> <div class="Para">4</div></td>
</tr>
<tr>
<td align="left" valign="top"> <div class="Para">Insert spaces for tabs<br>
</div></td>
<td align="left" valign="top"> <div class="Para">This option allows you to insert space characters in place of tab characters.</div></td>
<td align="left" valign="top"> <div class="Para">Off</div></td>
</tr>
<tr>
<td align="left" valign="top"> <div class="Para">Highlight current line<br>
</div></td>
<td align="left" valign="top"> <div class="Para">This option controls whether
or the current line is highlighted or not.<br>
</div></td>
<td align="left" valign="top"> On<br> </td>
</tr>
<tr>
<td align="left" valign="top"> <div class="Para">Show print margin<br>
</div></td>
<td align="left" valign="top"> <div class="Para">This option controls whether
the print margin is visible or not.</div></td>
<td align="left" valign="top"> <div class="Para">Off</div></td>
</tr>
<tr>
<td align="left" valign="top"> <div class="Para">Print margin column<br>
</div></td>
<td align="left" valign="top"> <div class="Para">This option allows you
to set the print margin column position.</div></td>
<td align="left" valign="top"> <div class="Para">80</div></td>
</tr>
<tr>
<td align="left" valign="top"> <div class="Para">Show line numbers<br>
</div></td>
<td align="left" valign="top">This option controls whether or not line numbers
are shown on the left side of the text editor.<br> </td>
<td align="left" valign="top"> Off<br> </td>
</tr>
<tr>
<td align="left" valign="top"> <div class="Para">Show range indicator<br>
</div></td>
<td align="left" valign="top">This option controls whether or not range
indicators are shown in the text editor.<br> </td>
<td align="left" valign="top"> On<br> </td>
</tr>
<tr>
<td style="vertical-align: top; width: 25%;">Show whitespace characters<br>
</td>
<td style="vertical-align: top;">This option controls whether to display whitespace characters in text editors.<br> </td>
<td style="vertical-align: top;">Off<br> </td>
</tr>
<tr>
<td style="vertical-align: top; width: 25%;">Enable drag and drop of text<br> </td>
<td style="vertical-align: top;">This option controls whether text drag and drop is enabled.<br> </td>
<td style="vertical-align: top;">On<br></td>
</tr>
<tr>
<td style="vertical-align: top; width: 25%;">Warn before editing a derived file<br>
</td>
<td style="vertical-align: top;">This option controls whether to warn if a derived file is going to be edited.<br> </td>
<td style="vertical-align: top;">On<br> </td>
</tr>
<tr>
<td style="vertical-align: top; width: 25%;">Smart caret positioning at line start and end<br>
</td>
<td style="vertical-align: top;">This option controls whether the editor automatically positions the caret and the start or end of a line.<br> </td>
<td style="vertical-align: top;">On<br> </td>
</tr>
<tr>
<td style="vertical-align: top; width: 25%;">Show affordance in hover on how to make it sticky<br>
</td>
<td style="vertical-align: top;">This option controls whether to show an affordance in the hover on how to make it sticky.<br> </td>
<td style="vertical-align: top;">On<br> </td>
</tr>
<tr>
<td style="vertical-align: top;" width="25%">Appearance color options<br>
</td>
<td style="vertical-align: top;">This option controls various appearance
colors.<br> </td>
<td style="vertical-align: top;"><br> </td>
</tr>
</tbody>
</table>
<p></p>
<p>Here is how the Text Editors preference page looks like:
</p><p><img src="../images/ref-texteditorpref.png" alt="Image of the Text Editors preference page"><br>
</p><p><img border="0" src="../images/ngrelr.png" alt="Related reference" >
<br><a href="../concepts/concepts-6.htm">Editor</a>
<br>
</p><p>&nbsp;<br>
</p>
</body></html>