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

📄 c-editor3.html

📁 vxworks相关论文
💻 HTML
字号:
<!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-editor2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-editor4.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="85037">3.3  &nbsp;&nbsp;File Management </a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="85042"> </a>Commands in the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">File</font></b> menu include: file management commands, printing commands, recently-opened files, and the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Exit </font></b>command. </p><dd><p class="Body"><a name="84046"> </a>The following sections describe these commands. Each section begins with a table that summarizes the buttons (if any) and keyboard shortcuts for the commands described in that section. For information about printing, see <a href="c-editor4.html#84529"><i class="title">3.4.5&nbsp;Printing</i></a>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84079">3.3.1  &nbsp;&nbsp;Creating a File</a></i></h4></font><dl class="margin"><dl class="margin"><dd><div class="Item"><a name="86385"> </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="84053"> </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="84055"> </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="84057"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">File 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="84068"> </a><img class="figure" border="0" src="images/c-editora2.gif"></div><div class="CellBodyC" align="center"><a name="86342"> </a></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84070"> </a><kbd>CTRL+N </kbd></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84072"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">New</font></b></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="84084"> </a>To create a new file, click <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">File</font></b>&gt;<b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">New</font></b>. A dialog box (<a href="c-editor3.html#84093">Figure&nbsp;3-2</a>) appears where you can select the type of file you want to create. The file type you select controls such default parameters as color keywords. To enter plain text, you can use any file type.<div class="frame"><h4 class="EntityTitle"><a name="84093"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 3-2:&nbsp;&nbsp;File Types (New File)</font></a></h4><dl class="margin"><div class="Anchor"><a name="84090"> </a><img class="figure" border="0" src="images/c-editora3.gif"></div></dl></div></p><dd><p class="Body"><a name="84094"> </a>When you select a file type, an empty window appears, ready for you to begin entering text. <a href="c-editor3.html#84109">Figure&nbsp;3-3</a> shows a new file window for type <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Source File</font></b> (the type for C or C++ source, including header files). <div class="frame"><h4 class="EntityTitle"><a name="84109"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 3-3:&nbsp;&nbsp;New Source File</font></a></h4><dl class="margin"><div class="Anchor"><a name="84106"> </a><img class="figure" border="0" src="images/c-editora4.gif"></div></dl></div></p><dd><p class="Body"><a name="84111"> </a>The area at the left margin is called the <i class="term">attribute pane</i>. Only the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Source File</font></b> file type includes an attribute pane in its display. The attribute pane indicates breakpoints and the target-program context when you use the debugger. You can turn the attribute pane off (among other editor options) from <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> (see <a href="c-customize2.html#87202"><i class="title">9.2.2&nbsp;Editor Preferences</i></a>). If there is no attribute pane, the debugger highlights an entire line of source code to show the location of a breakpoint and to show where the program has stopped. (You can control the color used for such highlighting; see <a href="c-customize2.html#87334"><i class="title">9.2.6&nbsp;Fonts/Colors</i></a>.)</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84154">3.3.2  &nbsp;&nbsp;Opening a File</a></i></h4></font><dl class="margin"><dl class="margin"><dd><div class="Item"><a name="86386"> </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="84122"> </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="84124"> </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="84126"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">File 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="84137"> </a><img class="figure" border="0" src="images/c-editor6.gif"></div><div class="CellBodyC" align="center"><a name="86348"> </a></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84139"> </a><kbd>CTRL+O </kbd></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84141"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Open</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="84143"> </a>n/a</div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84145"> </a><kbd>ALT</kbd>+<kbd>F</kbd> <i class="textVariable">num </i></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84147"> </a><i class="textVariable">File Name</i> </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="84156"> </a>To open an existing file, click <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">File</font></b>&gt;<b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Open</font></b>. A standard Windows file browser (<a href="c-editor3.html#84168">Figure&nbsp;3-4</a>) allows you to select what file to open.<div class="frame"><h4 class="EntityTitle"><a name="84168"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 3-4:&nbsp;&nbsp;Opening C++ Source Files</font></a></h4><dl class="margin"><div class="Anchor"><a name="84165"> </a><img class="figure" border="0" src="images/c-editor7.gif"></div></dl></div></p><dd><p class="Body"><a name="84169"> </a>The bottom part of the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">File</font></b> menu lists the most recently opened files. You can choose one of these without navigating through the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Open</font></b> dialog box.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84211">3.3.3  &nbsp;&nbsp;Saving and Closing a File</a></i></h4></font><dl class="margin"><dl class="margin"><dd><div class="Item"><a name="86387"> </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="84173"> </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="84175"> </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="84177"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">File 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="84185"> </a>n/a</div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84187"> </a><kbd>CTRL+F4 </kbd></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84189"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Close</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="84194"> </a><img class="figure" border="0" src="images/c-editor9.gif"></div><div class="CellBodyC" align="center"><a name="86346"> </a></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84196"> </a><kbd>CTRL+S </kbd></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84198"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Save</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="84200"> </a>n/a</div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84202"> </a><kbd>ALT</kbd>+<kbd>F a </kbd></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="84204"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Save As</font></b></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="85758"> </a>To write out the current file, click <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">File</font></b>&gt;<b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Save</font></b>. To specify a new name (or path) for the current file, click <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Save As</font></b> instead. (Save is disabled until you modify the current file.)</p><dd><p class="Body"><a name="85771"> </a>Click <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Close</font></b> to dismiss the editor window for the current file. If the file has changed since you last saved, a confirmation dialog box offers you the opportunity to save the file before closing it.</p></dl></dl><a name="foot"><hr></a><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-editor2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-editor4.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc.    conversion tool:  Quadralay WebWorks Publisher 4.0.11    template:         CSS Template, Jan 1998 - Jefro --->

⌨️ 快捷键说明

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