/jEdit/tags/jedit-4-2-pre14/bsh/commands/show.bsh
# · Unknown · 14 lines · 11 code · 3 blank · 0 comment · 0 complexity · bfa7a7725f5f7386d0577901e667d8e9 MD5 · raw file
- /**
- Toggle on or off displaying the results of expressions (off by default).
- When show mode is on bsh will print() the value returned by each expression
- you type on the command line.
- */
- bsh.help.show = "usage: show()";
- show() {
- if ( bsh.show == void )
- bsh.show = false;
- bsh.show = !bsh.show;
- }