mirror of
				https://github.com/esp8266/Arduino.git
				synced 2025-11-03 14:33:37 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			483 lines
		
	
	
		
			19 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			483 lines
		
	
	
		
			19 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 | 
						|
<!--NewPage-->
 | 
						|
<HTML>
 | 
						|
<HEAD>
 | 
						|
<TITLE>
 | 
						|
SyntaxDocument
 | 
						|
</TITLE>
 | 
						|
 | 
						|
<META NAME="keywords" CONTENT="processing.app.syntax.SyntaxDocument class">
 | 
						|
 | 
						|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
 | 
						|
 | 
						|
<SCRIPT type="text/javascript">
 | 
						|
function windowTitle()
 | 
						|
{
 | 
						|
    parent.document.title="SyntaxDocument";
 | 
						|
}
 | 
						|
</SCRIPT>
 | 
						|
<NOSCRIPT>
 | 
						|
</NOSCRIPT>
 | 
						|
 | 
						|
</HEAD>
 | 
						|
 | 
						|
<BODY BGCOLOR="white" onload="windowTitle();">
 | 
						|
 | 
						|
 | 
						|
<!-- ========= START OF TOP NAVBAR ======= -->
 | 
						|
<A NAME="navbar_top"><!-- --></A>
 | 
						|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 | 
						|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR>
 | 
						|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 | 
						|
<A NAME="navbar_top_firstrow"><!-- --></A>
 | 
						|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 | 
						|
  <TR ALIGN="center" VALIGN="top">
 | 
						|
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
 | 
						|
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
 | 
						|
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
 | 
						|
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
 | 
						|
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
 | 
						|
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
 | 
						|
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
 | 
						|
  </TR>
 | 
						|
</TABLE>
 | 
						|
</TD>
 | 
						|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 | 
						|
</EM>
 | 
						|
</TD>
 | 
						|
</TR>
 | 
						|
 | 
						|
<TR>
 | 
						|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 | 
						|
 <A HREF="../../../processing/app/syntax/PdeTextAreaDefaults.html" title="class in processing.app.syntax"><B>PREV CLASS</B></A> 
 | 
						|
 <A HREF="../../../processing/app/syntax/SyntaxStyle.html" title="class in processing.app.syntax"><B>NEXT CLASS</B></A></FONT></TD>
 | 
						|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 | 
						|
  <A HREF="../../../index.html?processing/app/syntax/SyntaxDocument.html" target="_top"><B>FRAMES</B></A>   
 | 
						|
 <A HREF="SyntaxDocument.html" target="_top"><B>NO FRAMES</B></A>   
 | 
						|
 <SCRIPT type="text/javascript">
 | 
						|
  <!--
 | 
						|
  if(window==top) {
 | 
						|
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
 | 
						|
  }
 | 
						|
  //-->
 | 
						|
</SCRIPT>
 | 
						|
<NOSCRIPT>
 | 
						|
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
 | 
						|
</NOSCRIPT>
 | 
						|
 | 
						|
 | 
						|
</FONT></TD>
 | 
						|
</TR>
 | 
						|
<TR>
 | 
						|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 | 
						|
  SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.text.AbstractDocument">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.text.PlainDocument">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
 | 
						|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 | 
						|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
<A NAME="skip-navbar_top"></A>
 | 
						|
<!-- ========= END OF TOP NAVBAR ========= -->
 | 
						|
 | 
						|
<HR>
 | 
						|
<!-- ======== START OF CLASS DATA ======== -->
 | 
						|
<H2>
 | 
						|
<FONT SIZE="-1">
 | 
						|
processing.app.syntax</FONT>
 | 
						|
<BR>
 | 
						|
Class SyntaxDocument</H2>
 | 
						|
<PRE>
 | 
						|
java.lang.Object
 | 
						|
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">javax.swing.text.AbstractDocument
 | 
						|
      <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">javax.swing.text.PlainDocument
 | 
						|
          <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>processing.app.syntax.SyntaxDocument</B>
 | 
						|
</PRE>
 | 
						|
<DL>
 | 
						|
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, javax.swing.text.Document</DD>
 | 
						|
</DL>
 | 
						|
<HR>
 | 
						|
