edu.rice.cs.drjava.model.definitions.indent
Interface IndentRule

All Known Implementing Classes:
IndentRuleAction, IndentRuleQuestion

public interface IndentRule

A node in the decision tree used for the indentation system.

Version:
$Id: IndentRule.java,v 1.3 2002/03/20 03:35:33 csreis Exp $

Method Summary
 void indentLine(DefinitionsDocument doc)
          Properly indents the line that the given position is on.
 

Method Detail

indentLine

public void indentLine(DefinitionsDocument doc)
Properly indents the line that the given position is on. Replaces all whitespace characters at the beginning of the line with the appropriate spacing or characters.
Parameters:
doc - DefinitionsDocument containing the line to be indented.