PageRenderTime 44ms CodeModel.GetById 41ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-1-pre5/bsh/commands/show.bsh

#
Unknown | 14 lines | 11 code | 3 blank | 0 comment | 0 complexity | bfa7a7725f5f7386d0577901e667d8e9 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	if ( bsh.show == void )
11		bsh.show = false;
12
13	bsh.show = !bsh.show;
14}