<DL>
 | 
						|
<DT><PRE>public class <B>SyntaxDocument</B><DT>extends javax.swing.text.PlainDocument</DL>
 | 
						|
</PRE>
 | 
						|
 | 
						|
<P>
 | 
						|
A document implementation that can be tokenized by the syntax highlighting
 | 
						|
 system.
 | 
						|
<P>
 | 
						|
 | 
						|
<P>
 | 
						|
<DL>
 | 
						|
<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#processing.app.syntax.SyntaxDocument">Serialized Form</A></DL>
 | 
						|
<HR>
 | 
						|
 | 
						|
<P>
 | 
						|
<!-- ======== NESTED CLASS SUMMARY ======== -->
 | 
						|
 | 
						|
<A NAME="nested_class_summary"><!-- --></A>
 | 
						|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 | 
						|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 | 
						|
<B>Nested Class Summary</B></FONT></TH>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
 <A NAME="nested_classes_inherited_from_class_javax.swing.text.AbstractDocument"><!-- --></A>
 | 
						|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 | 
						|
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.text.AbstractDocument</B></TH>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD><CODE>javax.swing.text.AbstractDocument.AbstractElement, javax.swing.text.AbstractDocument.AttributeContext, javax.swing.text.AbstractDocument.BranchElement, javax.swing.text.AbstractDocument.Content, javax.swing.text.AbstractDocument.DefaultDocumentEvent, javax.swing.text.AbstractDocument.ElementEdit, javax.swing.text.AbstractDocument.LeafElement</CODE></TD>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
 
 | 
						|
<!-- =========== FIELD SUMMARY =========== -->
 | 
						|
 | 
						|
<A NAME="field_summary"><!-- --></A>
 | 
						|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 | 
						|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 | 
						|
<B>Field Summary</B></FONT></TH>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
 <A NAME="fields_inherited_from_class_javax.swing.text.PlainDocument"><!-- --></A>
 | 
						|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 | 
						|
<TH ALIGN="left"><B>Fields inherited from class javax.swing.text.PlainDocument</B></TH>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD><CODE>lineLimitAttribute, tabSizeAttribute</CODE></TD>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
 <A NAME="fields_inherited_from_class_javax.swing.text.AbstractDocument"><!-- --></A>
 | 
						|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 | 
						|
<TH ALIGN="left"><B>Fields inherited from class javax.swing.text.AbstractDocument</B></TH>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD><CODE>BidiElementName, ContentElementName, ElementNameAttribute, ParagraphElementName, SectionElementName</CODE></TD>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
 <A NAME="fields_inherited_from_class_javax.swing.text.Document"><!-- --></A>
 | 
						|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 | 
						|
<TH ALIGN="left"><B>Fields inherited from interface javax.swing.text.Document</B></TH>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD><CODE>StreamDescriptionProperty, TitleProperty</CODE></TD>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
 
 | 
						|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 | 
						|
 | 
						|
<A NAME="constructor_summary"><!-- --></A>
 | 
						|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 | 
						|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 | 
						|
<B>Constructor Summary</B></FONT></TH>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD><CODE><B><A HREF="../../../processing/app/syntax/SyntaxDocument.html#SyntaxDocument()">SyntaxDocument</A></B>()</CODE>
 | 
						|
 | 
						|
<BR>
 | 
						|
           </TD>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
 
 | 
						|
<!-- ========== METHOD SUMMARY =========== -->
 | 
						|
 | 
						|
<A NAME="method_summary"><!-- --></A>
 | 
						|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 | 
						|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 | 
						|
<B>Method Summary</B></FONT></TH>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 | 
						|
<CODE> void</CODE></FONT></TD>
 | 
						|
<TD><CODE><B><A HREF="../../../processing/app/syntax/SyntaxDocument.html#addUndoableEdit(javax.swing.undo.UndoableEdit)">addUndoableEdit</A></B>(javax.swing.undo.UndoableEdit edit)</CODE>
 | 
						|
 | 
						|
<BR>
 | 
						|
          Adds an undoable edit to this document's undo list.</TD>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 | 
						|
<CODE> void</CODE></FONT></TD>
 | 
						|
