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 - AbstractDJDocument containing the line to be indented. Parameters: reason - The reason that indentation was initiated, specified in Indenter true if the caller should update the current location itself,false if the indenter has already handled this