PageRenderTime 51ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/BeanShell.html

#
HTML | 766 lines | 679 code | 75 blank | 12 comment | 0 complexity | 3c98d5311a5b323e78bcaf3657b10f61 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. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:13:44 GMT-08:00 2008 -->
  6. <TITLE>
  7. BeanShell (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.BeanShell class">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <NOSCRIPT>
  12. </NOSCRIPT>
  13. </HEAD>
  14. <BODY BGCOLOR="white" >
  15. <!-- ========= START OF TOP NAVBAR ======= -->
  16. <A NAME="navbar_top"><!-- --></A>
  17. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  18. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  19. <TR>
  20. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  21. <A NAME="navbar_top_firstrow"><!-- --></A>
  22. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  23. <TR ALIGN="center" VALIGN="top">
  24. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  25. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  26. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  27. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BeanShell.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  28. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  29. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  30. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  31. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  32. </TR>
  33. </TABLE>
  34. </TD>
  35. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  36. </EM>
  37. </TD>
  38. </TR>
  39. <TR>
  40. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  41. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/ActionSet.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/BeanShellAction.html" title="class in org.gjt.sp.jedit"><B>NEXT CLASS</B></A></FONT></TD>
  43. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  44. <A HREF="../../../../index.html?org/gjt/sp/jedit/BeanShell.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="BeanShell.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  46. &nbsp;
  47. <NOSCRIPT>
  48. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  49. </NOSCRIPT>
  50. </FONT></TD>
  51. </TR>
  52. <TR>
  53. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  54. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  55. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  56. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  57. </TR>
  58. </TABLE>
  59. <A NAME="skip-navbar_top"></A>
  60. <!-- ========= END OF TOP NAVBAR ========= -->
  61. <HR>
  62. <!-- ======== START OF CLASS DATA ======== -->
  63. <H2>
  64. <FONT SIZE="-1">
  65. org.gjt.sp.jedit</FONT>
  66. <BR>
  67. Class BeanShell</H2>
  68. <PRE>
  69. java.lang.Object
  70. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.BeanShell</B>
  71. </PRE>
  72. <HR>
  73. <DL>
  74. <DT><PRE>public class <B>BeanShell</B><DT>extends java.lang.Object</DL>
  75. </PRE>
  76. <P>
  77. BeanShell is jEdit's extension language.<p>
  78. When run from jEdit, BeanShell code has access to the following predefined
  79. variables:
  80. <ul>
  81. <li><code>view</code> - the currently active <A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit"><CODE>View</CODE></A>.</li>
  82. <li><code>editPane</code> - the currently active <A HREF="../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit"><CODE>EditPane</CODE></A>.</li>
  83. <li><code>textArea</code> - the edit pane's <A HREF="../../../../org/gjt/sp/jedit/textarea/JEditTextArea.html" title="class in org.gjt.sp.jedit.textarea"><CODE>JEditTextArea</CODE></A>.</li>
  84. <li><code>buffer</code> - the edit pane's <A HREF="../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit"><CODE>Buffer</CODE></A>.</li>
  85. <li><code>wm</code> - the view's <A HREF="../../../../org/gjt/sp/jedit/gui/DockableWindowManager.html" title="class in org.gjt.sp.jedit.gui"><CODE>DockableWindowManager</CODE></A>.</li>
  86. <li><code>scriptPath</code> - the path name of the currently executing
  87. BeanShell script.</li>
  88. </ul>
  89. <P>
  90. <P>
  91. <HR>
  92. <P>
  93. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  94. <A NAME="constructor_summary"><!-- --></A>
  95. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  96. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  97. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  98. <B>Constructor Summary</B></FONT></TH>
  99. </TR>
  100. <TR BGCOLOR="white" CLASS="TableRowColor">
  101. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#BeanShell()">BeanShell</A></B>()</CODE>
  102. <BR>
  103. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  104. </TR>
  105. </TABLE>
  106. &nbsp;
  107. <!-- ========== METHOD SUMMARY =========== -->
  108. <A NAME="method_summary"><!-- --></A>
  109. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  110. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  111. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  112. <B>Method Summary</B></FONT></TH>
  113. </TR>
  114. <TR BGCOLOR="white" CLASS="TableRowColor">
  115. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  116. <CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
  117. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#_eval(org.gjt.sp.jedit.View, org.gjt.sp.jedit.bsh.NameSpace, java.lang.String)">_eval</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  118. <A HREF="../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;namespace,
  119. java.lang.String&nbsp;command)</CODE>
  120. <BR>
  121. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evaluates the specified BeanShell expression.</TD>
  122. </TR>
  123. <TR BGCOLOR="white" CLASS="TableRowColor">
  124. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  125. <CODE>static&nbsp;void</CODE></FONT></TD>
  126. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#_runScript(org.gjt.sp.jedit.View, java.lang.String, java.io.Reader, boolean)">_runScript</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  127. java.lang.String&nbsp;path,
  128. java.io.Reader&nbsp;in,
  129. boolean&nbsp;ownNamespace)</CODE>
  130. <BR>
  131. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs a BeanShell script.</TD>
  132. </TR>
  133. <TR BGCOLOR="white" CLASS="TableRowColor">
  134. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  135. <CODE>static&nbsp;void</CODE></FONT></TD>
  136. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#_runScript(org.gjt.sp.jedit.View, java.lang.String, java.io.Reader, org.gjt.sp.jedit.bsh.NameSpace)">_runScript</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  137. java.lang.String&nbsp;path,
  138. java.io.Reader&nbsp;in,
  139. <A HREF="../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;namespace)</CODE>
  140. <BR>
  141. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs a BeanShell script.</TD>
  142. </TR>
  143. <TR BGCOLOR="white" CLASS="TableRowColor">
  144. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  145. <CODE>static&nbsp;<A HREF="../../../../org/gjt/sp/jedit/bsh/BshMethod.html" title="class in org.gjt.sp.jedit.bsh">BshMethod</A></CODE></FONT></TD>
  146. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#cacheBlock(java.lang.String, java.lang.String, boolean)">cacheBlock</A></B>(java.lang.String&nbsp;id,
  147. java.lang.String&nbsp;code,
  148. boolean&nbsp;namespace)</CODE>
  149. <BR>
  150. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Caches a block of code, returning a handle that can be passed to
  151. runCachedBlock().</TD>
  152. </TR>
  153. <TR BGCOLOR="white" CLASS="TableRowColor">
  154. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  155. <CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
  156. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#eval(org.gjt.sp.jedit.View, org.gjt.sp.jedit.bsh.NameSpace, java.lang.String)">eval</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  157. <A HREF="../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;namespace,
  158. java.lang.String&nbsp;command)</CODE>
  159. <BR>
  160. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evaluates the specified BeanShell expression.</TD>
  161. </TR>
  162. <TR BGCOLOR="white" CLASS="TableRowColor">
  163. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  164. <CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
  165. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#eval(org.gjt.sp.jedit.View, org.gjt.sp.jedit.bsh.NameSpace, java.lang.String, boolean)">eval</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  166. <A HREF="../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;namespace,
  167. java.lang.String&nbsp;command,
  168. boolean&nbsp;rethrowBshErrors)</CODE>
  169. <BR>
  170. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>The <code>rethrowBshErrors</code> parameter is now
  171. obsolete; call <code>_eval()</code> or <code>eval()</code> instead.</I></TD>
  172. </TR>
  173. <TR BGCOLOR="white" CLASS="TableRowColor">
  174. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  175. <CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
  176. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#eval(org.gjt.sp.jedit.View, java.lang.String, boolean)">eval</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  177. java.lang.String&nbsp;command,
  178. boolean&nbsp;rethrowBshErrors)</CODE>
  179. <BR>
  180. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>The <code>rethrowBshErrors</code> parameter is now
  181. obsolete; call <code>_eval()</code> or <code>eval()</code> instead.</I></TD>
  182. </TR>
  183. <TR BGCOLOR="white" CLASS="TableRowColor">
  184. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  185. <CODE>static&nbsp;void</CODE></FONT></TD>
  186. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#evalSelection(org.gjt.sp.jedit.View, org.gjt.sp.jedit.textarea.JEditTextArea)">evalSelection</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  187. <A HREF="../../../../org/gjt/sp/jedit/textarea/JEditTextArea.html" title="class in org.gjt.sp.jedit.textarea">JEditTextArea</A>&nbsp;textArea)</CODE>
  188. <BR>
  189. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evaluates the text selected in the specified text area.</TD>
  190. </TR>
  191. <TR BGCOLOR="white" CLASS="TableRowColor">
  192. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  193. <CODE>static&nbsp;<A HREF="../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></CODE></FONT></TD>
  194. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#getNameSpace()">getNameSpace</A></B>()</CODE>
  195. <BR>
  196. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the global namespace.</TD>
  197. </TR>
  198. <TR BGCOLOR="white" CLASS="TableRowColor">
  199. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  200. <CODE>static&nbsp;boolean</CODE></FONT></TD>
  201. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#isScriptRunning()">isScriptRunning</A></B>()</CODE>
  202. <BR>
  203. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if a BeanShell script or macro is currently running.</TD>
  204. </TR>
  205. <TR BGCOLOR="white" CLASS="TableRowColor">
  206. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  207. <CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
  208. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#runCachedBlock(org.gjt.sp.jedit.bsh.BshMethod, org.gjt.sp.jedit.View, org.gjt.sp.jedit.bsh.NameSpace)">runCachedBlock</A></B>(<A HREF="../../../../org/gjt/sp/jedit/bsh/BshMethod.html" title="class in org.gjt.sp.jedit.bsh">BshMethod</A>&nbsp;method,
  209. <A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  210. <A HREF="../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;namespace)</CODE>
  211. <BR>
  212. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs a cached block of code in the specified namespace.</TD>
  213. </TR>
  214. <TR BGCOLOR="white" CLASS="TableRowColor">
  215. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  216. <CODE>static&nbsp;void</CODE></FONT></TD>
  217. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#runScript(org.gjt.sp.jedit.View, java.lang.String, boolean, boolean)">runScript</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  218. java.lang.String&nbsp;path,
  219. boolean&nbsp;ownNamespace,
  220. boolean&nbsp;rethrowBshErrors)</CODE>
  221. <BR>
  222. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>The <code>rethrowBshErrors</code> parameter is now
  223. obsolete; call <code>_runScript()</code> or <code>runScript()</code>
  224. instead.</I></TD>
  225. </TR>
  226. <TR BGCOLOR="white" CLASS="TableRowColor">
  227. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  228. <CODE>static&nbsp;void</CODE></FONT></TD>
  229. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#runScript(org.gjt.sp.jedit.View, java.lang.String, java.io.Reader, boolean)">runScript</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  230. java.lang.String&nbsp;path,
  231. java.io.Reader&nbsp;in,
  232. boolean&nbsp;ownNamespace)</CODE>
  233. <BR>
  234. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs a BeanShell script.</TD>
  235. </TR>
  236. <TR BGCOLOR="white" CLASS="TableRowColor">
  237. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  238. <CODE>static&nbsp;void</CODE></FONT></TD>
  239. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#runScript(org.gjt.sp.jedit.View, java.lang.String, java.io.Reader, boolean, boolean)">runScript</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  240. java.lang.String&nbsp;path,
  241. java.io.Reader&nbsp;in,
  242. boolean&nbsp;ownNamespace,
  243. boolean&nbsp;rethrowBshErrors)</CODE>
  244. <BR>
  245. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>The <code>rethrowBshErrors</code> parameter is now
  246. obsolete; call <code>_runScript()</code> or <code>runScript()</code>
  247. instead.</I></TD>
  248. </TR>
  249. <TR BGCOLOR="white" CLASS="TableRowColor">
  250. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  251. <CODE>static&nbsp;void</CODE></FONT></TD>
  252. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#runScript(org.gjt.sp.jedit.View, java.lang.String, java.io.Reader, org.gjt.sp.jedit.bsh.NameSpace)">runScript</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  253. java.lang.String&nbsp;path,
  254. java.io.Reader&nbsp;in,
  255. <A HREF="../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;namespace)</CODE>
  256. <BR>
  257. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs a BeanShell script.</TD>
  258. </TR>
  259. <TR BGCOLOR="white" CLASS="TableRowColor">
  260. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  261. <CODE>static&nbsp;void</CODE></FONT></TD>
  262. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#showEvaluateDialog(org.gjt.sp.jedit.View)">showEvaluateDialog</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view)</CODE>
  263. <BR>
  264. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prompts for a BeanShell expression to evaluate.</TD>
  265. </TR>
  266. <TR BGCOLOR="white" CLASS="TableRowColor">
  267. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  268. <CODE>static&nbsp;void</CODE></FONT></TD>
  269. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/BeanShell.html#showEvaluateLinesDialog(org.gjt.sp.jedit.View)">showEvaluateLinesDialog</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view)</CODE>
  270. <BR>
  271. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evaluates the specified script for each selected line.</TD>
  272. </TR>
  273. </TABLE>
  274. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  275. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  276. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  277. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  278. </TR>
  279. <TR BGCOLOR="white" CLASS="TableRowColor">
  280. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  281. </TR>
  282. </TABLE>
  283. &nbsp;
  284. <P>
  285. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  286. <A NAME="constructor_detail"><!-- --></A>
  287. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  288. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  289. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  290. <B>Constructor Detail</B></FONT></TH>
  291. </TR>
  292. </TABLE>
  293. <A NAME="BeanShell()"><!-- --></A><H3>
  294. BeanShell</H3>
  295. <PRE>
  296. public <B>BeanShell</B>()</PRE>
  297. <DL>
  298. </DL>
  299. <!-- ============ METHOD DETAIL ========== -->
  300. <A NAME="method_detail"><!-- --></A>
  301. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  302. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  303. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  304. <B>Method Detail</B></FONT></TH>
  305. </TR>
  306. </TABLE>
  307. <A NAME="evalSelection(org.gjt.sp.jedit.View, org.gjt.sp.jedit.textarea.JEditTextArea)"><!-- --></A><H3>
  308. evalSelection</H3>
  309. <PRE>
  310. public static void <B>evalSelection</B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  311. <A HREF="../../../../org/gjt/sp/jedit/textarea/JEditTextArea.html" title="class in org.gjt.sp.jedit.textarea">JEditTextArea</A>&nbsp;textArea)</PRE>
  312. <DL>
  313. <DD>Evaluates the text selected in the specified text area.
  314. <P>
  315. <DD><DL>
  316. <DT><B>Since:</B></DT>
  317. <DD>jEdit 2.7pre2</DD>
  318. </DL>
  319. </DD>
  320. </DL>
  321. <HR>
  322. <A NAME="showEvaluateDialog(org.gjt.sp.jedit.View)"><!-- --></A><H3>
  323. showEvaluateDialog</H3>
  324. <PRE>
  325. public static void <B>showEvaluateDialog</B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view)</PRE>
  326. <DL>
  327. <DD>Prompts for a BeanShell expression to evaluate.
  328. <P>
  329. <DD><DL>
  330. <DT><B>Since:</B></DT>
  331. <DD>jEdit 2.7pre2</DD>
  332. </DL>
  333. </DD>
  334. </DL>
  335. <HR>
  336. <A NAME="showEvaluateLinesDialog(org.gjt.sp.jedit.View)"><!-- --></A><H3>
  337. showEvaluateLinesDialog</H3>
  338. <PRE>
  339. public static void <B>showEvaluateLinesDialog</B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view)</PRE>
  340. <DL>
  341. <DD>Evaluates the specified script for each selected line.
  342. <P>
  343. <DD><DL>
  344. <DT><B>Since:</B></DT>
  345. <DD>jEdit 4.0pre1</DD>
  346. </DL>
  347. </DD>
  348. </DL>
  349. <HR>
  350. <A NAME="runScript(org.gjt.sp.jedit.View, java.lang.String, java.io.Reader, boolean)"><!-- --></A><H3>
  351. runScript</H3>
  352. <PRE>
  353. public static void <B>runScript</B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  354. java.lang.String&nbsp;path,
  355. java.io.Reader&nbsp;in,
  356. boolean&nbsp;ownNamespace)</PRE>
  357. <DL>
  358. <DD>Runs a BeanShell script. Errors are shown in a dialog box.<p>
  359. If the <code>in</code> parameter is non-null, the script is
  360. read from that stream; otherwise it is read from the file identified
  361. by <code>path</code>.<p>
  362. The <code>scriptPath</code> BeanShell variable is set to the path
  363. name of the script.
  364. <P>
  365. <DD><DL>
  366. <DT><B>Parameters:</B><DD><CODE>view</CODE> - The view. Within the script, references to
  367. <code>buffer</code>, <code>textArea</code> and <code>editPane</code>
  368. are determined with reference to this parameter.<DD><CODE>path</CODE> - The script file's VFS path.<DD><CODE>in</CODE> - The reader to read the script from, or <code>null</code>.<DD><CODE>ownNamespace</CODE> - If set to <code>false</code>, methods and
  369. variables defined in the script will be available to all future
  370. uses of BeanShell; if set to <code>true</code>, they will be lost as
  371. soon as the script finishes executing. jEdit uses a value of
  372. <code>false</code> when running startup scripts, and a value of
  373. <code>true</code> when running all other macros.<DT><B>Since:</B></DT>
  374. <DD>jEdit 4.0pre7</DD>
  375. </DL>
  376. </DD>
  377. </DL>
  378. <HR>
  379. <A NAME="runScript(org.gjt.sp.jedit.View, java.lang.String, java.io.Reader, org.gjt.sp.jedit.bsh.NameSpace)"><!-- --></A><H3>
  380. runScript</H3>
  381. <PRE>
  382. public static void <B>runScript</B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  383. java.lang.String&nbsp;path,
  384. java.io.Reader&nbsp;in,
  385. <A HREF="../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;namespace)</PRE>
  386. <DL>
  387. <DD>Runs a BeanShell script. Errors are shown in a dialog box.<p>
  388. If the <code>in</code> parameter is non-null, the script is
  389. read from that stream; otherwise it is read from the file identified
  390. by <code>path</code>.<p>
  391. The <code>scriptPath</code> BeanShell variable is set to the path
  392. name of the script.
  393. <P>
  394. <DD><DL>
  395. <DT><B>Parameters:</B><DD><CODE>view</CODE> - The view. Within the script, references to
  396. <code>buffer</code>, <code>textArea</code> and <code>editPane</code>
  397. are determined with reference to this parameter.<DD><CODE>path</CODE> - The script file's VFS path.<DD><CODE>in</CODE> - The reader to read the script from, or <code>null</code>.<DD><CODE>namespace</CODE> - The namespace to run the script in.<DT><B>Since:</B></DT>
  398. <DD>jEdit 4.2pre5</DD>
  399. </DL>
  400. </DD>
  401. </DL>
  402. <HR>
  403. <A NAME="_runScript(org.gjt.sp.jedit.View, java.lang.String, java.io.Reader, boolean)"><!-- --></A><H3>
  404. _runScript</H3>
  405. <PRE>
  406. public static void <B>_runScript</B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  407. java.lang.String&nbsp;path,
  408. java.io.Reader&nbsp;in,
  409. boolean&nbsp;ownNamespace)
  410. throws java.lang.Exception</PRE>
  411. <DL>
  412. <DD>Runs a BeanShell script. Errors are passed to the caller.<p>
  413. If the <code>in</code> parameter is non-null, the script is
  414. read from that stream; otherwise it is read from the file identified
  415. by <code>path</code>.<p>
  416. The <code>scriptPath</code> BeanShell variable is set to the path
  417. name of the script.
  418. <P>
  419. <DD><DL>
  420. <DT><B>Parameters:</B><DD><CODE>view</CODE> - The view. Within the script, references to
  421. <code>buffer</code>, <code>textArea</code> and <code>editPane</code>
  422. are determined with reference to this parameter.<DD><CODE>path</CODE> - The script file's VFS path.<DD><CODE>in</CODE> - The reader to read the script from, or <code>null</code>.<DD><CODE>ownNamespace</CODE> - If set to <code>false</code>, methods and
  423. variables defined in the script will be available to all future
  424. uses of BeanShell; if set to <code>true</code>, they will be lost as
  425. soon as the script finishes executing. jEdit uses a value of
  426. <code>false</code> when running startup scripts, and a value of
  427. <code>true</code> when running all other macros.
  428. <DT><B>Throws:</B>
  429. <DD><CODE>java.lang.Exception</CODE> - instances are thrown when various BeanShell errors
  430. occur<DT><B>Since:</B></DT>
  431. <DD>jEdit 4.0pre7</DD>
  432. </DL>
  433. </DD>
  434. </DL>
  435. <HR>
  436. <A NAME="_runScript(org.gjt.sp.jedit.View, java.lang.String, java.io.Reader, org.gjt.sp.jedit.bsh.NameSpace)"><!-- --></A><H3>
  437. _runScript</H3>
  438. <PRE>
  439. public static void <B>_runScript</B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  440. java.lang.String&nbsp;path,
  441. java.io.Reader&nbsp;in,
  442. <A HREF="../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;namespace)
  443. throws java.lang.Exception</PRE>
  444. <DL>
  445. <DD>Runs a BeanShell script. Errors are passed to the caller.<p>
  446. If the <code>in</code> parameter is non-null, the script is
  447. read from that stream; otherwise it is read from the file identified
  448. by <code>path</code>.<p>
  449. The <code>scriptPath</code> BeanShell variable is set to the path
  450. name of the script.
  451. <P>
  452. <DD><DL>
  453. <DT><B>Parameters:</B><DD><CODE>view</CODE> - The view. Within the script, references to
  454. <code>buffer</code>, <code>textArea</code> and <code>editPane</code>
  455. are determined with reference to this parameter.<DD><CODE>path</CODE> - The script file's VFS path.<DD><CODE>in</CODE> - The reader to read the script from, or <code>null</code>.<DD><CODE>namespace</CODE> - The namespace to run the script in.
  456. <DT><B>Throws:</B>
  457. <DD><CODE>java.lang.Exception</CODE> - instances are thrown when various BeanShell errors
  458. occur<DT><B>Since:</B></DT>
  459. <DD>jEdit 4.2pre5</DD>
  460. </DL>
  461. </DD>
  462. </DL>
  463. <HR>
  464. <A NAME="eval(org.gjt.sp.jedit.View, org.gjt.sp.jedit.bsh.NameSpace, java.lang.String)"><!-- --></A><H3>
  465. eval</H3>
  466. <PRE>
  467. public static java.lang.Object <B>eval</B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  468. <A HREF="../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;namespace,
  469. java.lang.String&nbsp;command)</PRE>
  470. <DL>
  471. <DD>Evaluates the specified BeanShell expression. Errors are reported in
  472. a dialog box.
  473. <P>
  474. <DD><DL>
  475. <DT><B>Parameters:</B><DD><CODE>view</CODE> - The view. Within the script, references to
  476. <code>buffer</code>, <code>textArea</code> and <code>editPane</code>
  477. are determined with reference to this parameter.<DD><CODE>namespace</CODE> - The namespace<DD><CODE>command</CODE> - The expression<DT><B>Since:</B></DT>
  478. <DD>jEdit 4.0pre8</DD>
  479. </DL>
  480. </DD>
  481. </DL>
  482. <HR>
  483. <A NAME="_eval(org.gjt.sp.jedit.View, org.gjt.sp.jedit.bsh.NameSpace, java.lang.String)"><!-- --></A><H3>
  484. _eval</H3>
  485. <PRE>
  486. public static java.lang.Object <B>_eval</B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  487. <A HREF="../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;namespace,
  488. java.lang.String&nbsp;command)
  489. throws java.lang.Exception</PRE>
  490. <DL>
  491. <DD>Evaluates the specified BeanShell expression. Unlike
  492. <code>eval()</code>, this method passes any exceptions to the caller.
  493. <P>
  494. <DD><DL>
  495. <DT><B>Parameters:</B><DD><CODE>view</CODE> - The view. Within the script, references to
  496. <code>buffer</code>, <code>textArea</code> and <code>editPane</code>
  497. are determined with reference to this parameter.<DD><CODE>namespace</CODE> - The namespace<DD><CODE>command</CODE> - The expression
  498. <DT><B>Throws:</B>
  499. <DD><CODE>java.lang.Exception</CODE> - instances are thrown when various BeanShell
  500. errors occur<DT><B>Since:</B></DT>
  501. <DD>jEdit 3.2pre7</DD>
  502. </DL>
  503. </DD>
  504. </DL>
  505. <HR>
  506. <A NAME="cacheBlock(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
  507. cacheBlock</H3>
  508. <PRE>
  509. public static <A HREF="../../../../org/gjt/sp/jedit/bsh/BshMethod.html" title="class in org.gjt.sp.jedit.bsh">BshMethod</A> <B>cacheBlock</B>(java.lang.String&nbsp;id,
  510. java.lang.String&nbsp;code,
  511. boolean&nbsp;namespace)
  512. throws java.lang.Exception</PRE>
  513. <DL>
  514. <DD>Caches a block of code, returning a handle that can be passed to
  515. runCachedBlock().
  516. <P>
  517. <DD><DL>
  518. <DT><B>Parameters:</B><DD><CODE>id</CODE> - An identifier. If null, a unique identifier is generated<DD><CODE>code</CODE> - The code<DD><CODE>namespace</CODE> - If true, the namespace will be set
  519. <DT><B>Throws:</B>
  520. <DD><CODE>java.lang.Exception</CODE> - instances are thrown when various BeanShell errors
  521. occur<DT><B>Since:</B></DT>
  522. <DD>jEdit 4.1pre1</DD>
  523. </DL>
  524. </DD>
  525. </DL>
  526. <HR>
  527. <A NAME="runCachedBlock(org.gjt.sp.jedit.bsh.BshMethod, org.gjt.sp.jedit.View, org.gjt.sp.jedit.bsh.NameSpace)"><!-- --></A><H3>
  528. runCachedBlock</H3>
  529. <PRE>
  530. public static java.lang.Object <B>runCachedBlock</B>(<A HREF="../../../../org/gjt/sp/jedit/bsh/BshMethod.html" title="class in org.gjt.sp.jedit.bsh">BshMethod</A>&nbsp;method,
  531. <A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  532. <A HREF="../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;namespace)
  533. throws java.lang.Exception</PRE>
  534. <DL>
  535. <DD>Runs a cached block of code in the specified namespace. Faster than
  536. evaluating the block each time.
  537. <P>
  538. <DD><DL>
  539. <DT><B>Parameters:</B><DD><CODE>method</CODE> - The method instance returned by cacheBlock()<DD><CODE>view</CODE> - The view<DD><CODE>namespace</CODE> - The namespace to run the code in
  540. <DT><B>Throws:</B>
  541. <DD><CODE>java.lang.Exception</CODE> - instances are thrown when various BeanShell
  542. errors occur<DT><B>Since:</B></DT>
  543. <DD>jEdit 4.1pre1</DD>
  544. </DL>
  545. </DD>
  546. </DL>
  547. <HR>
  548. <A NAME="isScriptRunning()"><!-- --></A><H3>
  549. isScriptRunning</H3>
  550. <PRE>
  551. public static boolean <B>isScriptRunning</B>()</PRE>
  552. <DL>
  553. <DD>Returns if a BeanShell script or macro is currently running.
  554. <P>
  555. <DD><DL>
  556. <DT><B>Since:</B></DT>
  557. <DD>jEdit 2.7pre2</DD>
  558. </DL>
  559. </DD>
  560. </DL>
  561. <HR>
  562. <A NAME="getNameSpace()"><!-- --></A><H3>
  563. getNameSpace</H3>
  564. <PRE>
  565. public static <A HREF="../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A> <B>getNameSpace</B>()</PRE>
  566. <DL>
  567. <DD>Returns the global namespace.
  568. <P>
  569. <DD><DL>
  570. <DT><B>Since:</B></DT>
  571. <DD>jEdit 3.2pre5</DD>
  572. </DL>
  573. </DD>
  574. </DL>
  575. <HR>
  576. <A NAME="runScript(org.gjt.sp.jedit.View, java.lang.String, boolean, boolean)"><!-- --></A><H3>
  577. runScript</H3>
  578. <PRE>
  579. public static void <B>runScript</B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  580. java.lang.String&nbsp;path,
  581. boolean&nbsp;ownNamespace,
  582. boolean&nbsp;rethrowBshErrors)</PRE>
  583. <DL>
  584. <DD><B>Deprecated.</B>&nbsp;<I>The <code>rethrowBshErrors</code> parameter is now
  585. obsolete; call <code>_runScript()</code> or <code>runScript()</code>
  586. instead.</I>
  587. <P>
  588. <DD><DL>
  589. </DL>
  590. </DD>
  591. </DL>
  592. <HR>
  593. <A NAME="runScript(org.gjt.sp.jedit.View, java.lang.String, java.io.Reader, boolean, boolean)"><!-- --></A><H3>
  594. runScript</H3>
  595. <PRE>
  596. public static void <B>runScript</B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  597. java.lang.String&nbsp;path,
  598. java.io.Reader&nbsp;in,
  599. boolean&nbsp;ownNamespace,
  600. boolean&nbsp;rethrowBshErrors)</PRE>
  601. <DL>
  602. <DD><B>Deprecated.</B>&nbsp;<I>The <code>rethrowBshErrors</code> parameter is now
  603. obsolete; call <code>_runScript()</code> or <code>runScript()</code>
  604. instead.</I>
  605. <P>
  606. <DD><DL>
  607. </DL>
  608. </DD>
  609. </DL>
  610. <HR>
  611. <A NAME="eval(org.gjt.sp.jedit.View, java.lang.String, boolean)"><!-- --></A><H3>
  612. eval</H3>
  613. <PRE>
  614. public static java.lang.Object <B>eval</B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  615. java.lang.String&nbsp;command,
  616. boolean&nbsp;rethrowBshErrors)</PRE>
  617. <DL>
  618. <DD><B>Deprecated.</B>&nbsp;<I>The <code>rethrowBshErrors</code> parameter is now
  619. obsolete; call <code>_eval()</code> or <code>eval()</code> instead.</I>
  620. <P>
  621. <DD><DL>
  622. </DL>
  623. </DD>
  624. </DL>
  625. <HR>
  626. <A NAME="eval(org.gjt.sp.jedit.View, org.gjt.sp.jedit.bsh.NameSpace, java.lang.String, boolean)"><!-- --></A><H3>
  627. eval</H3>
  628. <PRE>
  629. public static java.lang.Object <B>eval</B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  630. <A HREF="../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;namespace,
  631. java.lang.String&nbsp;command,
  632. boolean&nbsp;rethrowBshErrors)</PRE>
  633. <DL>
  634. <DD><B>Deprecated.</B>&nbsp;<I>The <code>rethrowBshErrors</code> parameter is now
  635. obsolete; call <code>_eval()</code> or <code>eval()</code> instead.</I>
  636. <P>
  637. <DD><DL>
  638. </DL>
  639. </DD>
  640. </DL>
  641. <!-- ========= END OF CLASS DATA ========= -->
  642. <HR>
  643. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  644. <A NAME="navbar_bottom"><!-- --></A>
  645. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  646. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  647. <TR>
  648. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  649. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  650. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  651. <TR ALIGN="center" VALIGN="top">
  652. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  653. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  654. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  655. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BeanShell.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  656. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  657. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  658. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  659. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  660. </TR>
  661. </TABLE>
  662. </TD>
  663. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  664. </EM>
  665. </TD>
  666. </TR>
  667. <TR>
  668. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  669. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/ActionSet.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>&nbsp;
  670. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/BeanShellAction.html" title="class in org.gjt.sp.jedit"><B>NEXT CLASS</B></A></FONT></TD>
  671. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  672. <A HREF="../../../../index.html?org/gjt/sp/jedit/BeanShell.html" target="_top"><B>FRAMES</B></A> &nbsp;
  673. &nbsp;<A HREF="BeanShell.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  674. &nbsp;
  675. <NOSCRIPT>
  676. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  677. </NOSCRIPT>
  678. </FONT></TD>
  679. </TR>
  680. <TR>
  681. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  682. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  683. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  684. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  685. </TR>
  686. </TABLE>
  687. <A NAME="skip-navbar_bottom"></A>
  688. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  689. <HR>
  690. </BODY>
  691. </HTML>