Table of Contents
BeanShell includes a set of commands; subroutines that can be called from any script or macro. The following is a summary of those commands which may be useful within jEdit.
Plugins, because they are written in Java and not BeanShell, cannot make use of BeanShell commands.
void cat
(String filename);
Writes the contents of filename to the activity log.
void javap
(String | Object | Class target);
Writes the public fields and methods of the specified class to the output stream of the current process. Requires Java 2 version 1.3 or greater.
void print
(arg);
Writes the string value of the argument to the activity log, or if run from the Console plugin, to the current output window. If arg is an array, print runs itself recursively on the array's elements.