PageRenderTime 50ms CodeModel.GetById 3ms app.highlight 36ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
HTML | 1503 lines | 1326 code | 166 blank | 11 comment | 0 complexity | b0107cf6eea425b52ebd3d300370e27a 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:13:50 GMT-08:00 2008 -->
   6<TITLE>
   7JEditBuffer (jEdit API)
   8</TITLE>
   9
  10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.buffer.JEditBuffer 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/JEditBuffer.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/buffer/IndentFoldHandler.html" title="class in org.gjt.sp.jedit.buffer"><B>PREV CLASS</B></A>&nbsp;
  51&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.PropValue.html" title="class in org.gjt.sp.jedit.buffer"><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/buffer/JEditBuffer.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  54&nbsp;<A HREF="JEditBuffer.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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.buffer</FONT>
  78<BR>
  79Class JEditBuffer</H2>
  80<PRE>
  81java.lang.Object
  82  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.buffer.JEditBuffer</B>
  83</PRE>
  84<DL>
  85<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A></DD>
  86</DL>
  87<HR>
  88<DL>
  89<DT><PRE>public class <B>JEditBuffer</B><DT>extends java.lang.Object</DL>
  90</PRE>
  91
  92<P>
  93A <code>JEditBuffer</code> represents the contents of an open text
  94 file as it is maintained in the computer's memory (as opposed to
  95 how it may be stored on a disk).<p>
  96
  97 This class is partially thread-safe, however you must pay attention to two
  98 very important guidelines:
  99 <ul>
 100 <li>Changes to a buffer can only be made from the AWT thread.
 101 <li>When accessing the buffer from another thread, you must
 102 grab a read lock if you plan on performing more than one call, to ensure that
 103 the buffer contents are not changed by the AWT thread for the duration of the
 104 lock. Only methods whose descriptions specify thread safety can be invoked
 105 from other threads.
 106 </ul>
 107<P>
 108
 109<P>
 110<DL>
 111<DT><B>Since:</B></DT>
 112  <DD>jEdit 4.3pre3</DD>
 113</DL>
 114<HR>
 115
 116<P>
 117<!-- ======== NESTED CLASS SUMMARY ======== -->
 118
 119<A NAME="nested_class_summary"><!-- --></A>
 120<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 121<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 122<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 123<B>Nested Class Summary</B></FONT></TH>
 124</TR>
 125<TR BGCOLOR="white" CLASS="TableRowColor">
 126<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 127<CODE>protected static&nbsp;class</CODE></FONT></TD>
 128<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.PropValue.html" title="class in org.gjt.sp.jedit.buffer">JEditBuffer.PropValue</A></B></CODE>
 129
 130<BR>
 131&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 132</TR>
 133</TABLE>
 134&nbsp;<!-- =========== FIELD SUMMARY =========== -->
 135
 136<A NAME="field_summary"><!-- --></A>
 137<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 138<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 139<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 140<B>Field Summary</B></FONT></TH>
 141</TR>
 142<TR BGCOLOR="white" CLASS="TableRowColor">
 143<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 144<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
 145<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#ENCODING">ENCODING</A></B></CODE>
 146
 147<BR>
 148&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Character encoding used when loading and saving.</TD>
 149</TR>
 150<TR BGCOLOR="white" CLASS="TableRowColor">
 151<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 152<CODE>static&nbsp;int</CODE></FONT></TD>
 153<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#HIGH_PRIORITY">HIGH_PRIORITY</A></B></CODE>
 154
 155<BR>
 156&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 157</TR>
 158<TR BGCOLOR="white" CLASS="TableRowColor">
 159<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 160<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
 161<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#LINESEP">LINESEP</A></B></CODE>
 162
 163<BR>
 164&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Line separator property.</TD>
 165</TR>
 166<TR BGCOLOR="white" CLASS="TableRowColor">
 167<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 168<CODE>protected &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A></CODE></FONT></TD>
 169<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#mode">mode</A></B></CODE>
 170
 171<BR>
 172&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 173</TR>
 174<TR BGCOLOR="white" CLASS="TableRowColor">
 175<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 176<CODE>static&nbsp;int</CODE></FONT></TD>
 177<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#NORMAL_PRIORITY">NORMAL_PRIORITY</A></B></CODE>
 178
 179<BR>
 180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 181</TR>
 182<TR BGCOLOR="white" CLASS="TableRowColor">
 183<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 184<CODE>protected &nbsp;javax.swing.text.Segment</CODE></FONT></TD>
 185<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#seg">seg</A></B></CODE>
 186
 187<BR>
 188&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 189</TR>
 190<TR BGCOLOR="white" CLASS="TableRowColor">
 191<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 192<CODE>protected &nbsp;boolean</CODE></FONT></TD>
 193<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#textMode">textMode</A></B></CODE>
 194
 195<BR>
 196&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 197</TR>
 198<TR BGCOLOR="white" CLASS="TableRowColor">
 199<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 200<CODE>protected &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/buffer/UndoManager.html" title="class in org.gjt.sp.jedit.buffer">UndoManager</A></CODE></FONT></TD>
 201<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#undoMgr">undoMgr</A></B></CODE>
 202
 203<BR>
 204&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 205</TR>
 206</TABLE>
 207&nbsp;
 208<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 209
 210<A NAME="constructor_summary"><!-- --></A>
 211<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 212<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 213<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 214<B>Constructor Summary</B></FONT></TH>
 215</TR>
 216<TR BGCOLOR="white" CLASS="TableRowColor">
 217<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#JEditBuffer()">JEditBuffer</A></B>()</CODE>
 218
 219<BR>
 220&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new JEditBuffer.</TD>
 221</TR>
 222<TR BGCOLOR="white" CLASS="TableRowColor">
 223<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#JEditBuffer(java.util.Map)">JEditBuffer</A></B>(java.util.Map&nbsp;props)</CODE>
 224
 225<BR>
 226&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 227</TR>
 228</TABLE>
 229&nbsp;
 230<!-- ========== METHOD SUMMARY =========== -->
 231
 232<A NAME="method_summary"><!-- --></A>
 233<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 234<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 235<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 236<B>Method Summary</B></FONT></TH>
 237</TR>
 238<TR BGCOLOR="white" CLASS="TableRowColor">
 239<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 240<CODE>&nbsp;void</CODE></FONT></TD>
 241<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#addBufferListener(org.gjt.sp.jedit.buffer.BufferListener)">addBufferListener</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/buffer/BufferListener.html" title="interface in org.gjt.sp.jedit.buffer">BufferListener</A>&nbsp;listener)</CODE>
 242
 243<BR>
 244&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a buffer change listener.</TD>
 245</TR>
 246<TR BGCOLOR="white" CLASS="TableRowColor">
 247<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 248<CODE>&nbsp;void</CODE></FONT></TD>
 249<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#addBufferListener(org.gjt.sp.jedit.buffer.BufferListener, int)">addBufferListener</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/buffer/BufferListener.html" title="interface in org.gjt.sp.jedit.buffer">BufferListener</A>&nbsp;listener,
 250                  int&nbsp;priority)</CODE>
 251
 252<BR>
 253&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a buffer change listener.</TD>
 254</TR>
 255<TR BGCOLOR="white" CLASS="TableRowColor">
 256<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 257<CODE>&nbsp;void</CODE></FONT></TD>
 258<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#beginCompoundEdit()">beginCompoundEdit</A></B>()</CODE>
 259
 260<BR>
 261&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Starts a compound edit.</TD>
 262</TR>
 263<TR BGCOLOR="white" CLASS="TableRowColor">
 264<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 265<CODE>&nbsp;javax.swing.text.Position</CODE></FONT></TD>
 266<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#createPosition(int)">createPosition</A></B>(int&nbsp;offset)</CODE>
 267
 268<BR>
 269&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a floating position.</TD>
 270</TR>
 271<TR BGCOLOR="white" CLASS="TableRowColor">
 272<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 273<CODE>&nbsp;void</CODE></FONT></TD>
 274<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#endCompoundEdit()">endCompoundEdit</A></B>()</CODE>
 275
 276<BR>
 277&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ends a compound edit.</TD>
 278</TR>
 279<TR BGCOLOR="white" CLASS="TableRowColor">
 280<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 281<CODE>protected &nbsp;void</CODE></FONT></TD>
 282<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#fireBufferLoaded()">fireBufferLoaded</A></B>()</CODE>
 283
 284<BR>
 285&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 286</TR>
 287<TR BGCOLOR="white" CLASS="TableRowColor">
 288<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 289<CODE>protected &nbsp;void</CODE></FONT></TD>
 290<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#fireContentInserted(int, int, int, int)">fireContentInserted</A></B>(int&nbsp;startLine,
 291                    int&nbsp;offset,
 292                    int&nbsp;numLines,
 293                    int&nbsp;length)</CODE>
 294
 295<BR>
 296&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 297</TR>
 298<TR BGCOLOR="white" CLASS="TableRowColor">
 299<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 300<CODE>protected &nbsp;void</CODE></FONT></TD>
 301<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#fireContentRemoved(int, int, int, int)">fireContentRemoved</A></B>(int&nbsp;startLine,
 302                   int&nbsp;offset,
 303                   int&nbsp;numLines,
 304                   int&nbsp;length)</CODE>
 305
 306<BR>
 307&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 308</TR>
 309<TR BGCOLOR="white" CLASS="TableRowColor">
 310<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 311<CODE>protected &nbsp;void</CODE></FONT></TD>
 312<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#fireFoldHandlerChanged()">fireFoldHandlerChanged</A></B>()</CODE>
 313
 314<BR>
 315&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 316</TR>
 317<TR BGCOLOR="white" CLASS="TableRowColor">
 318<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 319<CODE>protected &nbsp;void</CODE></FONT></TD>
 320<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#fireFoldLevelChanged(int, int)">fireFoldLevelChanged</A></B>(int&nbsp;start,
 321                     int&nbsp;end)</CODE>
 322
 323<BR>
 324&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 325</TR>
 326<TR BGCOLOR="white" CLASS="TableRowColor">
 327<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 328<CODE>protected &nbsp;void</CODE></FONT></TD>
 329<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#firePreContentInserted(int, int, int, int)">firePreContentInserted</A></B>(int&nbsp;startLine,
 330                       int&nbsp;offset,
 331                       int&nbsp;numLines,
 332                       int&nbsp;length)</CODE>
 333
 334<BR>
 335&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 336</TR>
 337<TR BGCOLOR="white" CLASS="TableRowColor">
 338<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 339<CODE>protected &nbsp;void</CODE></FONT></TD>
 340<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#firePreContentRemoved(int, int, int, int)">firePreContentRemoved</A></B>(int&nbsp;startLine,
 341                      int&nbsp;offset,
 342                      int&nbsp;numLines,
 343                      int&nbsp;length)</CODE>
 344
 345<BR>
 346&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 347</TR>
 348<TR BGCOLOR="white" CLASS="TableRowColor">
 349<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 350<CODE>protected &nbsp;void</CODE></FONT></TD>
 351<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#fireTransactionComplete()">fireTransactionComplete</A></B>()</CODE>
 352
 353<BR>
 354&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 355</TR>
 356<TR BGCOLOR="white" CLASS="TableRowColor">
 357<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 358<CODE>&nbsp;boolean</CODE></FONT></TD>
 359<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getBooleanProperty(java.lang.String)">getBooleanProperty</A></B>(java.lang.String&nbsp;name)</CODE>
 360
 361<BR>
 362&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of a boolean property.</TD>
 363</TR>
 364<TR BGCOLOR="white" CLASS="TableRowColor">
 365<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 366<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/buffer/BufferListener.html" title="interface in org.gjt.sp.jedit.buffer">BufferListener</A>[]</CODE></FONT></TD>
 367<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getBufferListeners()">getBufferListeners</A></B>()</CODE>
 368
 369<BR>
 370&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array of registered buffer change listeners.</TD>
 371</TR>
 372<TR BGCOLOR="white" CLASS="TableRowColor">
 373<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 374<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 375<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getContextSensitiveProperty(int, java.lang.String)">getContextSensitiveProperty</A></B>(int&nbsp;offset,
 376                            java.lang.String&nbsp;name)</CODE>
 377
 378<BR>
 379&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Some settings, like comment start and end strings, can
 380 vary between different parts of a buffer (HTML text and inline
 381 JavaScript, for example).</TD>
 382</TR>
 383<TR BGCOLOR="white" CLASS="TableRowColor">
 384<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 385<CODE>&nbsp;int</CODE></FONT></TD>
 386<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getCurrentIndentForLine(int, int[])">getCurrentIndentForLine</A></B>(int&nbsp;lineIndex,
 387                        int[]&nbsp;whitespaceChars)</CODE>
 388
 389<BR>
 390&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the line's current leading indent.</TD>
 391</TR>
 392<TR BGCOLOR="white" CLASS="TableRowColor">
 393<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 394<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
 395<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getDefaultProperty(java.lang.String)">getDefaultProperty</A></B>(java.lang.String&nbsp;key)</CODE>
 396
 397<BR>
 398&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 399</TR>
 400<TR BGCOLOR="white" CLASS="TableRowColor">
 401<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 402<CODE>&nbsp;int[]</CODE></FONT></TD>
 403<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getFoldAtLine(int)">getFoldAtLine</A></B>(int&nbsp;line)</CODE>
 404
 405<BR>
 406&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array.</TD>
 407</TR>
 408<TR BGCOLOR="white" CLASS="TableRowColor">
 409<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 410<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/buffer/FoldHandler.html" title="class in org.gjt.sp.jedit.buffer">FoldHandler</A></CODE></FONT></TD>
 411<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getFoldHandler()">getFoldHandler</A></B>()</CODE>
 412
 413<BR>
 414&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current buffer's fold handler.</TD>
 415</TR>
 416<TR BGCOLOR="white" CLASS="TableRowColor">
 417<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 418<CODE>&nbsp;int</CODE></FONT></TD>
 419<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getFoldLevel(int)">getFoldLevel</A></B>(int&nbsp;line)</CODE>
 420
 421<BR>
 422&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the fold level of the specified line.</TD>
 423</TR>
 424<TR BGCOLOR="white" CLASS="TableRowColor">
 425<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 426<CODE>&nbsp;int</CODE></FONT></TD>
 427<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getIdealIndentForLine(int)">getIdealIndentForLine</A></B>(int&nbsp;lineIndex)</CODE>
 428
 429<BR>
 430&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the ideal leading indent for the specified line.</TD>
 431</TR>
 432<TR BGCOLOR="white" CLASS="TableRowColor">
 433<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 434<CODE>&nbsp;int</CODE></FONT></TD>
 435<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getIndentSize()">getIndentSize</A></B>()</CODE>
 436
 437<BR>
 438&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the indent size used in this buffer.</TD>
 439</TR>
 440<TR BGCOLOR="white" CLASS="TableRowColor">
 441<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 442<CODE>&nbsp;int</CODE></FONT></TD>
 443<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getIntegerProperty(java.lang.String, int)">getIntegerProperty</A></B>(java.lang.String&nbsp;name,
 444                   int&nbsp;defaultValue)</CODE>
 445
 446<BR>
 447&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of an integer property.</TD>
 448</TR>
 449<TR BGCOLOR="white" CLASS="TableRowColor">
 450<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 451<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/KeywordMap.html" title="class in org.gjt.sp.jedit.syntax">KeywordMap</A></CODE></FONT></TD>
 452<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getKeywordMapAtOffset(int)">getKeywordMapAtOffset</A></B>(int&nbsp;offset)</CODE>
 453
 454<BR>
 455&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the syntax highlighting keyword map in effect at the
 456 specified offset.</TD>
 457</TR>
 458<TR BGCOLOR="white" CLASS="TableRowColor">
 459<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 460<CODE>&nbsp;int</CODE></FONT></TD>
 461<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getLength()">getLength</A></B>()</CODE>
 462
 463<BR>
 464&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of characters in the buffer.</TD>
 465</TR>
 466<TR BGCOLOR="white" CLASS="TableRowColor">
 467<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 468<CODE>&nbsp;int</CODE></FONT></TD>
 469<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getLineCount()">getLineCount</A></B>()</CODE>
 470
 471<BR>
 472&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of physical lines in the buffer.</TD>
 473</TR>
 474<TR BGCOLOR="white" CLASS="TableRowColor">
 475<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 476<CODE>&nbsp;int</CODE></FONT></TD>
 477<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getLineEndOffset(int)">getLineEndOffset</A></B>(int&nbsp;line)</CODE>
 478
 479<BR>
 480&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the end offset of the specified line.</TD>
 481</TR>
 482<TR BGCOLOR="white" CLASS="TableRowColor">
 483<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 484<CODE>&nbsp;int</CODE></FONT></TD>
 485<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getLineLength(int)">getLineLength</A></B>(int&nbsp;line)</CODE>
 486
 487<BR>
 488&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the length of the specified line.</TD>
 489</TR>
 490<TR BGCOLOR="white" CLASS="TableRowColor">
 491<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 492<CODE>&nbsp;int</CODE></FONT></TD>
 493<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getLineOfOffset(int)">getLineOfOffset</A></B>(int&nbsp;offset)</CODE>
 494
 495<BR>
 496&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the line containing the specified offset.</TD>
 497</TR>
 498<TR BGCOLOR="white" CLASS="TableRowColor">
 499<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 500<CODE>&nbsp;java.lang.CharSequence</CODE></FONT></TD>
 501<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getLineSegment(int)">getLineSegment</A></B>(int&nbsp;line)</CODE>
 502
 503<BR>
 504&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the text on the specified line.</TD>
 505</TR>
 506<TR BGCOLOR="white" CLASS="TableRowColor">
 507<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 508<CODE>&nbsp;int</CODE></FONT></TD>
 509<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getLineStartOffset(int)">getLineStartOffset</A></B>(int&nbsp;line)</CODE>
 510
 511<BR>
 512&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the start offset of the specified line.</TD>
 513</TR>
 514<TR BGCOLOR="white" CLASS="TableRowColor">
 515<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 516<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 517<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getLineText(int)">getLineText</A></B>(int&nbsp;line)</CODE>
 518
 519<BR>
 520&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the text on the specified line.</TD>
 521</TR>
 522<TR BGCOLOR="white" CLASS="TableRowColor">
 523<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 524<CODE>&nbsp;void</CODE></FONT></TD>
 525<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getLineText(int, javax.swing.text.Segment)">getLineText</A></B>(int&nbsp;line,
 526            javax.swing.text.Segment&nbsp;segment)</CODE>
 527
 528<BR>
 529&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified line in a <code>Segment</code>.</TD>
 530</TR>
 531<TR BGCOLOR="white" CLASS="TableRowColor">
 532<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 533<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A></CODE></FONT></TD>
 534<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getMode()">getMode</A></B>()</CODE>
 535
 536<BR>
 537&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this buffer's edit mode.</TD>
 538</TR>
 539<TR BGCOLOR="white" CLASS="TableRowColor">
 540<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 541<CODE>&nbsp;int</CODE></FONT></TD>
 542<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getOffsetOfVirtualColumn(int, int, int[])">getOffsetOfVirtualColumn</A></B>(int&nbsp;line,
 543                         int&nbsp;column,
 544                         int[]&nbsp;totalVirtualWidth)</CODE>
 545
 546<BR>
 547&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the offset of a virtual column number (taking tabs
 548 into account) relative to the start of the line in question.</TD>
 549</TR>
 550<TR BGCOLOR="white" CLASS="TableRowColor">
 551<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 552<CODE>&nbsp;java.util.regex.Pattern</CODE></FONT></TD>
 553<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getPatternProperty(java.lang.String, int)">getPatternProperty</A></B>(java.lang.String&nbsp;name,
 554                   int&nbsp;flags)</CODE>
 555
 556<BR>
 557&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of a property as a regular expression.</TD>
 558</TR>
 559<TR BGCOLOR="white" CLASS="TableRowColor">
 560<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 561<CODE>&nbsp;int</CODE></FONT></TD>
 562<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getPriorNonEmptyLine(int)">getPriorNonEmptyLine</A></B>(int&nbsp;lineIndex)</CODE>
 563
 564<BR>
 565&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Auto indent needs this.</TD>
 566</TR>
 567<TR BGCOLOR="white" CLASS="TableRowColor">
 568<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 569<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
 570<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getProperty(java.lang.Object)">getProperty</A></B>(java.lang.Object&nbsp;name)</CODE>
 571
 572<BR>
 573&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of a buffer-local property.</TD>
 574</TR>
 575<TR BGCOLOR="white" CLASS="TableRowColor">
 576<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 577<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html" title="class in org.gjt.sp.jedit.syntax">ParserRuleSet</A></CODE></FONT></TD>
 578<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getRuleSetAtOffset(int)">getRuleSetAtOffset</A></B>(int&nbsp;offset)</CODE>
 579
 580<BR>
 581&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the syntax highlighting ruleset at the specified offset.</TD>
 582</TR>
 583<TR BGCOLOR="white" CLASS="TableRowColor">
 584<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 585<CODE>&nbsp;java.lang.CharSequence</CODE></FONT></TD>
 586<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getSegment(int, int)">getSegment</A></B>(int&nbsp;start,
 587           int&nbsp;length)</CODE>
 588
 589<BR>
 590&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified text range.</TD>
 591</TR>
 592<TR BGCOLOR="white" CLASS="TableRowColor">
 593<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 594<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 595<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getStringProperty(java.lang.String)">getStringProperty</A></B>(java.lang.String&nbsp;name)</CODE>
 596
 597<BR>
 598&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of a string property.</TD>
 599</TR>
 600<TR BGCOLOR="white" CLASS="TableRowColor">
 601<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 602<CODE>&nbsp;int</CODE></FONT></TD>
 603<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getTabSize()">getTabSize</A></B>()</CODE>
 604
 605<BR>
 606&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the tab size used in this buffer.</TD>
 607</TR>
 608<TR BGCOLOR="white" CLASS="TableRowColor">
 609<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 610<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 611<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getText(int, int)">getText</A></B>(int&nbsp;start,
 612        int&nbsp;length)</CODE>
 613
 614<BR>
 615&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified text range.</TD>
 616</TR>
 617<TR BGCOLOR="white" CLASS="TableRowColor">
 618<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 619<CODE>&nbsp;void</CODE></FONT></TD>
 620<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getText(int, int, javax.swing.text.Segment)">getText</A></B>(int&nbsp;start,
 621        int&nbsp;length,
 622        javax.swing.text.Segment&nbsp;seg)</CODE>
 623
 624<BR>
 625&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified text range in a <code>Segment</code>.</TD>
 626</TR>
 627<TR BGCOLOR="white" CLASS="TableRowColor">
 628<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 629<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/TokenMarker.html" title="class in org.gjt.sp.jedit.syntax">TokenMarker</A></CODE></FONT></TD>
 630<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getTokenMarker()">getTokenMarker</A></B>()</CODE>
 631
 632<BR>
 633&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 634</TR>
 635<TR BGCOLOR="white" CLASS="TableRowColor">
 636<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 637<CODE>&nbsp;int</CODE></FONT></TD>
 638<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getVirtualWidth(int, int)">getVirtualWidth</A></B>(int&nbsp;line,
 639                int&nbsp;column)</CODE>
 640
 641<BR>
 642&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the virtual column number (taking tabs into account) of the
 643 specified position.</TD>
 644</TR>
 645<TR BGCOLOR="white" CLASS="TableRowColor">
 646<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 647<CODE>&nbsp;boolean</CODE></FONT></TD>
 648<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#indentLine(int, boolean)">indentLine</A></B>(int&nbsp;lineIndex,
 649           boolean&nbsp;canDecreaseIndent)</CODE>
 650
 651<BR>
 652&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indents the specified line.</TD>
 653</TR>
 654<TR BGCOLOR="white" CLASS="TableRowColor">
 655<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 656<CODE>&nbsp;boolean</CODE></FONT></TD>
 657<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#indentLine(int, boolean, boolean)">indentLine</A></B>(int&nbsp;lineIndex,
 658           boolean&nbsp;canIncreaseIndent,
 659           boolean&nbsp;canDecreaseIndent)</CODE>
 660
 661<BR>
 662&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#indentLine(int, boolean)"><CODE>indentLine(int,boolean)</CODE></A> instead.</I></TD>
 663</TR>
 664<TR BGCOLOR="white" CLASS="TableRowColor">
 665<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 666<CODE>&nbsp;void</CODE></FONT></TD>
 667<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#indentLines(int[])">indentLines</A></B>(int[]&nbsp;lines)</CODE>
 668
 669<BR>
 670&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indents all specified lines.</TD>
 671</TR>
 672<TR BGCOLOR="white" CLASS="TableRowColor">
 673<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 674<CODE>&nbsp;void</CODE></FONT></TD>
 675<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#indentLines(int, int)">indentLines</A></B>(int&nbsp;start,
 676            int&nbsp;end)</CODE>
 677
 678<BR>
 679&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indents all specified lines.</TD>
 680</TR>
 681<TR BGCOLOR="white" CLASS="TableRowColor">
 682<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 683<CODE>&nbsp;void</CODE></FONT></TD>
 684<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#insert(int, javax.swing.text.Segment)">insert</A></B>(int&nbsp;offset,
 685       javax.swing.text.Segment&nbsp;seg)</CODE>
 686
 687<BR>
 688&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a string into the buffer.</TD>
 689</TR>
 690<TR BGCOLOR="white" CLASS="TableRowColor">
 691<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 692<CODE>&nbsp;void</CODE></FONT></TD>
 693<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#insert(int, java.lang.String)">insert</A></B>(int&nbsp;offset,
 694       java.lang.String&nbsp;str)</CODE>
 695
 696<BR>
 697&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a string into the buffer.</TD>
 698</TR>
 699<TR BGCOLOR="white" CLASS="TableRowColor">
 700<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 701<CODE>&nbsp;void</CODE></FONT></TD>
 702<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#insertAtColumn(int, int, java.lang.String)">insertAtColumn</A></B>(int&nbsp;line,
 703               int&nbsp;col,
 704               java.lang.String&nbsp;str)</CODE>
 705
 706<BR>
 707&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Like the <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#insert(int, java.lang.String)"><CODE>insert(int,String)</CODE></A> method, but inserts the string at
 708 the specified virtual column.</TD>
 709</TR>
 710<TR BGCOLOR="white" CLASS="TableRowColor">
 711<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 712<CODE>&nbsp;int</CODE></FONT></TD>
 713<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#insertIndented(int, java.lang.String)">insertIndented</A></B>(int&nbsp;offset,
 714               java.lang.String&nbsp;text)</CODE>
 715
 716<BR>
 717&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a string into the buffer, indenting each line of the string
 718 to match the indent of the first line.</TD>
 719</TR>
 720<TR BGCOLOR="white" CLASS="TableRowColor">
 721<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 722<CODE>&nbsp;boolean</CODE></FONT></TD>
 723<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#insideCompoundEdit()">insideCompoundEdit</A></B>()</CODE>
 724
 725<BR>
 726&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if a compound edit is currently active.</TD>
 727</TR>
 728<TR BGCOLOR="white" CLASS="TableRowColor">
 729<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 730<CODE>&nbsp;void</CODE></FONT></TD>
 731<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#invalidateCachedFoldLevels()">invalidateCachedFoldLevels</A></B>()</CODE>
 732
 733<BR>
 734&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invalidates all cached fold level information.</TD>
 735</TR>
 736<TR BGCOLOR="white" CLASS="TableRowColor">
 737<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 738<CODE>protected &nbsp;void</CODE></FONT></TD>
 739<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#invalidateFoldLevels()">invalidateFoldLevels</A></B>()</CODE>
 740
 741<BR>
 742&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 743</TR>
 744<TR BGCOLOR="white" CLASS="TableRowColor">
 745<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 746<CODE>&nbsp;boolean</CODE></FONT></TD>
 747<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#isDirty()">isDirty</A></B>()</CODE>
 748
 749<BR>
 750&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether there have been unsaved changes to this buffer.</TD>
 751</TR>
 752<TR BGCOLOR="white" CLASS="TableRowColor">
 753<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 754<CODE>&nbsp;boolean</CODE></FONT></TD>
 755<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#isEditable()">isEditable</A></B>()</CODE>
 756
 757<BR>
 758&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this file is editable, false otherwise.</TD>
 759</TR>
 760<TR BGCOLOR="white" CLASS="TableRowColor">
 761<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 762<CODE>&nbsp;boolean</CODE></FONT></TD>
 763<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#isElectricKey(char)">isElectricKey</A></B>(char&nbsp;ch)</CODE>
 764
 765<BR>
 766&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use #isElectricKey(char,int)</I></TD>
 767</TR>
 768<TR BGCOLOR="white" CLASS="TableRowColor">
 769<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 770<CODE>&nbsp;boolean</CODE></FONT></TD>
 771<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#isElectricKey(char, int)">isElectricKey</A></B>(char&nbsp;ch,
 772              int&nbsp;line)</CODE>
 773
 774<BR>
 775&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Should inserting this character trigger a re-indent of
 776 the current line?</TD>
 777</TR>
 778<TR BGCOLOR="white" CLASS="TableRowColor">
 779<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 780<CODE>protected &nbsp;boolean</CODE></FONT></TD>
 781<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#isFileReadOnly()">isFileReadOnly</A></B>()</CODE>
 782
 783<BR>
 784&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 785</TR>
 786<TR BGCOLOR="white" CLASS="TableRowColor">
 787<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 788<CODE>&nbsp;boolean</CODE></FONT></TD>
 789<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#isFoldEnd(int)">isFoldEnd</A></B>(int&nbsp;line)</CODE>
 790
 791<BR>
 792&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if the specified line ends a fold.</TD>
 793</TR>
 794<TR BGCOLOR="white" CLASS="TableRowColor">
 795<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 796<CODE>&nbsp;boolean</CODE></FONT></TD>
 797<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#isFoldStart(int)">isFoldStart</A></B>(int&nbsp;line)</CODE>
 798
 799<BR>
 800&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if the specified line begins a fold.</TD>
 801</TR>
 802<TR BGCOLOR="white" CLASS="TableRowColor">
 803<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 804<CODE>&nbsp;boolean</CODE></FONT></TD>
 805<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#isLoading()">isLoading</A></B>()</CODE>
 806
 807<BR>
 808&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 809</TR>
 810<TR BGCOLOR="white" CLASS="TableRowColor">
 811<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 812<CODE>&nbsp;boolean</CODE></FONT></TD>
 813<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#isPerformingIO()">isPerformingIO</A></B>()</CODE>
 814
 815<BR>
 816&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the buffer is currently performing I/O.</TD>
 817</TR>
 818<TR BGCOLOR="white" CLASS="TableRowColor">
 819<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 820<CODE>&nbsp;boolean</CODE></FONT></TD>
 821<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#isReadOnly()">isReadOnly</A></B>()</CODE>
 822
 823<BR>
 824&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this file is read only, false otherwise.</TD>
 825</TR>
 826<TR BGCOLOR="white" CLASS="TableRowColor">
 827<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 828<CODE>&nbsp;boolean</CODE></FONT></TD>
 829<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#isTransactionInProgress()">isTransactionInProgress</A></B>()</CODE>
 830
 831<BR>
 832&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if an undo or compound edit is currently in progress.</TD>
 833</TR>
 834<TR BGCOLOR="white" CLASS="TableRowColor">
 835<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 836<CODE>&nbsp;boolean</CODE></FONT></TD>
 837<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#isUndoInProgress()">isUndoInProgress</A></B>()</CODE>
 838
 839<BR>
 840&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if an undo or redo is currently being performed.</TD>
 841</TR>
 842<TR BGCOLOR="white" CLASS="TableRowColor">
 843<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 844<CODE>protected &nbsp;void</CODE></FONT></TD>
 845<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#loadText(javax.swing.text.Segment, org.gjt.sp.util.IntegerArray)">loadText</A></B>(javax.swing.text.Segment&nbsp;seg,
 846         <A HREF="../../../../../org/gjt/sp/util/IntegerArray.html" title="class in org.gjt.sp.util">IntegerArray</A>&nbsp;endOffsets)</CODE>
 847
 848<BR>
 849&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 850</TR>
 851<TR BGCOLOR="white" CLASS="TableRowColor">
 852<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 853<CODE>&nbsp;void</CODE></FONT></TD>
 854<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#markTokens(int, org.gjt.sp.jedit.syntax.TokenHandler)">markTokens</A></B>(int&nbsp;lineIndex,
 855           <A HREF="../../../../../org/gjt/sp/jedit/syntax/TokenHandler.html" title="interface in org.gjt.sp.jedit.syntax">TokenHandler</A>&nbsp;tokenHandler)</CODE>
 856
 857<BR>
 858&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the syntax tokens for the specified line.</TD>
 859</TR>
 860<TR BGCOLOR="white" CLASS="TableRowColor">
 861<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 862<CODE>protected &nbsp;void</CODE></FONT></TD>
 863<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#parseBufferLocalProperties()">parseBufferLocalProperties</A></B>()</CODE>
 864
 865<BR>
 866&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 867</TR>
 868<TR BGCOLOR="white" CLASS="TableRowColor">
 869<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 870<CODE>&nbsp;void</CODE></FONT></TD>
 871<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#propertiesChanged()">propertiesChanged</A></B>()</CODE>
 872
 873<BR>
 874&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reloads settings from the properties.</TD>
 875</TR>
 876<TR BGCOLOR="white" CLASS="TableRowColor">
 877<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 878<CODE>&nbsp;void</CODE></FONT></TD>
 879<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#readLock()">readLock</A></B>()</CODE>
 880
 881<BR>
 882&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The buffer is guaranteed not to change between calls to
 883 <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#readLock()"><CODE>readLock()</CODE></A> and <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#readUnlock()"><CODE>readUnlock()</CODE></A>.</TD>
 884</TR>
 885<TR BGCOLOR="white" CLASS="TableRowColor">
 886<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 887<CODE>&nbsp;void</CODE></FONT></TD>
 888<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#readUnlock()">readUnlock</A></B>()</CODE>
 889
 890<BR>
 891&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The buffer is guaranteed not to change between calls to
 892 <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#readLock()"><CODE>readLock()</CODE></A> and <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#readUnlock()"><CODE>readUnlock()</CODE></A>.</TD>
 893</TR>
 894<TR BGCOLOR="white" CLASS="TableRowColor">
 895<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 896<CODE>&nbsp;void</CODE></FONT></TD>
 897<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#redo(org.gjt.sp.jedit.textarea.TextArea)">redo</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/textarea/TextArea.html" title="class in org.gjt.sp.jedit.textarea">TextArea</A>&nbsp;textArea)</CODE>
 898
 899<BR>
 900&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Redoes the most recently undone edit.</TD>
 901</TR>
 902<TR BGCOLOR="white" CLASS="TableRowColor">
 903<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 904<CODE>&nbsp;void</CODE></FONT></TD>
 905<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#remove(int, int)">remove</A></B>(int&nbsp;offset,
 906       int&nbsp;length)</CODE>
 907
 908<BR>
 909&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the specified rang efrom the buffer.</TD>
 910</TR>
 911<TR BGCOLOR="white" CLASS="TableRowColor">
 912<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 913<CODE>&nbsp;void</CODE></FONT></TD>
 914<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#removeBufferListener(org.gjt.sp.jedit.buffer.BufferListener)">removeBufferListener</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/buffer/BufferListener.html" title="interface in org.gjt.sp.jedit.buffer">BufferListener</A>&nbsp;listener)</CODE>
 915
 916<BR>
 917&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a buffer change listener.</TD>
 918</TR>
 919<TR BGCOLOR="white" CLASS="TableRowColor">
 920<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 921<CODE>&nbsp;void</CODE></FONT></TD>
 922<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#removeTrailingWhiteSpace(int[])">removeTrailingWhiteSpace</A></B>(int[]&nbsp;lines)</CODE>
 923
 924<BR>
 925&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes trailing whitespace from all lines in the specified list.</TD>
 926</TR>
 927<TR BGCOLOR="white" CLASS="TableRowColor">
 928<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 929<CODE>&nbsp;void</CODE></FONT></TD>
 930<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#resetCachedProperties()">resetCachedProperties</A></B>()</CODE>
 931
 932<BR>
 933&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 934</TR>
 935<TR BGCOLOR="white" CLASS="TableRowColor">
 936<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 937<CODE>&nbsp;void</CODE></FONT></TD>
 938<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setBooleanProperty(java.lang.String, boolean)">setBooleanProperty</A></B>(java.lang.String&nbsp;name,
 939                   boolean&nbsp;value)</CODE>
 940
 941<BR>
 942&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a boolean property.</TD>
 943</TR>
 944<TR BGCOLOR="white" CLASS="TableRowColor">
 945<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 946<CODE>&nbsp;void</CODE></FONT></TD>
 947<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setDefaultProperty(java.lang.String, java.lang.Object)">setDefaultProperty</A></B>(java.lang.String&nbsp;name,
 948                   java.lang.Object&nbsp;value)</CODE>
 949
 950<BR>
 951&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 952</TR>
 953<TR BGCOLOR="white" CLASS="TableRowColor">
 954<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 955<CODE>&nbsp;void</CODE></FONT></TD>
 956<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setDirty(boolean)">setDirty</A></B>(boolean&nbsp;d)</CODE>
 957
 958<BR>
 959&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the 'dirty' (changed since last save) flag of this buffer.</TD>
 960</TR>
 961<TR BGCOLOR="white" CLASS="TableRowColor">
 962<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 963<CODE>protected &nbsp;void</CODE></FONT></TD>
 964<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setFileReadOnly(boolean)">setFileReadOnly</A></B>(boolean&nbsp;readOnly)</CODE>
 965
 966<BR>
 967&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 968</TR>
 969<TR BGCOLOR="white" CLASS="TableRowColor">
 970<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 971<CODE>&nbsp;void</CODE></FONT></TD>
 972<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setFoldHandler(org.gjt.sp.jedit.buffer.FoldHandler)">setFoldHandler</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/buffer/FoldHandler.html" title="class in org.gjt.sp.jedit.buffer">FoldHandler</A>&nbsp;foldHandler)</CODE>
 973
 974<BR>
 975&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the buffer's fold handler.</TD>
 976</TR>
 977<TR BGCOLOR="white" CLASS="TableRowColor">
 978<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 979<CODE>&nbsp;void</CODE></FONT></TD>
 980<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setIntegerProperty(java.lang.String, int)">setIntegerProperty</A></B>(java.lang.String&nbsp;name,
 981                   int&nbsp;value)</CODE>
 982
 983<BR>
 984&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets an integer property.</TD>
 985</TR>
 986<TR BGCOLOR="white" CLASS="TableRowColor">
 987<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 988<CODE>&nbsp;void</CODE></FONT></TD>
 989<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setLoading(boolean)">setLoading</A></B>(boolean&nbsp;loading)</CODE>
 990
 991<BR>
 992&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 993</TR>
 994<TR BGCOLOR="white" CLASS="TableRowColor">
 995<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 996<CODE>&nbsp;void</CODE></FONT></TD>
 997<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setMode(org.gjt.sp.jedit.Mode)">setMode</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A>&nbsp;mode)</CODE>
 998
 999<BR>
