/jEdit/tags/jedit-4-0-pre3/bsh/commands/setNameSpace.bsh

# · Unknown · 14 lines · 11 code · 3 blank · 0 comment · 0 complexity · cb30beb869df8d54acb55246d8ca450c MD5 · raw file

  1. bsh.help.setNameSpace =
  2. "usage: setNameSpace( bsh.NameSpace )";
  3. /**
  4. Set the namespace of the current scope.
  5. Use this only if you really know what you are doing.
  6. */
  7. setNameSpace( ns )
  8. {
  9. // Set the namespace at depth one (our caller) to the specified namespace.
  10. this.callstack.set( 1, ns );
  11. }