⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c-editor4.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>    Editor   </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-editor.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-editor3.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-editor5.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="84248">3.4  &nbsp;&nbsp;Typing and Editing</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84250"> </a>Only one of the edit windows in Tornado is <i class="term">active</i> at any one time. The active window contains a <i class="term">text cursor</i>, a blinking vertical line also called an <i class="term">insertion point</i>. Whatever you type appears at the text location indicated by the text cursor.</p><dd><p class="Body"><a name="84252"> </a>The editor is designed for editing source files. As such, it does not provide the "word wrap" feature found in many word processors. You must press <kbd>ENTER</kbd> to start a new line. If a line is too long for the current width of the edit window, the text scrolls horizontally as necessary to display the portion of the line you are editing.</p></dl></dl><dl class="margin"><dd><p class="table" callout><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td valign="top" width="40"><br><img border="0" alt="*" src="icons/note.gif"></td><td><hr><div class="CalloutCell"><a name="85780"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">NOTE:  </font></b></a>If you cannot type inside an editor window, check for a <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">READ</font></b> indicator on the status line at the bottom of the Tornado window. If that indicator appears, the editor is displaying a read-only file. To enable typing in that window, save a copy of the file under a different name, or use Windows to turn off the read-only file attribute.</div></td></tr><tr valign="top"><td></td><td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84254">3.4.1  &nbsp;&nbsp;Editing Mode</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84256"> </a>There are two editing modes in Tornado: <i class="term">overtype mode</i>, which replaces the existing text under the cursor as you type, and <i class="term">insert mode</i> (the default), which displaces text to the right while adding the characters you type. Use the <kbd>INSERT</kbd> key on your keyboard to toggle between these two modes. The indicator <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">OVR</font></b> appears in the status line at the bottom of the Tornado window when overtype mode is on. The editing mode does not change when you switch edit windows; the last mode you selected continues to apply, even if you switch to a window that you last edited with the other editing mode.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84334">3.4.2  &nbsp;&nbsp;Editing Text</a></i></h4></font><dl class="margin"><dl class="margin"><dd><div class="Item"><a name="86388"> </a><p class="table"><table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="20"><hr class="tablerule"></td></tr><tr valign="middle"><th rowspan="1" colspan="1"><div class="CellHeadingC" align="center"><a name="84272"> </a><b><font face="Helvetica, sans-serif" size="-1" class="sans">Button</font></b></div></th><td width="10">&nbsp;</td><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="84274"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Shortcut</font></b></div></th><td width="10">&nbsp;</td><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="84276"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Edit Menu Command</font></b></div></th><td width="10">&nbsp;</td></tr><tr><td colspan="20"><hr class="tablerule2"></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBodyC" align="center"><a name="84284"> </a>n/a</div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84286"> </a><kbd>CTRL+Z</kbd></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84288"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Undo</font></b></div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBodyC" align="center"><a name="84293"> </a><img class="figure" border="0" src="images/c-editor10.gif"></div><div class="CellBodyC" align="center"><a name="86352"> </a></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84295"> </a><kbd>CTRL+X</kbd></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84297"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Cut</font></b></div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBodyC" align="center"><a name="84302"> </a><img class="figure" border="0" src="images/c-editor11.gif"></div><div class="CellBodyC" align="center"><a name="86353"> </a></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84304"> </a><kbd>CTRL+C</kbd></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84306"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Copy</font></b></div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBodyC" align="center"><a name="84311"> </a><img class="figure" border="0" src="images/c-editor12.gif"></div><div class="CellBodyC" align="center"><a name="86354"> </a></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84313"> </a><kbd>CTRL+V</kbd></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84315"> </a>Paste</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBodyC" align="center"><a name="84317"> </a>n/a</div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84319"> </a><kbd>DEL</kbd></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84321"> </a>Delete</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBodyC" align="center"><a name="84323"> </a>n/a</div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84325"> </a><kbd>CTRL+A</kbd></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84327"> </a>Select All</div></td><td width="10">&nbsp;</td></tr><tr><td colspan="20"><hr class="tablerule"></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p></div></dl><dl class="margin"><dd><p class="Body"><a name="84341"> </a>The <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Edit</font></b> menu supports the Windows standard editing functions: <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Undo</font></b>, <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Cut</font></b>, <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Copy</font></b>, <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Paste</font></b>, <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Delete</font></b>, and <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Select All</font></b>, with standard shortcuts. </p><dd><p class="Body"><a name="84348"> </a>The <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Undo</font></b> command reverses the effects of the most recent change; click the command again to reverse the change before that. The editor supports up to 512 levels of undo history; you can set how much history to save (among other editor options) by clicking <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Tools</font></b>&gt;<b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Options</font></b>&gt;<b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Editor </font></b>(<a href="c-customize2.html#87202"><i class="title">9.2.2&nbsp;Editor Preferences</i></a>).</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84398">3.4.3  &nbsp;&nbsp;Navigation</a></i></h4></font><dl class="margin"><dl class="margin"><dd><div class="Item"><a name="86389"> </a><p class="table"><table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="20"><hr class="tablerule"></td></tr><tr valign="middle"><th rowspan="1" colspan="1"><div class="CellHeadingC" align="center"><a name="84363"> </a><b><font face="Helvetica, sans-serif" size="-1" class="sans">Button</font></b></div></th><td width="10">&nbsp;</td><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="84365"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Shortcut</font></b></div></th><td width="10">&nbsp;</td><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="84367"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Edit Menu Command</font></b></div></th><td width="10">&nbsp;</td></tr><tr><td colspan="20"><hr class="tablerule2"></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBodyC" align="center"><a name="84375"> </a>n/a</div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84377"> </a><kbd>CTRL+G</kbd></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84379"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Go To</font></b></div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBodyC" align="center"><a name="84381"> </a>n/a</div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84383"> </a><kbd>F4</kbd></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84385"> </a>Next Error/Tag</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBodyC" align="center"><a name="84387"> </a>n/a</div></td><td width="10">&nbsp;</td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -