org.nlogo.workspace
Class SmartTabulator

java.lang.Object
  extended by org.nlogo.workspace.SmartTabulator

public class SmartTabulator
extends Object


Constructor Summary
SmartTabulator(EditorAreaInterface code, Workspace workspace)
           
 
Method Summary
 void handleCharacter(String s)
           
 void handleCloseBracket()
           
 void handleEnter()
           
 void handleTab()
           
static boolean isCloser(int token)
           
static boolean isOpener(int token)
           
 int processLine(int lineStart, int lineEnd, int currentTabLevel)
           
 void smartTabulateSelection()
           
 void tokenize(String line)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartTabulator

public SmartTabulator(EditorAreaInterface code,
                      Workspace workspace)
Method Detail

handleTab

public void handleTab()

handleCharacter

public void handleCharacter(String s)

handleCloseBracket

public void handleCloseBracket()

handleEnter

public void handleEnter()

smartTabulateSelection

public void smartTabulateSelection()

processLine

public int processLine(int lineStart,
                       int lineEnd,
                       int currentTabLevel)

tokenize

public void tokenize(String line)

isOpener

public static boolean isOpener(int token)

isCloser

public static boolean isCloser(int token)