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

📄 7-editor.mht

📁 这是著名的源码浏览工具(不仅仅浏览
💻 MHT
📖 第 1 页 / 共 5 页
字号:
From: <由 Windows Internet Explorer 7 保存>
Subject: Editor
Date: Thu, 15 May 2008 14:47:04 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
	type="text/html";
	boundary="----=_NextPart_000_009E_01C8B69A.8A7A0350"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198

This is a multi-part message in MIME format.

------=_NextPart_000_009E_01C8B69A.8A7A0350
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://sourcenav.sourceforge.net/online-docs/userguide/editor.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" =
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML><HEAD><TITLE>Editor</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3DISO-8859-1">
<META http-equiv=3DContent-Style-Type content=3Dtext/css>
<META content=3D"MSHTML 6.00.6000.16544" name=3DGENERATOR><LINK=20
href=3D"http://sourcenav.sourceforge.net/online-docs/cygnus2.css" =
type=3Dtext/css=20
charset=3DISO-8859-1 rel=3DSTYLESHEET></HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<TABLE class=3DTABLE cellPadding=3D1 width=3D100 align=3Dcenter =
border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dmiddle>
      <P class=3DGotos><A=20
      =
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/index_ug.h=
tml">Contents</A>=20
      </P></TD>
    <TD align=3Dmiddle>
      <P class=3DGotos><A=20
      =
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/symbrws.ht=
ml">Previous</A></P></TD>
    <TD align=3Dmiddle>
      <P class=3DGotos><A=20
      =
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/clhierbrws=
.html">Next</A></P></TD></TR></TBODY></TABLE>
<HR align=3Dcenter>
</DIV>
<H1 class=3DChapterTitle><A name=3DpgfId-958208></A><BR><A =
name=3D40005></A>Editor
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/editor-1.gi=
f">=20
</DIV></H1>
<P class=3DBody><A name=3DpgfId-884441></A>Source-Navigator<EM =
class=3DItalics>=20
</EM>allows you to<EM class=3DItalics> </EM>edit source files with its =
built-in <A=20
name=3Dmarker-886660></A>editor, or with an external editor that you =
select in the=20
<SPAN class=3DBold>Edit</SPAN> tab of the<SPAN class=3DBold> Preferences =

</SPAN>dialog (see <A class=3DXRef=20
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/editor.htm=
l#40803">Editor=20
Preferences</A>). For instructions on how to use Emacs as your external =
editor,=20
see <A class=3DXRef=20
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/editor.htm=
l#23830">Using=20
Emacs as your Editor</A>. If you intend to use another external editor, =
see the=20
<A class=3DXRef=20
href=3D"http://sourcenav.sourceforge.net/online-docs/progref/custom.html"=
>Customization</A>=20
chapter in the <STRONG class=3DBoldEmphasis>Programmer's Reference=20
Guide</STRONG>.</P>
<H2 class=3DHeading1><A name=3DpgfId-974543></A><A name=3D28585></A>The =
Editor=20
Window</H2>
<P class=3DBody><A name=3DpgfId-974627></A>To open the <SPAN=20
class=3DBold>Editor</SPAN><A name=3Dmarker-974626></A>, double-click a =
symbol in the=20
<SPAN class=3DBold>Symbol Browser</SPAN> (or other Source-Navigator =
browser=20
window). Symbols are hyperlinked to the <SPAN =
class=3DBold>Editor</SPAN>, which=20
displays the contents of a project source file and allows you to edit =
it.</P>
<P class=3DBody><A name=3DpgfId-1018658></A>When you save a modified =
source file,=20
the project database is updated and changes are reflected in all of the=20
Source-Navigator tools. Standard mouse operations are supported in the =
<SPAN=20
class=3DBold>Editor</SPAN>:</P>
<UL>
  <LI class=3DBullet>
  <P class=3DBody><A name=3DpgfId-1018648></A>click on the text and new =
text will be=20
  inserted to the right of the cursor. </P>
  <LI class=3DBullet>
  <P class=3DBody><A name=3DpgfId-1018649></A>clicking and dragging =
selects text so=20
  that operations such as <SPAN class=3DBold>Cut</SPAN>, <SPAN=20
  class=3DBold>Copy</SPAN>, and <SPAN class=3DBold>Paste</SPAN> can be =
performed.=20
  </P>
  <LI class=3DBullet>
  <P class=3DBody><A name=3DpgfId-1018650></A>clicking and dragging in =
the scroll=20
  bars scrolls the file appropriately. </P>
  <LI class=3DBullet>
  <P class=3DBody><A name=3DpgfId-1018651></A>double-clicking on words =
selects the=20
  entire word; triple-clicking selects the entire line. </P></LI></UL>
<P class=3DFigureTitle><A name=3DpgfId-896033></A><A =
name=3Dmarker-959947></A>Editor=20
Window</P>
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/editor-2.gi=
f">=20
</DIV>
<H3 class=3DHeading2><A name=3DpgfId-897255></A><A =
name=3Dmarker-897269></A><A=20
name=3D29540></A>Symbol Accelerator Combo-box</H3>
<P class=3DBody><A name=3DpgfId-1069424></A>The <SPAN =
class=3DBold>Symbol=20
Accelerator</SPAN> combo-box in the toolbar allows you to quickly =
navigate=20
through your source code. </P>
<P class=3DFigureTitle><A name=3DpgfId-1098325></A>Symbol Accelerator =
Combo-box</P>
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/editor-3.gi=
f">=20
</DIV>
<P class=3DBody><A name=3DpgfId-1098319></A>When the <SPAN =
class=3DBold>Editor</SPAN>=20
is open this combo-box lists all of the symbols in the open file. When =
the <SPAN=20
class=3DBold>All</SPAN> button is clicked, all of the symbols within the =
entire=20
project are displayed. When other tools are open, the <SPAN =
class=3DBold>Symbol=20
Accelerator</SPAN> combo-box lists the components relative to the =
tool.</P>
<P class=3DBody><A name=3DpgfId-1069415></A>For instance, in the <SPAN=20
class=3DBold>Class Browser</SPAN>, it lists only classes in the file. =
When the=20
<SPAN class=3DBold>All</SPAN> button is clicked, all of the classes in =
the project=20
are displayed. </P>
<P class=3DBody><A name=3DpgfId-897258></A>Notice that the <SPAN =
class=3DBold>Symbol=20
Accelerator</SPAN> text field in the toolbar displays the component that =
is=20
referenced as the Editor's cursor moves through the file.</P>
<H3 class=3DHeading2><A name=3DpgfId-1099068></A>Find Box</H3>
<P class=3DBody><A name=3DpgfId-1099057></A>You can use the <SPAN=20
class=3DBold>Find</SPAN> box in the toolbar to search for text. Type =
text into the=20
text box and press the <SPAN class=3DBold>Enter</SPAN> key; the next =
instance of=20
the text is found. To find a previously used pattern, click the <SPAN=20
class=3DBold>Find</SPAN> box down arrow to see a list of previous =
patterns. Select=20
one of the patterns with the mouse and the next instance of that pattern =
is=20
found. </P>
<H3 class=3DHeading2><A name=3DpgfId-1099118></A>Pattern Searching</H3>
<P class=3DBody><A name=3DpgfId-1099119></A>Use these buttons to search =
the window=20
or the project database for a symbol.</P>
<P class=3DFigureTitle><A name=3DpgfId-1099143></A>Pattern Searching =
Toolbar=20
Buttons</P>
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/editor-4.gi=
f">=20
</DIV>
<H4 class=3DHeading3><A name=3DpgfId-1099177></A><A name=3D26260></A>The =
<A=20
name=3Dmarker-1099176></A>Extended Toolbar</H4>
<P class=3DBody><A name=3DpgfId-1099178></A>The extended toolbar =
provides buttons to=20
manage your files and text. To add this toolbar to Source-Navigator, =
from the=20
<SPAN class=3DBold>File</SPAN> menu, select <SPAN class=3DBold>Project=20
Preferences</SPAN>. Select the <SPAN class=3DBold>Edit</SPAN> tab and =
select the=20
<SPAN class=3DBold>Extended Toolbar Buttons</SPAN> box.</P>
<P class=3DFigureTitle><A name=3DpgfId-1099205></A>File and Text =
Management Toolbar=20
Buttons</P>
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/editor-5.gi=
f">=20
</DIV>
<H3 class=3DHeading2><A name=3DpgfId-897275></A>View History</H3>
<P class=3DBody><A name=3DpgfId-897276></A>Source-Navigator provides =
complex=20
information in a number of ways. As you navigate through a project, you =
may want=20
to return to the view of a relationship that you previously =
investigated.=20
Source-Navigator stores a <A name=3Dmarker-1089990></A>view history of =
your=20
journey through the project. The left and right arrows in the toolbar =
act like=20
<SPAN class=3DBold>Back</SPAN> and <SPAN class=3DBold>Forward</SPAN> =
buttons in=20
popular Web browsers. You can also right-click on one of these buttons =
to get a=20
list of previously visited locations within the project. </P>
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/editor-6.gi=
f">=20
</DIV>
<P class=3DBody><A name=3DpgfId-1077515></A>For more detailed history, =
the <SPAN=20
class=3DBold>History</SPAN> menu lists previous views on a per-tool =
basis. This=20
lets you jump directly to the view you want, rather than paging through =
previous=20
views.</P>
<H3 class=3DHeading2><A name=3DpgfId-897022></A><A =
name=3Dmarker-1053359></A>Search=20
Menu</H3>
<P class=3DBody><A name=3DpgfId-897029></A>The <SPAN =
class=3DBold>Search</SPAN> menu=20
is context-sensitive; different options are available depending upon the =

⌨️ 快捷键说明

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