<TD><CODE><B><A HREF="../../../processing/app/syntax/SyntaxDocument.html#beginCompoundEdit()">beginCompoundEdit</A></B>()</CODE>
 | 
						|
 | 
						|
<BR>
 | 
						|
          Starts a compound edit that can be undone in one operation.</TD>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 | 
						|
<CODE> void</CODE></FONT></TD>
 | 
						|
<TD><CODE><B><A HREF="../../../processing/app/syntax/SyntaxDocument.html#endCompoundEdit()">endCompoundEdit</A></B>()</CODE>
 | 
						|
 | 
						|
<BR>
 | 
						|
          Ends a compound edit that can be undone in one operation.</TD>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 | 
						|
<CODE> <A HREF="../../../processing/app/syntax/TokenMarker.html" title="class in processing.app.syntax">TokenMarker</A></CODE></FONT></TD>
 | 
						|
<TD><CODE><B><A HREF="../../../processing/app/syntax/SyntaxDocument.html#getTokenMarker()">getTokenMarker</A></B>()</CODE>
 | 
						|
 | 
						|
<BR>
 | 
						|
          Returns the token marker that is to be used to split lines
 | 
						|
 of this document up into tokens.</TD>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 | 
						|
<CODE> void</CODE></FONT></TD>
 | 
						|
<TD><CODE><B><A HREF="../../../processing/app/syntax/SyntaxDocument.html#setTokenMarker(processing.app.syntax.TokenMarker)">setTokenMarker</A></B>(<A HREF="../../../processing/app/syntax/TokenMarker.html" title="class in processing.app.syntax">TokenMarker</A> tm)</CODE>
 | 
						|
 | 
						|
<BR>
 | 
						|
          Sets the token marker that is to be used to split lines of
 | 
						|
 this document up into tokens.</TD>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 | 
						|
<CODE> void</CODE></FONT></TD>
 | 
						|
<TD><CODE><B><A HREF="../../../processing/app/syntax/SyntaxDocument.html#tokenizeLines()">tokenizeLines</A></B>()</CODE>
 | 
						|
 | 
						|
<BR>
 | 
						|
          Reparses the document, by passing all lines to the token
 | 
						|
 marker.</TD>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 | 
						|
<CODE> void</CODE></FONT></TD>
 | 
						|
<TD><CODE><B><A HREF="../../../processing/app/syntax/SyntaxDocument.html#tokenizeLines(int, int)">tokenizeLines</A></B>(int start,
 | 
						|
              int len)</CODE>
 | 
						|
 | 
						|
<BR>
 | 
						|
          Reparses the document, by passing the specified lines to the
 | 
						|
 token marker.</TD>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
 <A NAME="methods_inherited_from_class_javax.swing.text.PlainDocument"><!-- --></A>
 | 
						|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 | 
						|
<TH ALIGN="left"><B>Methods inherited from class javax.swing.text.PlainDocument</B></TH>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD><CODE>getDefaultRootElement, getParagraphElement, insertString</CODE></TD>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
 <A NAME="methods_inherited_from_class_javax.swing.text.AbstractDocument"><!-- --></A>
 | 
						|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 | 
						|
<TH ALIGN="left"><B>Methods inherited from class javax.swing.text.AbstractDocument</B></TH>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD><CODE>addDocumentListener, addUndoableEditListener, createPosition, dump, getAsynchronousLoadPriority, getBidiRootElement, getDocumentFilter, getDocumentListeners, getDocumentProperties, getEndPosition, getLength, getListeners, getProperty, getRootElements, getStartPosition, getText, getText, getUndoableEditListeners, putProperty, readLock, readUnlock, remove, removeDocumentListener, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties</CODE></TD>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
 | 
						|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 | 
						|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
 | 
						|
</TR>
 | 
						|
<TR BGCOLOR="white" CLASS="TableRowColor">
 | 
						|
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
 
 | 
						|
<P>
 | 
						|
 | 
						|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 | 
						|
 | 
						|
<A NAME="constructor_detail"><!-- --></A>
 | 
						|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 | 
						|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
 | 
						|
<B>Constructor Detail</B></FONT></TH>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
 | 
						|
<A NAME="SyntaxDocument()"><!-- --></A><H3>
 | 
						|
