📄 crosswindtclapi.html
字号:
<html><head><!-- /vobs/wpwr/docs/tornado-api/guitcl-unix/crosswindTclApi.html - generated by refgen from tclapi.cc --> <title> crosswindTclApi </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>Tornado API Reference : GUI Tcl Library (UNIX)</i></a></p></blockquote><h1>crosswindTclApi</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>crosswindTclApi</strong> - Tcl exposures for debugger GUI </p></blockquote><h4>TCL PROCEDURES</h4><blockquote><p><p><b><a href="./crosswindTclApi.html#downtcl">downtcl</a></b> - request evaluation of an expression in the debugger's interpreter<br><b><a href="./crosswindTclApi.html#sourceContextDisplay">sourceContextDisplay</a></b> - move the source context to a new location<br><b><a href="./crosswindTclApi.html#sourceContextForget">sourceContextForget</a></b> - forget cached information about a source file<br><b><a href="./crosswindTclApi.html#sourceContextForgetAll">sourceContextForgetAll</a></b> - forget all cached information about source files<br><b><a href="./crosswindTclApi.html#sourceRedisplay">sourceRedisplay</a></b> - redisplay the source window<br><b><a href="./crosswindTclApi.html#markSet">markSet</a></b> - set a mark on a source line<br><b><a href="./crosswindTclApi.html#markInfo">markInfo</a></b> - return information about a mark<br><b><a href="./crosswindTclApi.html#markDelete">markDelete</a></b> - delete a mark<br><b><a href="./crosswindTclApi.html#markGoto">markGoto</a></b> - move the source context to the position of a mark<br><b><a href="./crosswindTclApi.html#markList">markList</a></b> - enumerate all marks<br><b><a href="./crosswindTclApi.html#selection">selection</a></b> - return the text of the current selection in the code window<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This library contains implementations of Tcl commands specific to CrossWind.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./crosswindTclApi.html#top">crosswindTclApi</a></b><hr><a name="downtcl"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>downtcl</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>downtcl</strong> - request evaluation of an expression in the debugger's interpreter</p><p></blockquote><h4>LOCALE</h4><blockquote><p>CrossWind<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>downTcl [-noresult] <i>expr</i>...</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>The supplied expression <i>expr</i> is sent to the debug engine, where it isevaluated as a Tcl expression in the debugger's Tcl interpreter. Theresult of that expression is received from the debugger and becomes theresult of the <b><a href="./crosswindTclApi.html#downtcl">downtcl</a></b> expression itself unless <b>-noresult</b> is specified.<p></blockquote><h4>RETURNS</h4><blockquote><p>The result of evaluating the expression or nothing.<p></blockquote><h4>CAVEATS</h4><blockquote><p>Unless <b>-noresult</b> is specified, the CrossWind process will wait indefinitelyfor the debugger to return the result of the evaluation. During this time,the CrossWind user interface will not be responsive.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./crosswindTclApi.html#top">crosswindTclApi</a></b><hr><a name="sourceContextDisplay"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>sourceContextDisplay</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>sourceContextDisplay</strong> - move the source context to a new location</p><p></blockquote><h4>LOCALE</h4><blockquote><p>CrossWind<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>sourceContextDisplay <i>path</i> <i>line</i> [<i>addr</i>]</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command causes CrossWind to present the file named by <i>path</i> in thesource window, positioned at <i>line</i>. In mixed source/assembly mode,<i>addr</i> can further refine the presentation by specifying a particularaddress. If the address is not known, it may be omitted or specified as<b>-1</b>. If the source file and line number are not known, they may bespecified as <b>nil</b> and <b>0</b> respectively; then a pure assembly listing willbe presented in the display centering around the supplied address.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./crosswindTclApi.html#top">crosswindTclApi</a></b>, sourceRedisplay, markSet<hr><a name="sourceContextForget"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>sourceContextForget</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>sourceContextForget</strong> - forget cached information about a source file</p><p></blockquote><h4>LOCALE</h4><blockquote><p>CrossWind<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>sourceContextForget <i>filename</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command causes CrossWind to forget any information it has cached aboutthe given source file. It is used internally to discard source files whenever the debugger loads a new object module.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./crosswindTclApi.html#top">crosswindTclApi</a></b><hr><a name="sourceContextForgetAll"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>sourceContextForgetAll</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>sourceContextForgetAll</strong> - forget all cached information about source files</p><p></blockquote><h4>LOCALE</h4><blockquote><p>CrossWind<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>sourceContextForgetAll</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command discards all cached information about all source files.It is used internally whenever the debugger connects to a new target.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./crosswindTclApi.html#top">crosswindTclApi</a></b>, sourceContextForget<hr><a name="sourceRedisplay"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>sourceRedisplay</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>sourceRedisplay</strong> - redisplay the source window</p><p></blockquote><h4>LOCALE</h4><blockquote><p>CrossWind<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>sourceRedisplay</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command refreshes the source display. It is used internally to manuallyrequest a redisplay of the source whenever the source display mode is changed.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./crosswindTclApi.html#top">crosswindTclApi</a></b>, sourceContextDisplay<hr><a name="markSet"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>markSet</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>markSet</strong> - set a mark on a source line</p><p></blockquote><h4>LOCALE</h4><blockquote><p>CrossWind<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>markSet <i>name</i> <i>type</i> <i>path</i> <i>line</i> <i>addr</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command makes a new "mark" in the source window. Marks are displayedin the left side of the source window. Marks are associated with aparticular line of source and are given names. If markSet is applied toa mark name that already exists, the mark is moved. Two marks on the samesource line must have different names. If the exact machine address isknown, it can be given; if not, it may be omitted or specified as <b>-1</b>.The mark <i>type</i> describes what icon will be used to draw it. Iconsfor CrossWind marks are found in the directory:<p><pre>$WIND_BASE/host/resource/bitmaps/CrossWind/marks</pre></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./crosswindTclApi.html#top">crosswindTclApi</a></b>, sourceContextDisplay, markDelete, markGoto, markList<hr><a name="markInfo"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>markInfo</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>markInfo</strong> - return information about a mark</p><p></blockquote><h4>LOCALE</h4><blockquote><p>CrossWind<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>markInfo <i>name</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command returns information about a named mark: the type, path, lineand address information established for the mark by the markSet commandare returned. If the named mark does not exist, an empty string is returned.<p></blockquote><h4>RETURNS</h4><blockquote><p>The mark information or an empty string.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./crosswindTclApi.html#top">crosswindTclApi</a></b>, markDelete, markGoto, markSet<hr><a name="markDelete"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>markDelete</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>markDelete</strong> - delete a mark</p><p></blockquote><h4>LOCALE</h4><blockquote><p>CrossWind<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>markDelete <i>name</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command deletes the named mark, which was established with markSet,removing it from the source display.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./crosswindTclApi.html#top">crosswindTclApi</a></b>, markSet<hr><a name="markGoto"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>markGoto</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>markGoto</strong> - move the source context to the position of a mark</p><p></blockquote><h4>LOCALE</h4><blockquote><p>CrossWind<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>markGoto <i>name</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command causes the source window to display the source centered aroundthe mark.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./crosswindTclApi.html#top">crosswindTclApi</a></b>, markSet<hr><a name="markList"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>markList</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>markList</strong> - enumerate all marks</p><p></blockquote><h4>LOCALE</h4><blockquote><p>CrossWind<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>markList</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command returns a list of the names of all existing marks.<p></blockquote><h4>RETURNS</h4><blockquote><p>A list of all marks.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./crosswindTclApi.html#top">crosswindTclApi</a></b>, markSet<hr><a name="selection"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>selection</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>selection</strong> - return the text of the current selection in the code window</p><p></blockquote><h4>LOCALE</h4><blockquote><p>CrossWind<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>selection</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command returns the text that is selected in the source window. The selected source is shown in reverse video. If no source is selected, this command returns an empty string.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./crosswindTclApi.html#top">crosswindTclApi</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -