PageRenderTime 39ms CodeModel.GetById 3ms app.highlight 28ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
HTML | 523 lines | 455 code | 55 blank | 13 comment | 0 complexity | b291b79d81a0b03a51d79aeef10bff95 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:14 GMT-08:00 2008 -->
  6<TITLE>
  7Selection (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.textarea.Selection class">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
 13
 14
 15<NOSCRIPT>
 16</NOSCRIPT>
 17
 18</HEAD>
 19
 20<BODY BGCOLOR="white" >
 21
 22
 23<!-- ========= START OF TOP NAVBAR ======= -->
 24<A NAME="navbar_top"><!-- --></A>
 25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 27<TR>
 28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 29<A NAME="navbar_top_firstrow"><!-- --></A>
 30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 31  <TR ALIGN="center" VALIGN="top">
 32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 34  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 35  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Selection.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 36  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 39  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 40  </TR>
 41</TABLE>
 42</TD>
 43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 44</EM>
 45</TD>
 46</TR>
 47
 48<TR>
 49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 50&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/textarea/ScrollListener.html" title="interface in org.gjt.sp.jedit.textarea"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.Range.html" title="class in org.gjt.sp.jedit.textarea"><B>NEXT CLASS</B></A></FONT></TD>
 52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 53  <A HREF="../../../../../index.html?org/gjt/sp/jedit/textarea/Selection.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="Selection.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 55&nbsp;
 56<NOSCRIPT>
 57  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 58</NOSCRIPT>
 59
 60
 61</FONT></TD>
 62</TR>
 63<TR>
 64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 65  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 67DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 68</TR>
 69</TABLE>
 70<A NAME="skip-navbar_top"></A>
 71<!-- ========= END OF TOP NAVBAR ========= -->
 72
 73<HR>
 74<!-- ======== START OF CLASS DATA ======== -->
 75<H2>
 76<FONT SIZE="-1">
 77org.gjt.sp.jedit.textarea</FONT>
 78<BR>
 79Class Selection</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.textarea.Selection</B>
 83</PRE>
 84<DL>
 85<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable</DD>
 86</DL>
 87<DL>
 88<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.Range.html" title="class in org.gjt.sp.jedit.textarea">Selection.Range</A>, <A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.Rect.html" title="class in org.gjt.sp.jedit.textarea">Selection.Rect</A></DD>
 89</DL>
 90<HR>
 91<DL>
 92<DT><PRE>public abstract class <B>Selection</B><DT>extends java.lang.Object<DT>implements java.lang.Cloneable</DL>
 93</PRE>
 94
 95<P>
 96An abstract class that holds data on a region of selected text.
 97 As an abstract class, it cannot be used
 98 directly, but instead serves as a parent class for two specific types
 99 of selection structures:
100 <ul>
101 <li><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.Range.html" title="class in org.gjt.sp.jedit.textarea"><CODE>Selection.Range</CODE></A> - represents an ordinary range of selected text.</li>
102 <li><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.Rect.html" title="class in org.gjt.sp.jedit.textarea"><CODE>Selection.Rect</CODE></A> - represents a rectangular selection.</li>
103 </ul>
104<P>
105
106<P>
107<DL>
108<DT><B>Since:</B></DT>
109  <DD>jEdit 3.2pre1</DD>
110</DL>
111<HR>
112
113<P>
114<!-- ======== NESTED CLASS SUMMARY ======== -->
115
116<A NAME="nested_class_summary"><!-- --></A>
117<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
118<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
119<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
120<B>Nested Class Summary</B></FONT></TH>
121</TR>
122<TR BGCOLOR="white" CLASS="TableRowColor">
123<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
124<CODE>static&nbsp;class</CODE></FONT></TD>
125<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.Range.html" title="class in org.gjt.sp.jedit.textarea">Selection.Range</A></B></CODE>
126
127<BR>
128&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An ordinary range selection.</TD>
129</TR>
130<TR BGCOLOR="white" CLASS="TableRowColor">
131<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132<CODE>static&nbsp;class</CODE></FONT></TD>
133<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.Rect.html" title="class in org.gjt.sp.jedit.textarea">Selection.Rect</A></B></CODE>
134
135<BR>
136&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A rectangular selection.</TD>
137</TR>
138</TABLE>
139&nbsp;
140<!-- ======== CONSTRUCTOR SUMMARY ======== -->
141
142<A NAME="constructor_summary"><!-- --></A>
143<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
144<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
145<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
146<B>Constructor Summary</B></FONT></TH>
147</TR>
148<TR BGCOLOR="white" CLASS="TableRowColor">
149<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150<CODE>protected </CODE></FONT></TD>
151<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html#Selection()">Selection</A></B>()</CODE>
152
153<BR>
154&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
155</TR>
156<TR BGCOLOR="white" CLASS="TableRowColor">
157<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158<CODE>protected </CODE></FONT></TD>
159<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html#Selection(int, int)">Selection</A></B>(int&nbsp;start,
160          int&nbsp;end)</CODE>
161
162<BR>
163&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
164</TR>
165<TR BGCOLOR="white" CLASS="TableRowColor">
166<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167<CODE>protected </CODE></FONT></TD>
168<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html#Selection(org.gjt.sp.jedit.textarea.Selection)">Selection</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html" title="class in org.gjt.sp.jedit.textarea">Selection</A>&nbsp;sel)</CODE>
169
170<BR>
171&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
172</TR>
173</TABLE>
174&nbsp;
175<!-- ========== METHOD SUMMARY =========== -->
176
177<A NAME="method_summary"><!-- --></A>
178<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
179<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
180<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
181<B>Method Summary</B></FONT></TH>
182</TR>
183<TR BGCOLOR="white" CLASS="TableRowColor">
184<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
186<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html#clone()">clone</A></B>()</CODE>
187
188<BR>
189&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
190</TR>
191<TR BGCOLOR="white" CLASS="TableRowColor">
192<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
193<CODE>&nbsp;int</CODE></FONT></TD>
194<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html#getEnd()">getEnd</A></B>()</CODE>
195
196<BR>
197&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the end offset of this selection.</TD>
198</TR>
199<TR BGCOLOR="white" CLASS="TableRowColor">
200<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
201<CODE>abstract &nbsp;int</CODE></FONT></TD>
202<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html#getEnd(org.gjt.sp.jedit.buffer.JEditBuffer, int)">getEnd</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html" title="class in org.gjt.sp.jedit.buffer">JEditBuffer</A>&nbsp;buffer,
203       int&nbsp;line)</CODE>
204
205<BR>
206&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the end of the portion of the selection
207 falling on the specified line.</TD>
208</TR>
209<TR BGCOLOR="white" CLASS="TableRowColor">
210<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211<CODE>&nbsp;int</CODE></FONT></TD>
212<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html#getEndLine()">getEndLine</A></B>()</CODE>
213
214<BR>
215&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the ending line number of this selection.</TD>
216</TR>
217<TR BGCOLOR="white" CLASS="TableRowColor">
218<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219<CODE>&nbsp;int</CODE></FONT></TD>
220<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html#getStart()">getStart</A></B>()</CODE>
221
222<BR>
223&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the start offset of this selection.</TD>
224</TR>
225<TR BGCOLOR="white" CLASS="TableRowColor">
226<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
227<CODE>abstract &nbsp;int</CODE></FONT></TD>
228<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html#getStart(org.gjt.sp.jedit.buffer.JEditBuffer, int)">getStart</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html" title="class in org.gjt.sp.jedit.buffer">JEditBuffer</A>&nbsp;buffer,
229         int&nbsp;line)</CODE>
230
231<BR>
232&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the beginning of the portion of the selection
233 falling on the specified line.</TD>
234</TR>
235<TR BGCOLOR="white" CLASS="TableRowColor">
236<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
237<CODE>&nbsp;int</CODE></FONT></TD>
238<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html#getStartLine()">getStartLine</A></B>()</CODE>
239
240<BR>
241&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the starting line number of this selection.</TD>
242</TR>
243<TR BGCOLOR="white" CLASS="TableRowColor">
244<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
245<CODE>&nbsp;boolean</CODE></FONT></TD>
246<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html#overlaps(org.gjt.sp.jedit.textarea.Selection)">overlaps</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html" title="class in org.gjt.sp.jedit.textarea">Selection</A>&nbsp;s)</CODE>
247
248<BR>
249&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if this selection and the specified selection overlap.</TD>
250</TR>
251<TR BGCOLOR="white" CLASS="TableRowColor">
252<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
253<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
254<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html#toString()">toString</A></B>()</CODE>
255
256<BR>
257&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
258</TR>
259</TABLE>
260&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
261<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
262<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
263<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
264</TR>
265<TR BGCOLOR="white" CLASS="TableRowColor">
266<TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
267</TR>
268</TABLE>
269&nbsp;
270<P>
271
272<!-- ========= CONSTRUCTOR DETAIL ======== -->
273
274<A NAME="constructor_detail"><!-- --></A>
275<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
276<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
277<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
278<B>Constructor Detail</B></FONT></TH>
279</TR>
280</TABLE>
281
282<A NAME="Selection()"><!-- --></A><H3>
283Selection</H3>
284<PRE>
285protected <B>Selection</B>()</PRE>
286<DL>
287</DL>
288<HR>
289
290<A NAME="Selection(org.gjt.sp.jedit.textarea.Selection)"><!-- --></A><H3>
291Selection</H3>
292<PRE>
293protected <B>Selection</B>(<A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html" title="class in org.gjt.sp.jedit.textarea">Selection</A>&nbsp;sel)</PRE>
294<DL>
295</DL>
296<HR>
297
298<A NAME="Selection(int, int)"><!-- --></A><H3>
299Selection</H3>
300<PRE>
301protected <B>Selection</B>(int&nbsp;start,
302                    int&nbsp;end)</PRE>
303<DL>
304</DL>
305
306<!-- ============ METHOD DETAIL ========== -->
307
308<A NAME="method_detail"><!-- --></A>
309<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
310<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
311<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
312<B>Method Detail</B></FONT></TH>
313</TR>
314</TABLE>
315
316<A NAME="getStart()"><!-- --></A><H3>
317getStart</H3>
318<PRE>
319public int <B>getStart</B>()</PRE>
320<DL>
321<DD>Returns the start offset of this selection.
322<P>
323<DD><DL>
324</DL>
325</DD>
326<DD><DL>
327</DL>
328</DD>
329</DL>
330<HR>
331
332<A NAME="getEnd()"><!-- --></A><H3>
333getEnd</H3>
334<PRE>
335public int <B>getEnd</B>()</PRE>
336<DL>
337<DD>Returns the end offset of this selection.
338<P>
339<DD><DL>
340</DL>
341</DD>
342<DD><DL>
343</DL>
344</DD>
345</DL>
346<HR>
347
348<A NAME="getStart(org.gjt.sp.jedit.buffer.JEditBuffer, int)"><!-- --></A><H3>
349getStart</H3>
350<PRE>
351public abstract int <B>getStart</B>(<A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html" title="class in org.gjt.sp.jedit.buffer">JEditBuffer</A>&nbsp;buffer,
352                             int&nbsp;line)</PRE>
353<DL>
354<DD>Returns the beginning of the portion of the selection
355 falling on the specified line. Used to manipulate
356 selection text on a line-by-line basis.
357<P>
358<DD><DL>
359</DL>
360</DD>
361<DD><DL>
362<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - The buffer<DD><CODE>line</CODE> - The line number<DT><B>Since:</B></DT>
363  <DD>jEdit 4.1pre1</DD>
364</DL>
365</DD>
366</DL>
367<HR>
368
369<A NAME="getEnd(org.gjt.sp.jedit.buffer.JEditBuffer, int)"><!-- --></A><H3>
370getEnd</H3>
371<PRE>
372public abstract int <B>getEnd</B>(<A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html" title="class in org.gjt.sp.jedit.buffer">JEditBuffer</A>&nbsp;buffer,
373                           int&nbsp;line)</PRE>
374<DL>
375<DD>Returns the end of the portion of the selection
376 falling on the specified line. Used to manipulate
377 selection text on a line-by-line basis.
378<P>
379<DD><DL>
380</DL>
381</DD>
382<DD><DL>
383<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - The buffer<DD><CODE>line</CODE> - The line number<DT><B>Since:</B></DT>
384  <DD>jEdit 4.1pre1</DD>
385</DL>
386</DD>
387</DL>
388<HR>
389
390<A NAME="getStartLine()"><!-- --></A><H3>
391getStartLine</H3>
392<PRE>
393public int <B>getStartLine</B>()</PRE>
394<DL>
395<DD>Returns the starting line number of this selection.
396<P>
397<DD><DL>
398</DL>
399</DD>
400<DD><DL>
401</DL>
402</DD>
403</DL>
404<HR>
405
406<A NAME="getEndLine()"><!-- --></A><H3>
407getEndLine</H3>
408<PRE>
409public int <B>getEndLine</B>()</PRE>
410<DL>
411<DD>Returns the ending line number of this selection.
412<P>
413<DD><DL>
414</DL>
415</DD>
416<DD><DL>
417</DL>
418</DD>
419</DL>
420<HR>
421
422<A NAME="overlaps(org.gjt.sp.jedit.textarea.Selection)"><!-- --></A><H3>
423overlaps</H3>
424<PRE>
425public boolean <B>overlaps</B>(<A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.html" title="class in org.gjt.sp.jedit.textarea">Selection</A>&nbsp;s)</PRE>
426<DL>
427<DD>Returns if this selection and the specified selection overlap.
428<P>
429<DD><DL>
430</DL>
431</DD>
432<DD><DL>
433<DT><B>Parameters:</B><DD><CODE>s</CODE> - The other selection<DT><B>Since:</B></DT>
434  <DD>jEdit 4.1pre1</DD>
435</DL>
436</DD>
437</DL>
438<HR>
439
440<A NAME="toString()"><!-- --></A><H3>
441toString</H3>
442<PRE>
443public java.lang.String <B>toString</B>()</PRE>
444<DL>
445<DD><DL>
446<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
447</DD>
448<DD><DL>
449</DL>
450</DD>
451</DL>
452<HR>
453
454<A NAME="clone()"><!-- --></A><H3>
455clone</H3>
456<PRE>
457public java.lang.Object <B>clone</B>()</PRE>
458<DL>
459<DD><DL>
460<DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL>
461</DD>
462<DD><DL>
463</DL>
464</DD>
465</DL>
466<!-- ========= END OF CLASS DATA ========= -->
467<HR>
468
469
470<!-- ======= START OF BOTTOM NAVBAR ====== -->
471<A NAME="navbar_bottom"><!-- --></A>
472<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
473<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
474<TR>
475<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
476<A NAME="navbar_bottom_firstrow"><!-- --></A>
477<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
478  <TR ALIGN="center" VALIGN="top">
479  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
480  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
481  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
482  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Selection.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
483  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
484  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
485  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
486  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
487  </TR>
488</TABLE>
489</TD>
490<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
491</EM>
492</TD>
493</TR>
494
495<TR>
496<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
497&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/textarea/ScrollListener.html" title="interface in org.gjt.sp.jedit.textarea"><B>PREV CLASS</B></A>&nbsp;
498&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/textarea/Selection.Range.html" title="class in org.gjt.sp.jedit.textarea"><B>NEXT CLASS</B></A></FONT></TD>
499<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
500  <A HREF="../../../../../index.html?org/gjt/sp/jedit/textarea/Selection.html" target="_top"><B>FRAMES</B></A>  &nbsp;
501&nbsp;<A HREF="Selection.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
502&nbsp;
503<NOSCRIPT>
504  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
505</NOSCRIPT>
506
507
508</FONT></TD>
509</TR>
510<TR>
511<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
512  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
513<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
514DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
515</TR>
516</TABLE>
517<A NAME="skip-navbar_bottom"></A>
518<!-- ======== END OF BOTTOM NAVBAR ======= -->
519
520<HR>
521
522</BODY>
523</HTML>