1000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this buffer's edit mode.</TD>
1001</TR>
1002<TR BGCOLOR="white" CLASS="TableRowColor">
1003<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1004<CODE>&nbsp;void</CODE></FONT></TD>
1005<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setMode(java.lang.String)">setMode</A></B>(java.lang.String&nbsp;mode)</CODE>
1006
1007<BR>
1008&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this buffer's edit mode.</TD>
1009</TR>
1010<TR BGCOLOR="white" CLASS="TableRowColor">
1011<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1012<CODE>&nbsp;void</CODE></FONT></TD>
1013<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setPerformingIO(boolean)">setPerformingIO</A></B>(boolean&nbsp;io)</CODE>
1014
1015<BR>
1016&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the buffer is currently performing I/O.</TD>
1017</TR>
1018<TR BGCOLOR="white" CLASS="TableRowColor">
1019<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1020<CODE>&nbsp;void</CODE></FONT></TD>
1021<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A></B>(java.lang.String&nbsp;name,
1022            java.lang.Object&nbsp;value)</CODE>
1023
1024<BR>
1025&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of a buffer-local property.</TD>
1026</TR>
1027<TR BGCOLOR="white" CLASS="TableRowColor">
1028<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1029<CODE>&nbsp;void</CODE></FONT></TD>
1030<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setReadOnly(boolean)">setReadOnly</A></B>(boolean&nbsp;readOnly)</CODE>
1031
1032<BR>
1033&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the read only flag.</TD>
1034</TR>
1035<TR BGCOLOR="white" CLASS="TableRowColor">
1036<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1037<CODE>&nbsp;void</CODE></FONT></TD>
1038<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setStringProperty(java.lang.String, java.lang.String)">setStringProperty</A></B>(java.lang.String&nbsp;name,
1039                  java.lang.String&nbsp;value)</CODE>
1040
1041<BR>
1042&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a string property.</TD>
1043</TR>
1044<TR BGCOLOR="white" CLASS="TableRowColor">
1045<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1046<CODE>&nbsp;void</CODE></FONT></TD>
1047<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setTokenMarker(org.gjt.sp.jedit.syntax.TokenMarker)">setTokenMarker</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/syntax/TokenMarker.html" title="class in org.gjt.sp.jedit.syntax">TokenMarker</A>&nbsp;tokenMarker)</CODE>
1048
1049<BR>
1050&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
1051</TR>
1052<TR BGCOLOR="white" CLASS="TableRowColor">
1053<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1054<CODE>&nbsp;void</CODE></FONT></TD>
1055<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#shiftIndentLeft(int[])">shiftIndentLeft</A></B>(int[]&nbsp;lines)</CODE>
1056
1057<BR>
1058&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shifts the indent of each line in the specified list to the left.</TD>
1059</TR>
1060<TR BGCOLOR="white" CLASS="TableRowColor">
1061<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1062<CODE>&nbsp;void</CODE></FONT></TD>
1063<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#shiftIndentRight(int[])">shiftIndentRight</A></B>(int[]&nbsp;lines)</CODE>
1064
1065<BR>
1066&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shifts the indent of each line in the specified list to the right.</TD>
1067</TR>
1068<TR BGCOLOR="white" CLASS="TableRowColor">
1069<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1070<CODE>&nbsp;void</CODE></FONT></TD>
1071<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#undo(org.gjt.sp.jedit.textarea.TextArea)">undo</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/textarea/TextArea.html" title="class in org.gjt.sp.jedit.textarea">TextArea</A>&nbsp;textArea)</CODE>
1072
1073<BR>
1074&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Undoes the most recent edit.</TD>
1075</TR>
1076<TR BGCOLOR="white" CLASS="TableRowColor">
1077<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1078<CODE>&nbsp;void</CODE></FONT></TD>
1079<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#unsetProperty(java.lang.String)">unsetProperty</A></B>(java.lang.String&nbsp;name)</CODE>
1080
1081<BR>
1082&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the value of a buffer-local property.</TD>
1083</TR>
1084<TR BGCOLOR="white" CLASS="TableRowColor">
1085<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1086<CODE>&nbsp;void</CODE></FONT></TD>
1087<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#writeLock()">writeLock</A></B>()</CODE>
1088
1089<BR>
1090&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Attempting to obtain read lock will block between calls to
1091 <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#writeLock()"><CODE>writeLock()</CODE></A> and <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#writeUnlock()"><CODE>writeUnlock()</CODE></A>.</TD>
1092</TR>
1093<TR BGCOLOR="white" CLASS="TableRowColor">
1094<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1095<CODE>&nbsp;void</CODE></FONT></TD>
1096<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#writeUnlock()">writeUnlock</A></B>()</CODE>
1097
1098<BR>
1099&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Attempting to obtain read lock will block between calls to
1100 <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#writeLock()"><CODE>writeLock()</CODE></A> and <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#writeUnlock()"><CODE>writeUnlock()</CODE></A>.</TD>
1101</TR>
1102</TABLE>
1103&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
1104<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
1105<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
1106<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
1107</TR>
1108<TR BGCOLOR="white" CLASS="TableRowColor">
1109<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
1110</TR>
1111</TABLE>
1112&nbsp;
1113<P>
1114
1115<!-- ============ FIELD DETAIL =========== -->
1116
1117<A NAME="field_detail"><!-- --></A>
1118<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
1119<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
1120<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
1121<B>Field Detail</B></FONT></TH>
1122</TR>
1123</TABLE>
1124
1125<A NAME="LINESEP"><!-- --></A><H3>
1126LINESEP</H3>
1127<PRE>
1128public static final java.lang.String <B>LINESEP</B></PRE>
1129<DL>
1130<DD>Line separator property.
1131<P>
1132<DL>
1133<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.buffer.JEditBuffer.LINESEP">Constant Field Values</A></DL>
1134</DL>
1135<HR>
1136
1137<A NAME="ENCODING"><!-- --></A><H3>
1138ENCODING</H3>
1139<PRE>
1140public static final java.lang.String <B>ENCODING</B></PRE>
1141<DL>
1142<DD>Character encoding used when loading and saving.
1143<P>
1144<DL>
1145<DT><B>Since:</B></DT>
1146  <DD>jEdit 3.2pre4</DD>
1147<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.buffer.JEditBuffer.ENCODING">Constant Field Values</A></DL>
1148</DL>
1149<HR>
1150
1151<A NAME="NORMAL_PRIORITY"><!-- --></A><H3>
1152NORMAL_PRIORITY</H3>
1153<PRE>
1154public static final int <B>NORMAL_PRIORITY</B></PRE>
1155<DL>
1156<DL>
1157<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.buffer.JEditBuffer.NORMAL_PRIORITY">Constant Field Values</A></DL>
1158</DL>
1159<HR>
1160
1161<A NAME="HIGH_PRIORITY"><!-- --></A><H3>
1162HIGH_PRIORITY</H3>
1163<PRE>
1164public static final int <B>HIGH_PRIORITY</B></PRE>
1165<DL>
1166<DL>
1167<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.buffer.JEditBuffer.HIGH_PRIORITY">Constant Field Values</A></DL>
1168</DL>
1169<HR>
1170
1171<A NAME="mode"><!-- --></A><H3>
1172mode</H3>
1173<PRE>
1174protected <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A> <B>mode</B></PRE>
1175<DL>
1176<DL>
1177</DL>
1178</DL>
1179<HR>
1180
1181<A NAME="seg"><!-- --></A><H3>
1182seg</H3>
1183<PRE>
1184protected javax.swing.text.Segment <B>seg</B></PRE>
1185<DL>
1186<DL>
1187</DL>
1188</DL>
1189<HR>
1190
1191<A NAME="textMode"><!-- --></A><H3>
1192textMode</H3>
1193<PRE>
1194protected boolean <B>textMode</B></PRE>
1195<DL>
1196<DL>
1197</DL>
1198</DL>
1199<HR>
1200
1201<A NAME="undoMgr"><!-- --></A><H3>
1202undoMgr</H3>
1203<PRE>
1204protected <A HREF="../../../../../org/gjt/sp/jedit/buffer/UndoManager.html" title="class in org.gjt.sp.jedit.buffer">UndoManager</A> <B>undoMgr</B></PRE>
1205<DL>
1206<DL>
1207</DL>
1208</DL>
1209
1210<!-- ========= CONSTRUCTOR DETAIL ======== -->
1211
1212<A NAME="constructor_detail"><!-- --></A>
1213<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
1214<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
1215<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
1216<B>Constructor Detail</B></FONT></TH>
1217</TR>
1218</TABLE>
1219
1220<A NAME="JEditBuffer(java.util.Map)"><!-- --></A><H3>
1221JEditBuffer</H3>
1222<PRE>
1223public <B>JEditBuffer</B>(java.util.Map&nbsp;props)</PRE>
1224<DL>
1225</DL>
1226<HR>
1227
1228<A NAME="JEditBuffer()"><!-- --></A><H3>
1229JEditBuffer</H3>
1230<PRE>
1231public <B>JEditBuffer</B>()</PRE>
1232<DL>
1233<DD>Create a new JEditBuffer.
1234 It is used by independent textarea only
1235<P>
1236</DL>
1237
1238<!-- ============ METHOD DETAIL ========== -->
1239
1240<A NAME="method_detail"><!-- --></A>
1241<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
1242<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
1243<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
1244<B>Method Detail</B></FONT></TH>
1245</TR>
1246</TABLE>
1247
1248<A NAME="isDirty()"><!-- --></A><H3>
1249isDirty</H3>
1250<PRE>
1251public boolean <B>isDirty</B>()</PRE>
1252<DL>
1253<DD>Returns whether there have been unsaved changes to this buffer.
1254 This method is thread-safe.
1255<P>
1256<DD><DL>
1257</DL>
1258</DD>
1259</DL>
1260<HR>
1261
1262<A NAME="isLoading()"><!-- --></A><H3>
1263isLoading</H3>
1264<PRE>
1265public boolean <B>isLoading</B>()</PRE>
1266<DL>
1267<DD><DL>
1268</DL>
1269</DD>
1270</DL>
1271<HR>
1272
1273<A NAME="setLoading(boolean)"><!-- --></A><H3>
1274setLoading</H3>
1275<PRE>
1276public void <B>setLoading</B>(boolean&nbsp;loading)</PRE>
1277<DL>
1278<DD><DL>
1279</DL>
1280</DD>
1281</DL>
1282<HR>
1283
1284<A NAME="isPerformingIO()"><!-- --></A><H3>
1285isPerformingIO</H3>
1286<PRE>
1287public boolean <B>isPerformingIO</B>()</PRE>
1288<DL>
1289<DD>Returns true if the buffer is currently performing I/O.
1290 This method is thread-safe.
1291<P>
1292<DD><DL>
1293<DT><B>Since:</B></DT>
1294  <DD>jEdit 2.7pre1</DD>
1295</DL>
1296</DD>
1297</DL>
1298<HR>
1299
1300<A NAME="setPerformingIO(boolean)"><!-- --></A><H3>
1301setPerformingIO</H3>
1302<PRE>
1303public void <B>setPerformingIO</B>(boolean&nbsp;io)</PRE>
1304<DL>
1305<DD>Returns true if the buffer is currently performing I/O.
1306 This method is thread-safe.
1307<P>
1308<DD><DL>
1309<DT><B>Since:</B></DT>
1310  <DD>jEdit 2.7pre1</DD>
1311</DL>
1312</DD>
1313</DL>
1314<HR>
1315
1316<A NAME="isEditable()"><!-- --></A><H3>
1317isEditable</H3>
1318<PRE>
1319public boolean <B>isEditable</B>()</PRE>
1320<DL>
1321<DD>Returns true if this file is editable, false otherwise. A file may
1322 become uneditable if it is read only, or if I/O is in progress.
1323 This method is thread-safe.
1324<P>
1325<DD><DL>
1326<DT><B>Since:</B></DT>
1327  <DD>jEdit 2.7pre1</DD>
1328</DL>
1329</DD>
1330</DL>
1331<HR>
1332
1333<A NAME="isReadOnly()"><!-- --></A><H3>
1334isReadOnly</H3>
1335<PRE>
1336public boolean <B>isReadOnly</B>()</PRE>
1337<DL>
1338<DD>Returns true if this file is read only, false otherwise.
1339 This method is thread-safe.
1340<P>
1341<DD><DL>
1342</DL>
1343</DD>
1344</DL>
1345<HR>
1346
1347<A NAME="setReadOnly(boolean)"><!-- --></A><H3>
1348setReadOnly</H3>
1349<PRE>
1350public void <B>setReadOnly</B>(boolean&nbsp;readOnly)</PRE>
1351<DL>
1352<DD>Sets the read only flag.
1353<P>
1354<DD><DL>
1355<DT><B>Parameters:</B><DD><CODE>readOnly</CODE> - The read only flag</DL>
1356</DD>
1357</DL>
1358<HR>
1359
1360<A NAME="setDirty(boolean)"><!-- --></A><H3>
1361setDirty</H3>
1362<PRE>
1363public void <B>setDirty</B>(boolean&nbsp;d)</PRE>
1364<DL>
1365<DD>Sets the 'dirty' (changed since last save) flag of this buffer.
1366<P>
1367<DD><DL>
1368</DL>
1369</DD>
1370</DL>
1371<HR>
1372
1373<A NAME="readLock()"><!-- --></A><H3>
1374readLock</H3>
1375<PRE>
1376public void <B>readLock</B>()</PRE>
1377<DL>
1378<DD>The buffer is guaranteed not to change between calls to
1379 <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#readLock()"><CODE>readLock()</CODE></A> and <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#readUnlock()"><CODE>readUnlock()</CODE></A>.
1380<P>
1381<DD><DL>
1382</DL>
1383</DD>
1384</DL>
1385<HR>
1386
1387<A NAME="readUnlock()"><!-- --></A><H3>
1388readUnlock</H3>
1389<PRE>
1390public void <B>readUnlock</B>()</PRE>
1391<DL>
1392<DD>The buffer is guaranteed not to change between calls to
1393 <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#readLock()"><CODE>readLock()</CODE></A> and <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#readUnlock()"><CODE>readUnlock()</CODE></A>.
1394<P>
1395<DD><DL>
1396</DL>
1397</DD>
1398</DL>
1399<HR>
1400
1401<A NAME="writeLock()"><!-- --></A><H3>
1402writeLock</H3>
1403<PRE>
1404public void <B>writeLock</B>()</PRE>
1405<DL>
1406<DD>Attempting to obtain read lock will block between calls to
1407 <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#writeLock()"><CODE>writeLock()</CODE></A> and <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#writeUnlock()"><CODE>writeUnlock()</CODE></A>.
1408<P>
1409<DD><DL>
1410</DL>
1411</DD>
1412</DL>
1413<HR>
1414
1415<A NAME="writeUnlock()"><!-- --></A><H3>
1416writeUnlock</H3>
1417<PRE>
1418public void <B>writeUnlock</B>()</PRE>
1419<DL>
1420<DD>Attempting to obtain read lock will block between calls to
1421 <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#writeLock()"><CODE>writeLock()</CODE></A> and <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#writeUnlock()"><CODE>writeUnlock()</CODE></A>.
1422<P>
1423<DD><DL>
1424</DL>
1425</DD>
1426</DL>
1427<HR>
1428
1429<A NAME="getLength()"><!-- --></A><H3>
1430getLength</H3>
1431<PRE>
1432public int <B>getLength</B>()</PRE>
1433<DL>
1434<DD>Returns the number of characters in the buffer. This method is thread-safe.
1435<P>
1436<DD><DL>
1437</DL>
1438</DD>
1439</DL>
1440<HR>
1441
1442<A NAME="getLineCount()"><!-- --></A><H3>
1443getLineCount</H3>
1444<PRE>
1445public int <B>getLineCount</B>()</PRE>
1446<DL>
1447<DD>Returns the number of physical lines in the buffer.
1448 This method is thread-safe.
1449<P>
1450<DD><DL>
1451<DT><B>Since:</B></DT>
1452  <DD>jEdit 3.1pre1</DD>
1453</DL>
1454</DD>
1455</DL>
1456<HR>
1457
1458<A NAME="getLineOfOffset(int)"><!-- --></A><H3>
1459getLineOfOffset</H3>
1460<PRE>
1461public int <B>getLineOfOffset</B>(int&nbsp;offset)</PRE>
1462<DL>
1463<DD>Returns the line containing the specified offset.
1464 This method is thread-safe.
1465<P>
1466<DD><DL>
1467<DT><B>Parameters:</B><DD><CODE>offset</CODE> - The offset<DT><B>Since:</B></DT>
1468  <DD>jEdit 4.0pre1</DD>
1469</DL>
1470</DD>
1471</DL>
1472<HR>
1473
1474<A NAME="getLineStartOffset(int)"><!-- --></A><H3>
1475getLineStartOffset</H3>
1476<PRE>
1477public int <B>getLineStartOffset</B>(int&nbsp;line)</PRE>
1478<DL>
1479<DD>Returns the start offset of the specified line.
1480 This method is thread-safe.
1481<P>
1482<DD><DL>
1483<DT><B>Parameters:</B><DD><CODE>line</CODE> - The line
1484<DT><B>Returns:</B><DD>The start offset of the specified line<DT><B>Since:</B></DT>
1485  <DD>jEdit 4.0pre1</DD>
1486</DL>
1487</DD>
1488</DL>
1489<HR>
1490
1491<A NAME="getLineEndOffset(int)"><!-- --></A><H3>
1492getLineEndOffset</H3>
1493<PRE>
1494public int <B>getLineEndOffset</B>(int&nbsp;line)</PRE>
1495<DL>
1496<DD>Returns the end offset of the specified line.
1497 This method is thread-safe.
1498<P>
1499<DD><DL>
1500<DT><B>Parameters:</B><DD><CODE>line</CODE> - The line
1501<DT><B>Returns:</B><DD>The end offset of the specified line
1502 invalid.<DT><B>Since:</B></DT>
1503  <DD>jEdit 4.0pre1</DD>