org.nlogo.workspace
Class SmartTabulator
java.lang.Object
org.nlogo.workspace.SmartTabulator
public class SmartTabulator
- extends Object
SmartTabulator
public SmartTabulator(EditorAreaInterface code,
Workspace workspace)
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)