PageRenderTime 44ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
HTML | 283 lines | 234 code | 37 blank | 12 comment | 0 complexity | 330530812332221ed0f06db27d85b2f2 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:50 GMT-08:00 2008 -->
  6. <TITLE>
  7. PositionManager (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.buffer.PositionManager 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/PositionManager.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/buffer/LineManager.html" title="class in org.gjt.sp.jedit.buffer"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/buffer/UndoManager.html" title="class in org.gjt.sp.jedit.buffer"><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/buffer/PositionManager.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="PositionManager.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.buffer</FONT>
  66. <BR>
  67. Class PositionManager</H2>
  68. <PRE>
  69. java.lang.Object
  70. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.buffer.PositionManager</B>
  71. </PRE>
  72. <HR>
  73. <DL>
  74. <DT><PRE>public class <B>PositionManager</B><DT>extends java.lang.Object</DL>
  75. </PRE>
  76. <P>
  77. A class internal to jEdit's document model. You should not use it
  78. directly.
  79. <P>
  80. <P>
  81. <DL>
  82. <DT><B>Since:</B></DT>
  83. <DD>jEdit 4.2pre3</DD>
  84. </DL>
  85. <HR>
  86. <P>
  87. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  88. <A NAME="constructor_summary"><!-- --></A>
  89. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  90. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  91. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  92. <B>Constructor Summary</B></FONT></TH>
  93. </TR>
  94. <TR BGCOLOR="white" CLASS="TableRowColor">
  95. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/PositionManager.html#PositionManager(org.gjt.sp.jedit.buffer.JEditBuffer)">PositionManager</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html" title="class in org.gjt.sp.jedit.buffer">JEditBuffer</A>&nbsp;buffer)</CODE>
  96. <BR>
  97. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  98. </TR>
  99. </TABLE>
  100. &nbsp;
  101. <!-- ========== METHOD SUMMARY =========== -->
  102. <A NAME="method_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>Method Summary</B></FONT></TH>
  107. </TR>
  108. <TR BGCOLOR="white" CLASS="TableRowColor">
  109. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  110. <CODE>&nbsp;void</CODE></FONT></TD>
  111. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/PositionManager.html#contentInserted(int, int)">contentInserted</A></B>(int&nbsp;offset,
  112. int&nbsp;length)</CODE>
  113. <BR>
  114. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  115. </TR>
  116. <TR BGCOLOR="white" CLASS="TableRowColor">
  117. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  118. <CODE>&nbsp;void</CODE></FONT></TD>
  119. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/PositionManager.html#contentRemoved(int, int)">contentRemoved</A></B>(int&nbsp;offset,
  120. int&nbsp;length)</CODE>
  121. <BR>
  122. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  123. </TR>
  124. <TR BGCOLOR="white" CLASS="TableRowColor">
  125. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  126. <CODE>&nbsp;javax.swing.text.Position</CODE></FONT></TD>
  127. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/PositionManager.html#createPosition(int)">createPosition</A></B>(int&nbsp;offset)</CODE>
  128. <BR>
  129. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  130. </TR>
  131. </TABLE>
  132. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  133. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  134. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  135. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  136. </TR>
  137. <TR BGCOLOR="white" CLASS="TableRowColor">
  138. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  139. </TR>
  140. </TABLE>
  141. &nbsp;
  142. <P>
  143. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  144. <A NAME="constructor_detail"><!-- --></A>
  145. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  146. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  147. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  148. <B>Constructor Detail</B></FONT></TH>
  149. </TR>
  150. </TABLE>
  151. <A NAME="PositionManager(org.gjt.sp.jedit.buffer.JEditBuffer)"><!-- --></A><H3>
  152. PositionManager</H3>
  153. <PRE>
  154. public <B>PositionManager</B>(<A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html" title="class in org.gjt.sp.jedit.buffer">JEditBuffer</A>&nbsp;buffer)</PRE>
  155. <DL>
  156. </DL>
  157. <!-- ============ METHOD DETAIL ========== -->
  158. <A NAME="method_detail"><!-- --></A>
  159. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  160. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  161. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  162. <B>Method Detail</B></FONT></TH>
  163. </TR>
  164. </TABLE>
  165. <A NAME="createPosition(int)"><!-- --></A><H3>
  166. createPosition</H3>
  167. <PRE>
  168. public javax.swing.text.Position <B>createPosition</B>(int&nbsp;offset)</PRE>
  169. <DL>
  170. <DD><DL>
  171. </DL>
  172. </DD>
  173. </DL>
  174. <HR>
  175. <A NAME="contentInserted(int, int)"><!-- --></A><H3>
  176. contentInserted</H3>
  177. <PRE>
  178. public void <B>contentInserted</B>(int&nbsp;offset,
  179. int&nbsp;length)</PRE>
  180. <DL>
  181. <DD><DL>
  182. </DL>
  183. </DD>
  184. </DL>
  185. <HR>
  186. <A NAME="contentRemoved(int, int)"><!-- --></A><H3>
  187. contentRemoved</H3>
  188. <PRE>
  189. public void <B>contentRemoved</B>(int&nbsp;offset,
  190. int&nbsp;length)</PRE>
  191. <DL>
  192. <DD><DL>
  193. </DL>
  194. </DD>
  195. </DL>
  196. <!-- ========= END OF CLASS DATA ========= -->
  197. <HR>
  198. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  199. <A NAME="navbar_bottom"><!-- --></A>
  200. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  201. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  202. <TR>
  203. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  204. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  205. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  206. <TR ALIGN="center" VALIGN="top">
  207. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  208. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  209. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  210. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PositionManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  211. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  212. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  213. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  214. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  215. </TR>
  216. </TABLE>
  217. </TD>
  218. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  219. </EM>
  220. </TD>
  221. </TR>
  222. <TR>
  223. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  224. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/buffer/LineManager.html" title="class in org.gjt.sp.jedit.buffer"><B>PREV CLASS</B></A>&nbsp;
  225. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/buffer/UndoManager.html" title="class in org.gjt.sp.jedit.buffer"><B>NEXT CLASS</B></A></FONT></TD>
  226. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  227. <A HREF="../../../../../index.html?org/gjt/sp/jedit/buffer/PositionManager.html" target="_top"><B>FRAMES</B></A> &nbsp;
  228. &nbsp;<A HREF="PositionManager.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  229. &nbsp;
  230. <NOSCRIPT>
  231. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  232. </NOSCRIPT>
  233. </FONT></TD>
  234. </TR>
  235. <TR>
  236. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  237. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  238. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  239. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  240. </TR>
  241. </TABLE>
  242. <A NAME="skip-navbar_bottom"></A>
  243. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  244. <HR>
  245. </BODY>
  246. </HTML>