📄 10-cross-reference browser.mht
字号:
From: <由 Windows Internet Explorer 7 保存>
Subject: Cross-Reference Browser
Date: Thu, 15 May 2008 14:47:55 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
type="text/html";
boundary="----=_NextPart_000_00D3_01C8B69A.A9120B50"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
This is a multi-part message in MIME format.
------=_NextPart_000_00D3_01C8B69A.A9120B50
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://sourcenav.sourceforge.net/online-docs/userguide/crossref.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>Cross-Reference Browser</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/clbrws.htm=
l">Previous</A></P></TD>
<TD align=3Dmiddle>
<P class=3DGotos><A=20
=
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/inclbrws.h=
tml">Next</A></P></TD></TR></TBODY></TABLE>
<HR align=3Dcenter>
</DIV>
<H1 class=3DChapterTitle><A name=3DpgfId-996754></A><A=20
name=3D35957></A>Cross-Reference Browser <IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/crossref-1.=
gif">=20
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/crossref-2.=
gif">=20
</DIV></H1>
<P class=3DBody><A name=3DpgfId-1044957></A>The <A =
name=3Dmarker-1044955></A><SPAN=20
class=3DBold>Cross-Reference Browser</SPAN> shows you where elements in =
your=20
program are used or accessed. It can find every call of a function, or =
tell you=20
everything a particular function calls. It creates <A=20
name=3Dmarker-1044956></A>tree diagrams that show essential =
relationships within=20
the project's symbol database, such as the <A =
name=3Dmarker-1044958></A>function=20
call hierarchy tree. You can traverse up and down the hierarchy tree, as =
well as=20
expand or restrict the tree. You can select items in the hierarchy and =
display=20
their <EM class=3DItalics>Refers-to</EM> and <EM =
class=3DItalics>Referred-by</EM>=20
relationships; these relationships are based on the "point-of-view" of =
the=20
selected symbol. </P>
<P class=3DBody><A name=3DpgfId-1004869></A>A <EM =
class=3DItalics>Refers-to</EM>=20
relationship is one where the selected symbol is used in the context of =
another=20
symbol, which is in turn <EM class=3DEmphasis>Referred-by</EM> the =
selected=20
symbol. </P>
<P class=3DBody><A name=3DpgfId-1003935></A>Source-Navigator creates the =
<A=20
name=3Dmarker-1003927></A>cross-reference database in the background, =
which=20
enables you to work in other views. During this process, the =
Cross-Reference=20
tool button is disabled (grayed-out). After the database is built, the =
<SPAN=20
class=3DBold>Cross-Reference</SPAN> tool can be opened.</P>
<P class=3DBody><A name=3DpgfId-996758></A>Although you can always start =
the <A=20
name=3Dmarker-997931></A><SPAN class=3DBold>Cross-Reference =
Browser</SPAN> from the=20
<SPAN class=3DBold>Windows</SPAN> menu by selecting <SPAN =
class=3DBold>New View=20
</SPAN><EM class=3DArrow>-></EM> <SPAN class=3DBold>Xref</SPAN>, you =
may want to=20
start the <SPAN class=3DBold>Cross-Reference Browser</SPAN> so that it =
focuses on=20
a specific symbol. To do this, select a symbol in the <SPAN =
class=3DBold>Symbol=20
Browser</SPAN> or <SPAN class=3DBold>Editor</SPAN>, and then click the =
<SPAN=20
class=3DBold>Cross-Reference</SPAN> tool button or choose the <SPAN=20
class=3DBold>Xref</SPAN> tab. </P>
<P class=3DBody><A name=3DpgfId-1142764></A>The selected symbol becomes =
the root=20
symbol in the <SPAN class=3DBold>Symbol Accelerator</SPAN> text box at =
the top=20
left of the <A name=3Dmarker-1142765></A><SPAN =
class=3DBold>Cross-Reference=20
Browser</SPAN> window. The references that <EM =
class=3DItalics>Refer-to</EM> the=20
root symbol are indicated by connecting lines and those that are <EM=20
class=3DItalics>Referred-by</EM> are indicated by connecting arrows. You =
can=20
traverse the <A name=3Dmarker-1142766></A>hierarchy tree by selecting =
references=20
and clicking the right-pointing hand tool (<EM =
class=3DItalics>Refers-to</EM>) and=20
left-pointing one (<EM class=3DItalics>Referred-by</EM>) as shown in <A =
class=3DXRef=20
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/crossref.h=
tml#24797">Cross-Reference=20
Browser Window</A>. </P>
<P class=3DFigureTitle><A name=3DpgfId-1142812></A><A =
name=3D24797></A>Cross-Reference=20
Browser<A name=3Dmarker-1142820></A> Window</P>
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/crossref-3.=
gif">=20
</DIV>
<P class=3DBody><A name=3DpgfId-1142814></A>The <SPAN =
class=3DBold>Remove=20
Subnodes</SPAN> button allows you to remove displayed <A=20
name=3Dmarker-1142813></A>subnodes from the hierarchy tree view.</P>
<P class=3DBody><A name=3DpgfId-1039619></A>To set the number of subnode =
<A=20
name=3Dmarker-1039618></A>levels to display, enter a positive integer in =
the <SPAN=20
class=3DBold>Levels</SPAN> text entry box.</P>
<P class=3DBody><A name=3DpgfId-1138942></A>Double-clicking a symbol in =
the <SPAN=20
class=3DBold>Cross-Reference Browser</SPAN> window starts the <SPAN=20
class=3DBold>Editor</SPAN>, with the specific symbol in context in the =
source=20
file. The cross-reference information is stored in the database and is =
kept=20
current by the <SPAN class=3DBold>Editor</SPAN>.</P>
<H3 class=3DHeading2><A name=3DpgfId-1140188></A>Cross-Reference =
Filter</H3>
<P class=3DBody><A name=3DpgfId-1140249></A>Click the <SPAN =
class=3DBold>Filter</SPAN>=20
icon to bring up the <SPAN class=3DBold>Filter</SPAN> dialog. The =
symbols=20
displayed by the <SPAN class=3DBold>Cross-Reference Browser</SPAN> are =
included=20
based on these settings.</P>
<P class=3DFigureTitle><A name=3DpgfId-1140250></A>Cross-Reference =
Filter</P>
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/crossref-4.=
gif">=20
</DIV>
<P class=3DBody><A name=3DpgfId-1150642></A>All<BR>
<P class=3DBodyHang1>Sets all non-Access selections.</P>
<P class=3DBody><A name=3DpgfId-1150643></A>None<BR>
<P class=3DBodyHang1>Clears all non-Access selections.</P>
<H3 class=3DHeading2><A name=3DpgfId-1150637></A><A =
name=3D26028></A>Cross-Reference=20
Browser Details</H3>
<P class=3DBody><A name=3DpgfId-1004749></A>Holding down the right mouse =
button on a=20
symbol in the <SPAN class=3DBold>Cross-Reference Browser</SPAN> brings =
up a popup=20
menu that allows you to filter the list of symbols you're working with, =
as well=20
as to gather new information about the symbols you're interested in.</P>
<P class=3DFigureTitle><A name=3DpgfId-1004752></A>Cross-Reference =
Browser, Right=20
Mouse Button Down</P>
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/crossref-5.=
gif">=20
</DIV>
<P class=3DBody><A name=3DpgfId-1134196></A>Choosing <SPAN =
class=3DBold>Details=20
By</SPAN> brings up a window that shows where each symbol in the list is =
referenced. </P>
<P class=3DFigureTitle><A name=3DpgfId-1134200></A>Cross-Reference =
Browser Showing=20
Details By Window</P>
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/crossref-6.=
gif">=20
</DIV>
<P class=3DBody><A name=3DpgfId-1138956></A>Clicking on the column =
headers allows=20
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -