PageRenderTime 48ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
HTML | 288 lines | 239 code | 36 blank | 13 comment | 0 complexity | c20d3a965d5d0ce03b707452d453bc5d 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:14:03 GMT-08:00 2008 -->
  6. <TITLE>
  7. BufferChanging (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.msg.BufferChanging 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/BufferChanging.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;PREV CLASS&nbsp;
  42. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/msg/BufferUpdate.html" title="class in org.gjt.sp.jedit.msg"><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/msg/BufferChanging.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="BufferChanging.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;<A HREF="#fields_inherited_from_class_org.gjt.sp.jedit.msg.EditPaneUpdate">FIELD</A>&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.msg</FONT>
  66. <BR>
  67. Class BufferChanging</H2>
  68. <PRE>
  69. java.lang.Object
  70. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/gjt/sp/jedit/EBMessage.html" title="class in org.gjt.sp.jedit">org.gjt.sp.jedit.EBMessage</A>
  71. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/gjt/sp/jedit/msg/EditPaneUpdate.html" title="class in org.gjt.sp.jedit.msg">org.gjt.sp.jedit.msg.EditPaneUpdate</A>
  72. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/gjt/sp/jedit/msg/PositionChanging.html" title="class in org.gjt.sp.jedit.msg">org.gjt.sp.jedit.msg.PositionChanging</A>
  73. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.msg.BufferChanging</B>
  74. </PRE>
  75. <HR>
  76. <DL>
  77. <DT><PRE>public class <B>BufferChanging</B><DT>extends <A HREF="../../../../../org/gjt/sp/jedit/msg/PositionChanging.html" title="class in org.gjt.sp.jedit.msg">PositionChanging</A></DL>
  78. </PRE>
  79. <P>
  80. An EBMessage sent by the EditPane just before the buffer changes.
  81. jEdit core emits this whenever the EditPane's buffer changes.
  82. Known plugins to be using this: BufferLocal, Navigator.
  83. <P>
  84. <P>
  85. <DL>
  86. <DT><B>Since:</B></DT>
  87. <DD>jEdit 4.3pre4</DD>
  88. </DL>
  89. <HR>
  90. <P>
  91. <!-- =========== FIELD SUMMARY =========== -->
  92. <A NAME="field_summary"><!-- --></A>
  93. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  94. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  95. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  96. <B>Field Summary</B></FONT></TH>
  97. </TR>
  98. </TABLE>
  99. &nbsp;<A NAME="fields_inherited_from_class_org.gjt.sp.jedit.msg.EditPaneUpdate"><!-- --></A>
  100. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  101. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  102. <TH ALIGN="left"><B>Fields inherited from class org.gjt.sp.jedit.msg.<A HREF="../../../../../org/gjt/sp/jedit/msg/EditPaneUpdate.html" title="class in org.gjt.sp.jedit.msg">EditPaneUpdate</A></B></TH>
  103. </TR>
  104. <TR BGCOLOR="white" CLASS="TableRowColor">
  105. <TD><CODE><A HREF="../../../../../org/gjt/sp/jedit/msg/EditPaneUpdate.html#BUFFER_CHANGED">BUFFER_CHANGED</A>, <A HREF="../../../../../org/gjt/sp/jedit/msg/EditPaneUpdate.html#BUFFER_CHANGING">BUFFER_CHANGING</A>, <A HREF="../../../../../org/gjt/sp/jedit/msg/EditPaneUpdate.html#BUFFERSET_CHANGED">BUFFERSET_CHANGED</A>, <A HREF="../../../../../org/gjt/sp/jedit/msg/EditPaneUpdate.html#CREATED">CREATED</A>, <A HREF="../../../../../org/gjt/sp/jedit/msg/EditPaneUpdate.html#DESTROYED">DESTROYED</A>, <A HREF="../../../../../org/gjt/sp/jedit/msg/EditPaneUpdate.html#POSITION_CHANGING">POSITION_CHANGING</A></CODE></TD>
  106. </TR>
  107. </TABLE>
  108. &nbsp;
  109. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  110. <A NAME="constructor_summary"><!-- --></A>
  111. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  112. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  113. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  114. <B>Constructor Summary</B></FONT></TH>
  115. </TR>
  116. <TR BGCOLOR="white" CLASS="TableRowColor">
  117. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/msg/BufferChanging.html#BufferChanging(org.gjt.sp.jedit.EditPane, org.gjt.sp.jedit.Buffer)">BufferChanging</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit">EditPane</A>&nbsp;editPane,
  118. <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;newBuffer)</CODE>
  119. <BR>
  120. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  121. </TR>
  122. </TABLE>
  123. &nbsp;
  124. <!-- ========== METHOD SUMMARY =========== -->
  125. <A NAME="method_summary"><!-- --></A>
  126. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  127. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  128. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  129. <B>Method Summary</B></FONT></TH>
  130. </TR>
  131. <TR BGCOLOR="white" CLASS="TableRowColor">
  132. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  133. <CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A></CODE></FONT></TD>
  134. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/msg/BufferChanging.html#getBuffer()">getBuffer</A></B>()</CODE>
  135. <BR>
  136. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  137. </TR>
  138. </TABLE>
  139. &nbsp;<A NAME="methods_inherited_from_class_org.gjt.sp.jedit.msg.EditPaneUpdate"><!-- --></A>
  140. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  141. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  142. <TH ALIGN="left"><B>Methods inherited from class org.gjt.sp.jedit.msg.<A HREF="../../../../../org/gjt/sp/jedit/msg/EditPaneUpdate.html" title="class in org.gjt.sp.jedit.msg">EditPaneUpdate</A></B></TH>
  143. </TR>
  144. <TR BGCOLOR="white" CLASS="TableRowColor">
  145. <TD><CODE><A HREF="../../../../../org/gjt/sp/jedit/msg/EditPaneUpdate.html#getEditPane()">getEditPane</A>, <A HREF="../../../../../org/gjt/sp/jedit/msg/EditPaneUpdate.html#getWhat()">getWhat</A>, <A HREF="../../../../../org/gjt/sp/jedit/msg/EditPaneUpdate.html#paramString()">paramString</A></CODE></TD>
  146. </TR>
  147. </TABLE>
  148. &nbsp;<A NAME="methods_inherited_from_class_org.gjt.sp.jedit.EBMessage"><!-- --></A>
  149. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  150. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  151. <TH ALIGN="left"><B>Methods inherited from class org.gjt.sp.jedit.<A HREF="../../../../../org/gjt/sp/jedit/EBMessage.html" title="class in org.gjt.sp.jedit">EBMessage</A></B></TH>
  152. </TR>
  153. <TR BGCOLOR="white" CLASS="TableRowColor">
  154. <TD><CODE><A HREF="../../../../../org/gjt/sp/jedit/EBMessage.html#getSource()">getSource</A>, <A HREF="../../../../../org/gjt/sp/jedit/EBMessage.html#toString()">toString</A></CODE></TD>
  155. </TR>
  156. </TABLE>
  157. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  158. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  159. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  160. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  161. </TR>
  162. <TR BGCOLOR="white" CLASS="TableRowColor">
  163. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
  164. </TR>
  165. </TABLE>
  166. &nbsp;
  167. <P>
  168. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  169. <A NAME="constructor_detail"><!-- --></A>
  170. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  171. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  172. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  173. <B>Constructor Detail</B></FONT></TH>
  174. </TR>
  175. </TABLE>
  176. <A NAME="BufferChanging(org.gjt.sp.jedit.EditPane, org.gjt.sp.jedit.Buffer)"><!-- --></A><H3>
  177. BufferChanging</H3>
  178. <PRE>
  179. public <B>BufferChanging</B>(<A HREF="../../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit">EditPane</A>&nbsp;editPane,
  180. <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;newBuffer)</PRE>
  181. <DL>
  182. <DL>
  183. <DT><B>Parameters:</B><DD><CODE>editPane</CODE> - the editPane that sent the message<DD><CODE>newBuffer</CODE> - the buffer that will soon be displayed.</DL>
  184. </DL>
  185. <!-- ============ METHOD DETAIL ========== -->
  186. <A NAME="method_detail"><!-- --></A>
  187. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  188. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  189. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  190. <B>Method Detail</B></FONT></TH>
  191. </TR>
  192. </TABLE>
  193. <A NAME="getBuffer()"><!-- --></A><H3>
  194. getBuffer</H3>
  195. <PRE>
  196. public <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A> <B>getBuffer</B>()</PRE>
  197. <DL>
  198. <DD><DL>
  199. <DT><B>Returns:</B><DD>the new buffer that is about to be displayed</DL>
  200. </DD>
  201. </DL>
  202. <!-- ========= END OF CLASS DATA ========= -->
  203. <HR>
  204. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  205. <A NAME="navbar_bottom"><!-- --></A>
  206. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  207. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  208. <TR>
  209. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  210. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  211. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  212. <TR ALIGN="center" VALIGN="top">
  213. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  214. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  215. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  216. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BufferChanging.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  217. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  218. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  219. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  220. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  221. </TR>
  222. </TABLE>
  223. </TD>
  224. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  225. </EM>
  226. </TD>
  227. </TR>
  228. <TR>
  229. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  230. &nbsp;PREV CLASS&nbsp;
  231. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/msg/BufferUpdate.html" title="class in org.gjt.sp.jedit.msg"><B>NEXT CLASS</B></A></FONT></TD>
  232. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  233. <A HREF="../../../../../index.html?org/gjt/sp/jedit/msg/BufferChanging.html" target="_top"><B>FRAMES</B></A> &nbsp;
  234. &nbsp;<A HREF="BufferChanging.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  235. &nbsp;
  236. <NOSCRIPT>
  237. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  238. </NOSCRIPT>
  239. </FONT></TD>
  240. </TR>
  241. <TR>
  242. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  243. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.gjt.sp.jedit.msg.EditPaneUpdate">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  244. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  245. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  246. </TR>
  247. </TABLE>
  248. <A NAME="skip-navbar_bottom"></A>
  249. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  250. <HR>
  251. </BODY>
  252. </HTML>