| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
| <head> |
| <meta name="copyright" content= |
| "Copyright (c) IBM Corporation and others 2000, 2018. 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=utf-8" /> |
| <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" type="text/javascript"></script> |
| <link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css" /> |
| <style type="text/css"> |
| /*<![CDATA[*/ |
| table.c3 {width: 100%;} |
| td.c2 {vertical-align: top;} |
| td.c1 {vertical-align: top; width: 25%;} |
| /*]]>*/ |
| </style> |
| </head> |
| <body> |
| <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.svg" alt="command link" /> <strong>General > Editors > |
| Text Editors</strong></a> preference page.</p> |
| <h2>Appearance options</h2> |
| <table border="1" cellspacing="0" class="c3"> |
| <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"> |
| Remove multiple spaces on backspace/delete<br /> |
| </div> |
| </td> |
| <td align="left" valign="top"> |
| <div class="Para"> |
| This option allows you to set whether hitting backspace or delete in text editors deletes only 1 space |
| character (if <code>off</code>) or deletes as many space characters as defined in <em>Display tab |
| width</em> (if <code>on</code>). |
| </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"> |
| Allow editors to override the margin column<br /> |
| </div> |
| </td> |
| <td align="left" valign="top"> |
| <div class="Para"> |
| This option tells whether editors are allowed to override the print margin column. |
| </div> |
| </td> |
| <td align="left" valign="top"> |
| <div class="Para"> |
| false |
| </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 class="c1">Show whitespace characters<br /></td> |
| <td class="c2">This option controls whether to display whitespace characters in text editors.<br /></td> |
| <td class="c2">Off<br /></td> |
| </tr> |
| <tr> |
| <td class="c1">Show affordance in hover on how to make it sticky<br /></td> |
| <td class="c2">This option controls whether to show an affordance in the hover on how to make it |
| sticky.<br /></td> |
| <td class="c2">On<br /></td> |
| </tr> |
| <tr> |
| <td class="c1">Enable drag and drop of text<br /></td> |
| <td class="c2">This option controls whether text drag and drop is enabled.<br /></td> |
| <td class="c2">On<br /></td> |
| </tr> |
| <tr> |
| <td class="c1">Warn before editing a derived file<br /></td> |
| <td class="c2">This option controls whether to warn if a derived file is going to be edited.<br /></td> |
| <td class="c2">On<br /></td> |
| </tr> |
| <tr> |
| <td class="c1">Smart caret positioning at line start and end<br /></td> |
| <td class="c2">This option controls whether the editor automatically positions the caret and the start or end |
| of a line.<br /></td> |
| <td class="c2">On<br /></td> |
| </tr> |
| <tr> |
| <td class="c1">Show code minings for problem annotations:<br /></td> |
| <td class="c2">This option controls for which sevirities the problem markers should be displayed as code |
| minings in text editors.<br /></td> |
| <td class="c2">None<br /></td> |
| </tr> |
| <tr> |
| <td class="c1">Maximum annotations shown<br /></td> |
| <td class="c2">This option controls the maximum number of problem annotations to show as code mining (too high |
| number can have negative impact on performance).<br /></td> |
| <td class="c2">100<br /></td> |
| </tr> |
| <tr> |
| <td class="c2" width="25%">Appearance color options<br /></td> |
| <td class="c2">This option controls various appearance colors.<br /></td> |
| <td class="c2"><br /></td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 class="related">Related reference</h3><a href="../concepts/concepts-6.htm">Editor</a><br /> |
| </body> |
| </html> |