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

# · HTML · 301 lines · 254 code · 35 blank · 12 comment · 0 complexity · 3f4ef4c7a62558c32e99114e4487c3b2 MD5 · raw file

  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. PositionChanging (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.msg.PositionChanging 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/PositionChanging.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/msg/PluginUpdate.html" title="class in org.gjt.sp.jedit.msg"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/msg/PropertiesChanged.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/PositionChanging.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="PositionChanging.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="#methods_inherited_from_class_org.gjt.sp.jedit.msg.EditPaneUpdate">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;METHOD</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 PositionChanging</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 "><B>org.gjt.sp.jedit.msg.PositionChanging</B>
  73. </PRE>
  74. <DL>
  75. <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/msg/BufferChanging.html" title="class in org.gjt.sp.jedit.msg">BufferChanging</A></DD>
  76. </DL>
  77. <HR>
  78. <DL>
  79. <DT><PRE>public class <B>PositionChanging</B><DT>extends <A HREF="../../../../../org/gjt/sp/jedit/msg/EditPaneUpdate.html" title="class in org.gjt.sp.jedit.msg">EditPaneUpdate</A></DL>
  80. </PRE>
  81. <P>
  82. An EBMessage associated with an EditPane that is sent just before its caret
  83. position changes in a "major way" to another location in the same Buffer.
  84. These messages are tracked by the Navigator plugin,
  85. and other interested plugins.
  86. jEdit plugins such as SideKick, Tags, Jump, CscopeFinder, etc, should
  87. emit this message whenever the user wants to jump from one position
  88. to another in the same buffer.
  89. For jumps to a different buffer entirely, it is not necessary for plugins
  90. to send any message, since BufferChanging is sent by jEdit whenever
  91. EditPane.setBuffer() is called, and it serves as a PositionChanging message
  92. also.
  93. <P>
  94. <P>
  95. <DL>
  96. <DT><B>Since:</B></DT>
  97. <DD>jEdit 4.3pre15</DD>
  98. <DT><B>See Also:</B><DD><A HREF="../../../../../org/gjt/sp/jedit/msg/BufferChanging.html" title="class in org.gjt.sp.jedit.msg"><CODE>BufferChanging</CODE></A></DL>
  99. <HR>
  100. <P>
  101. <!-- =========== FIELD SUMMARY =========== -->
  102. <A NAME="field_summary"><!-- --></A>
  103. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  104. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  105. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  106. <B>Field Summary</B></FONT></TH>
  107. </TR>
  108. </TABLE>
  109. &nbsp;<A NAME="fields_inherited_from_class_org.gjt.sp.jedit.msg.EditPaneUpdate"><!-- --></A>
  110. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  111. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  112. <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>
  113. </TR>
  114. <TR BGCOLOR="white" CLASS="TableRowColor">
  115. <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>
  116. </TR>
  117. </TABLE>
  118. &nbsp;
  119. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  120. <A NAME="constructor_summary"><!-- --></A>
  121. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  122. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  123. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  124. <B>Constructor Summary</B></FONT></TH>
  125. </TR>
  126. <TR BGCOLOR="white" CLASS="TableRowColor">
  127. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  128. <CODE>&nbsp;</CODE></FONT></TD>
  129. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/msg/PositionChanging.html#PositionChanging(org.gjt.sp.jedit.EditPane)">PositionChanging</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit">EditPane</A>&nbsp;editPane)</CODE>
  130. <BR>
  131. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  132. </TR>
  133. <TR BGCOLOR="white" CLASS="TableRowColor">
  134. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  135. <CODE>protected </CODE></FONT></TD>
  136. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/msg/PositionChanging.html#PositionChanging(org.gjt.sp.jedit.EditPane, java.lang.Object)">PositionChanging</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit">EditPane</A>&nbsp;editPane,
  137. java.lang.Object&nbsp;whatt)</CODE>
  138. <BR>
  139. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  140. </TR>
  141. <TR BGCOLOR="white" CLASS="TableRowColor">
  142. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  143. <CODE>&nbsp;</CODE></FONT></TD>
  144. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/msg/PositionChanging.html#PositionChanging(org.gjt.sp.jedit.textarea.TextArea)">PositionChanging</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/textarea/TextArea.html" title="class in org.gjt.sp.jedit.textarea">TextArea</A>&nbsp;textArea)</CODE>
  145. <BR>
  146. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  147. </TR>
  148. </TABLE>
  149. &nbsp;
  150. <!-- ========== METHOD SUMMARY =========== -->
  151. <A NAME="method_summary"><!-- --></A>
  152. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  153. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  154. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  155. <B>Method Summary</B></FONT></TH>
  156. </TR>
  157. </TABLE>
  158. &nbsp;<A NAME="methods_inherited_from_class_org.gjt.sp.jedit.msg.EditPaneUpdate"><!-- --></A>
  159. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  160. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  161. <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>
  162. </TR>
  163. <TR BGCOLOR="white" CLASS="TableRowColor">
  164. <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>
  165. </TR>
  166. </TABLE>
  167. &nbsp;<A NAME="methods_inherited_from_class_org.gjt.sp.jedit.EBMessage"><!-- --></A>
  168. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  169. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  170. <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>
  171. </TR>
  172. <TR BGCOLOR="white" CLASS="TableRowColor">
  173. <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>
  174. </TR>
  175. </TABLE>
  176. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  177. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  178. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  179. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  180. </TR>
  181. <TR BGCOLOR="white" CLASS="TableRowColor">
  182. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
  183. </TR>
  184. </TABLE>
  185. &nbsp;
  186. <P>
  187. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  188. <A NAME="constructor_detail"><!-- --></A>
  189. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  190. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  191. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  192. <B>Constructor Detail</B></FONT></TH>
  193. </TR>
  194. </TABLE>
  195. <A NAME="PositionChanging(org.gjt.sp.jedit.EditPane, java.lang.Object)"><!-- --></A><H3>
  196. PositionChanging</H3>
  197. <PRE>
  198. protected <B>PositionChanging</B>(<A HREF="../../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit">EditPane</A>&nbsp;editPane,
  199. java.lang.Object&nbsp;whatt)</PRE>
  200. <DL>
  201. </DL>
  202. <HR>
  203. <A NAME="PositionChanging(org.gjt.sp.jedit.textarea.TextArea)"><!-- --></A><H3>
  204. PositionChanging</H3>
  205. <PRE>
  206. public <B>PositionChanging</B>(<A HREF="../../../../../org/gjt/sp/jedit/textarea/TextArea.html" title="class in org.gjt.sp.jedit.textarea">TextArea</A>&nbsp;textArea)</PRE>
  207. <DL>
  208. </DL>
  209. <HR>
  210. <A NAME="PositionChanging(org.gjt.sp.jedit.EditPane)"><!-- --></A><H3>
  211. PositionChanging</H3>
  212. <PRE>
  213. public <B>PositionChanging</B>(<A HREF="../../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit">EditPane</A>&nbsp;editPane)</PRE>
  214. <DL>
  215. </DL>
  216. <!-- ========= END OF CLASS DATA ========= -->
  217. <HR>
  218. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  219. <A NAME="navbar_bottom"><!-- --></A>
  220. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  221. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  222. <TR>
  223. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  224. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  225. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  226. <TR ALIGN="center" VALIGN="top">
  227. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  228. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  229. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  230. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PositionChanging.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  231. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  232. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  233. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  234. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  235. </TR>
  236. </TABLE>
  237. </TD>
  238. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  239. </EM>
  240. </TD>
  241. </TR>
  242. <TR>
  243. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  244. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/msg/PluginUpdate.html" title="class in org.gjt.sp.jedit.msg"><B>PREV CLASS</B></A>&nbsp;
  245. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/msg/PropertiesChanged.html" title="class in org.gjt.sp.jedit.msg"><B>NEXT CLASS</B></A></FONT></TD>
  246. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  247. <A HREF="../../../../../index.html?org/gjt/sp/jedit/msg/PositionChanging.html" target="_top"><B>FRAMES</B></A> &nbsp;
  248. &nbsp;<A HREF="PositionChanging.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  249. &nbsp;
  250. <NOSCRIPT>
  251. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  252. </NOSCRIPT>
  253. </FONT></TD>
  254. </TR>
  255. <TR>
  256. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  257. 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="#methods_inherited_from_class_org.gjt.sp.jedit.msg.EditPaneUpdate">METHOD</A></FONT></TD>
  258. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  259. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
  260. </TR>
  261. </TABLE>
  262. <A NAME="skip-navbar_bottom"></A>
  263. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  264. <HR>
  265. </BODY>
  266. </HTML>