0.15.0
Pre-release-
Make line control more explicit.
-
Remove Printable::$hasAttribute, $hasComment, $isFirst, hasAttribute(),
hasComment(), and isFirst(). -
Remove Styler::$atFirstInBody, $hadComment, $hadAttribute,
forceSingleNewline(), maybeDoubleNewline(), and rtrim(). -
The Line object now tracks if a margin above or below is advised for
addition, and if a margin above or below is allowed. -
The Styler methods now specify margin additions and allowances on the
current Line object.
-
-
Protect various Styler methods that were mistakenly public.
-
Add method Styler::blankLine() to create new Line instances.
-
Rename Line::newline() to Line::blankLine().
-
Styler::newline() now applies one line of margin above and below auto-split
lines, subject to margin allowances; updated tests to reflect this
expectation. -
Fix a logic-breaking bug where final
elsegets lost afterelse if
(refs #4).