SyntaxDocument</H3>
 | 
						|
<PRE>
 | 
						|
public <B>SyntaxDocument</B>()</PRE>
 | 
						|
<DL>
 | 
						|
</DL>
 | 
						|
 | 
						|
<!-- ============ METHOD DETAIL ========== -->
 | 
						|
 | 
						|
<A NAME="method_detail"><!-- --></A>
 | 
						|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 | 
						|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
 | 
						|
<B>Method Detail</B></FONT></TH>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
 | 
						|
<A NAME="getTokenMarker()"><!-- --></A><H3>
 | 
						|
getTokenMarker</H3>
 | 
						|
<PRE>
 | 
						|
public <A HREF="../../../processing/app/syntax/TokenMarker.html" title="class in processing.app.syntax">TokenMarker</A> <B>getTokenMarker</B>()</PRE>
 | 
						|
<DL>
 | 
						|
<DD>Returns the token marker that is to be used to split lines
 | 
						|
 of this document up into tokens. May return null if this
 | 
						|
 document is not to be colorized.
 | 
						|
<P>
 | 
						|
<DD><DL>
 | 
						|
</DL>
 | 
						|
</DD>
 | 
						|
</DL>
 | 
						|
<HR>
 | 
						|
 | 
						|
<A NAME="setTokenMarker(processing.app.syntax.TokenMarker)"><!-- --></A><H3>
 | 
						|
setTokenMarker</H3>
 | 
						|
<PRE>
 | 
						|
public void <B>setTokenMarker</B>(<A HREF="../../../processing/app/syntax/TokenMarker.html" title="class in processing.app.syntax">TokenMarker</A> tm)</PRE>
 | 
						|
<DL>
 | 
						|
<DD>Sets the token marker that is to be used to split lines of
 | 
						|
 this document up into tokens. May throw an exception if
 | 
						|
 this is not supported for this type of document.
 | 
						|
<P>
 | 
						|
<DD><DL>
 | 
						|
<DT><B>Parameters:</B><DD><CODE>tm</CODE> - The new token marker</DL>
 | 
						|
</DD>
 | 
						|
</DL>
 | 
						|
<HR>
 | 
						|
 | 
						|
<A NAME="tokenizeLines()"><!-- --></A><H3>
 | 
						|
tokenizeLines</H3>
 | 
						|
<PRE>
 | 
						|
public void <B>tokenizeLines</B>()</PRE>
 | 
						|
<DL>
 | 
						|
<DD>Reparses the document, by passing all lines to the token
 | 
						|
 marker. This should be called after the document is first
 | 
						|
 loaded.
 | 
						|
<P>
 | 
						|
<DD><DL>
 | 
						|
</DL>
 | 
						|
</DD>
 | 
						|
</DL>
 | 
						|
<HR>
 | 
						|
 | 
						|
<A NAME="tokenizeLines(int, int)"><!-- --></A><H3>
 | 
						|
tokenizeLines</H3>
 | 
						|
<PRE>
 | 
						|
public void <B>tokenizeLines</B>(int start,
 | 
						|
                          int len)</PRE>
 | 
						|
<DL>
 | 
						|
<DD>Reparses the document, by passing the specified lines to the
 | 
						|
 token marker. This should be called after a large quantity of
 | 
						|
 text is first inserted.
 | 
						|
<P>
 | 
						|
<DD><DL>
 | 
						|
<DT><B>Parameters:</B><DD><CODE>start</CODE> - The first line to parse<DD><CODE>len</CODE> - The number of lines, after the first one to parse</DL>
 | 
						|
</DD>
 | 
						|
</DL>
 | 
						|
<HR>
 | 
						|
 | 
						|
<A NAME="beginCompoundEdit()"><!-- --></A><H3>
 | 
						|
beginCompoundEdit</H3>
 | 
						|
<PRE>
 | 
						|
public void <B>beginCompoundEdit</B>()</PRE>
 | 
						|
<DL>
 | 
						|
<DD>Starts a compound edit that can be undone in one operation.
 | 
						|
 Subclasses that implement undo should override this method;
 | 
						|
 this class has no undo functionality so this method is
 | 
						|
 empty.
 | 
						|
<P>
 | 
						|
