PageRenderTime 55ms CodeModel.GetById 53ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-5-pre1/org/gjt/sp/jedit/bsh/commands/show.bsh

#
Unknown | 11 lines | 9 code | 2 blank | 0 comment | 0 complexity | 503327f1fcf3de22d40dcc250f83b06d MD5 | raw file
 1/**
 2	Toggle on or off displaying the results of expressions (off by default).
 3	When show mode is on bsh will print() the value returned by each expression 
 4	you type on the command line.
 5*/
 6
 7bsh.help.show = "usage: show()";
 8
 9show()  {
10	this.interpreter.setShowResults( !this.interpreter.getShowResults() );
11}