diff --git a/lib/models/documents/document.dart b/lib/models/documents/document.dart index 5982dca8..75af0be4 100644 --- a/lib/models/documents/document.dart +++ b/lib/models/documents/document.dart @@ -139,7 +139,6 @@ class Document { static Delta _transform(Delta delta) { Delta res = Delta(); for (Operation op in delta.toList()) { - // TODO res.push(op); } return res; diff --git a/lib/models/rules/rule.dart b/lib/models/rules/rule.dart index a16a4a89..ea41ac50 100644 --- a/lib/models/rules/rule.dart +++ b/lib/models/rules/rule.dart @@ -62,6 +62,7 @@ class Rules { delta = rule.apply(delta, index, len: len, data: data, attribute: attribute); if (delta != null) { + print("Rule $rule applied"); return delta..trim(); } }