<DD><DL>
 | 
						|
</DL>
 | 
						|
</DD>
 | 
						|
</DL>
 | 
						|
<HR>
 | 
						|
 | 
						|
<A NAME="endCompoundEdit()"><!-- --></A><H3>
 | 
						|
endCompoundEdit</H3>
 | 
						|
<PRE>
 | 
						|
public void <B>endCompoundEdit</B>()</PRE>
 | 
						|
<DL>
 | 
						|
<DD>Ends a compound edit that can be undone in one operation.
 | 
						|
 Subclasses that implement undo should override this method;
 | 
						|
 this class has no undo functionality so this method is
 | 
						|
 empty.
 | 
						|
<P>
 | 
						|
<DD><DL>
 | 
						|
</DL>
 | 
						|
</DD>
 | 
						|
</DL>
 | 
						|
<HR>
 | 
						|
 | 
						|
<A NAME="addUndoableEdit(javax.swing.undo.UndoableEdit)"><!-- --></A><H3>
 | 
						|
addUndoableEdit</H3>
 | 
						|
<PRE>
 | 
						|
public void <B>addUndoableEdit</B>(javax.swing.undo.UndoableEdit edit)</PRE>
 | 
						|
<DL>
 | 
						|
<DD>Adds an undoable edit to this document's undo list. The edit
 | 
						|
 should be ignored if something is currently being undone.
 | 
						|
<P>
 | 
						|
<DD><DL>
 | 
						|
<DT><B>Parameters:</B><DD><CODE>edit</CODE> - The undoable edit<DT><B>Since:</B></DT>
 | 
						|
  <DD>jEdit 2.2pre1</DD>
 | 
						|
</DL>
 | 
						|
</DD>
 | 
						|
</DL>
 | 
						|
<!-- ========= END OF CLASS DATA ========= -->
 | 
						|
<HR>
 | 
						|
 | 
						|
 | 
						|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
 | 
						|
<A NAME="navbar_bottom"><!-- --></A>
 | 
						|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
 | 
						|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 | 
						|
<TR>
 | 
						|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 | 
						|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
 | 
						|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 | 
						|
  <TR ALIGN="center" VALIGN="top">
 | 
						|
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
 | 
						|
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
 | 
						|
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
 | 
						|
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
 | 
						|
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
 | 
						|
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
 | 
						|
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
 | 
						|
  </TR>
 | 
						|
</TABLE>
 | 
						|
</TD>
 | 
						|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 | 
						|
</EM>
 | 
						|
</TD>
 | 
						|
</TR>
 | 
						|
 | 
						|
<TR>
 | 
						|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 | 
						|
 <A HREF="../../../processing/app/syntax/PdeTextAreaDefaults.html" title="class in processing.app.syntax"><B>PREV CLASS</B></A> 
 | 
						|
 <A HREF="../../../processing/app/syntax/SyntaxStyle.html" title="class in processing.app.syntax"><B>NEXT CLASS</B></A></FONT></TD>
 | 
						|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 | 
						|
  <A HREF="../../../index.html?processing/app/syntax/SyntaxDocument.html" target="_top"><B>FRAMES</B></A>   
 | 
						|
 <A HREF="SyntaxDocument.html" target="_top"><B>NO FRAMES</B></A>   
 | 
						|
 <SCRIPT type="text/javascript">
 | 
						|
  <!--
 | 
						|
  if(window==top) {
 | 
						|
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
 | 
						|
  }
 | 
						|
  //-->
 | 
						|
</SCRIPT>
 | 
						|
<NOSCRIPT>
 | 
						|
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
 | 
						|
</NOSCRIPT>
 | 
						|
 | 
						|
 | 
						|
</FONT></TD>
 | 
						|
</TR>
 | 
						|
<TR>
 | 
						|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 | 
						|
  SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.text.AbstractDocument">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.text.PlainDocument">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
 | 
						|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 | 
						|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
 | 
						|
</TR>
 | 
						|
</TABLE>
 | 
						|
<A NAME="skip-navbar_bottom"></A>
 | 
						|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
 | 
						|
 | 
						|
<HR>
 | 
						|
 | 
						|
</BODY>
 | 
						|
</HTML>
 |