processing.app.tools
Class AutoFormat

java.lang.Object
  extended by processing.app.tools.AutoFormat

public class AutoFormat
extends java.lang.Object

Alternate handler for dealing with auto format. Contributed by Martin Gomez, additional bug fixes by Ben Fry.


Constructor Summary
AutoFormat(Editor editor)
           
 
Method Summary
 void comment()
           
 void cpp_comment()
           
 void fprintf(java.lang.String out_string)
           
 char get_string()
           
 char getchr()
           
 int getnl()
           
 void gotelse()
           
 int grabLines()
           
 void indent_puts()
           
 int lookup_com(java.lang.String keyword)
           
 int lookup(java.lang.String keyword)
           
 void p_tabs()
           
 void putcoms()
           
 void show()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoFormat

public AutoFormat(Editor editor)
Method Detail

comment

public void comment()
             throws java.io.IOException
Throws:
java.io.IOException

get_string

public char get_string()
                throws java.io.IOException
Throws:
java.io.IOException

indent_puts

public void indent_puts()

fprintf

public void fprintf(java.lang.String out_string)

grabLines

public int grabLines()

putcoms

public void putcoms()

cpp_comment

public void cpp_comment()
                 throws java.io.IOException
Throws:
java.io.IOException

p_tabs

public void p_tabs()

getchr

public char getchr()
            throws java.io.IOException
Throws:
java.io.IOException

gotelse

public void gotelse()

getnl

public int getnl()
          throws java.io.IOException
Throws:
java.io.IOException

lookup

public int lookup(java.lang.String keyword)

lookup_com

public int lookup_com(java.lang.String keyword)

show

public void show()