The view controller now only initializes a syntax highlighter once. PLSyntaxHighlighter now has a setter method for its theme manager, which is used by the PLViewController when its theme manager changes.
Automatic indentation after a colon and newline now inserts a non-attributed string so that it uses the default text view attributes.
Automatic indentation after a newline and colon now occurs upon a NSTextView notification of shouldChangeTextInRange
Auto-indentation now occurs for iterable completions (i.e. ending an open list/tuple/dict with a comma automatically indents the next line to the start of that open iterable). The method for performing this action occurs in the PLEditorViewController (for now; will be moved elsewhere) when receiving the textView shouldChangeTextInRange notification.
Added a PLFormatter object. This object will (at least) manage automatic indentation for the text view by serving as a delegate of the view controller.
PLTextViewController now has a PLFormatter object property. PLFormatter supports a default, empty init method.
Moved all automatic indentation logic from view controller into a single method in PLFormatter. Upon the text view changing, the view controller now calls the shouldFormatText:inRange:withReplacementString in its formatter object to determine if changes should be made and to perform those changes.
Fixed bug in automatic indentation where a line terminated with a comma, but not in an iterable, would cause a crash.
Fixed a bug where numbers were not highlighted if in contact with some special characters.
Updated a boolean comparison with explicit "== YES" for consistency.
Added a class method to PLFormatter (getIndentationString) that returns a string of whitespace to pad the next line to the same indentation level as the previous line. This method is used by the PLFormatter to automatically indent the next line after a newline is entered.
Automatic indentations after a colon now obey the current indentation level (i.e. if defining a function at an indentation level > 0, the next line after the colon will be indented to the current level plus four more spaces).
Refactored class method getIndentationString by splitting it into three methods: one for getting the indentation level, another to create the whitespace string, and a final convenience function that combines the first two. The latter is the only one externally exposed.
PLLineNumberView now uses the PLFormatter to determine the proper indentation level for inserting a debug string.
Merge branch 'master' of https://github.com/dnicklas/Liasis

Conflicts:
	Liasis/Liasis/TextEditor/PLEditorViewController.m
	Liasis/PLLineNumberView.h
Minor changes to variable names in getIndentationLocation for clarity.
Fixed interaction of updating the the lineNumberView and the formatter in textView shouldChangeTextInRange within the view controller.
Changed name of PLFormatter primary method to didFormatTextView, for better clarity of what it is doing.
Refactored PLFormatter method. Split up didFormatTextView into smaller methods that handle each possible case. These all return whether or not the edit occurred. The PLEditorViewController now handles that return value in a more logical fashion (messaging not to perform a new edit if the formatter did already perform one).
Variable name change for clarity in PLFormatter.