PageRenderTime 22ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

/jEdit/tags/jedit-4-0-pre5/bsh/commands/setNameCompletion.bsh

#
Unknown | 12 lines | 9 code | 3 blank | 0 comment | 0 complexity | 9df3b0f123292433d7e4432426e49b2d MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. bsh.help.setNameCompletion= "usage: setNameCompletion( boolean )";
  2. /**
  3. Allow users to turn off name completion.
  4. */
  5. setNameCompletion( bool ) {
  6. if ( bool == false )
  7. if ( bsh.console != void )
  8. bsh.console.setNameCompletion( null );
  9. }