Index: lib/src/line_splitter.dart |
diff --git a/lib/src/line_splitter.dart b/lib/src/line_splitter.dart |
index 6bc9e3534ce925c0dadb60f175f7ced9820684a1..ceaf94f1f4b41855e90720e422e399af17af99de 100644 |
--- a/lib/src/line_splitter.dart |
+++ b/lib/src/line_splitter.dart |
@@ -207,8 +207,8 @@ class LineSplitter { |
/// Updates [solution] with the solution for [prefix] assuming it uses |
/// [longerPrefix] for the next chunk. |
- void _tryLongerPrefix(SplitSolution solution, LinePrefix prefix, |
- LinePrefix longerPrefix) { |
+ void _tryLongerPrefix( |
+ SplitSolution solution, LinePrefix prefix, LinePrefix longerPrefix) { |
var remaining = _findBestSplits(longerPrefix); |
// If it wasn't possible to split the suffix given this nesting stack, |
@@ -233,9 +233,8 @@ class LineSplitter { |
var updatedValues = {}; |
for (var prefixRule in prefixRules) { |
- var ruleValue = prefixRule == nextRule |
- ? value |
- : prefix.ruleValues[prefixRule]; |
+ var ruleValue = |
+ prefixRule == nextRule ? value : prefix.ruleValues[prefixRule]; |
if (suffixRules.contains(prefixRule)) { |
// If the same rule appears in both the prefix and suffix, then preserve |