04.04.2013 Views

Prism User's Guide - CSAIL People - MIT

Prism User's Guide - CSAIL People - MIT

Prism User's Guide - CSAIL People - MIT

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

:1rn<br />

WII-<br />

Chapter 2. Using <strong>Prism</strong> 21<br />

Selecting Text<br />

You can select text in the source window by dragging over it with the mouse; the<br />

text is then highlighted. Or double-click with the mouse pointer pointing to a<br />

word to select just that word. Left-click anywhere in the source window to<br />

"deselect" selected text.<br />

Right-click in the source window to display a menu that includes actions to perform<br />

on the selected text; see Figure 5. For example, select Print to display a<br />

visualizer containing the value(s) of the selected variable or expression at the<br />

current point of execution. (See Chapter 5 for a discussion of visualizers and<br />

printing.) To close the popup menu, right-click anywhere else in the main <strong>Prism</strong><br />

window.<br />

U Une ISource File: users/cmsg39bowkerlsdelsrclmalnttestprlmes.cs<br />

44<br />

45<br />

46<br />

47<br />

48<br />

49<br />

50<br />

51<br />

52<br />

53<br />

54<br />

55<br />

56<br />

57<br />

/O<br />

Print<br />

void in Display<br />

boo: c<br />

int ml Whatis<br />

*is..pr Doc Search<br />

Show source pane P<br />

ias.con<br />

h are ndices to the one- */<br />

r /<br />

isprimep) C<br />

FIRSTPRIME) ? TRUE : FALSE:<br />

Help<br />

do<br />

where(s_coandidate)<br />

minimumprime =

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!