From e4cf28d054773d9c869c6829cbdef4bc17b0f180 Mon Sep 17 00:00:00 2001 From: Xin Yao Date: Thu, 22 Apr 2021 12:40:55 -0700 Subject: [PATCH] Update getIndentLevel --- lib/models/documents/attribute.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/models/documents/attribute.dart b/lib/models/documents/attribute.dart index 18822e01..09564e4e 100644 --- a/lib/models/documents/attribute.dart +++ b/lib/models/documents/attribute.dart @@ -151,7 +151,10 @@ class Attribute { if (level == 2) { return indentL2; } - return indentL3; + if (level == 3) { + return indentL3; + } + return IndentAttribute(level: level); } bool get isInline => scope == AttributeScope.INLINE;