Skip to content

Commit 6e8bd36

Browse files
Code fix curly_braces_in_flow_control_structures (#95)
1 parent e5f86e3 commit 6e8bd36

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/codemirror.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,9 @@ class CodeMirror extends ProxyHolder {
394394
if (coverGutter != null) options['coverGutter'] = coverGutter;
395395
if (noHScroll != null) options['noHScroll'] = noHScroll;
396396
if (above != null) options['above'] = above;
397-
if (handleMouseEvents != null)
397+
if (handleMouseEvents != null) {
398398
options['handleMouseEvents'] = handleMouseEvents;
399+
}
399400
if (insertAt != null) options['insertAt'] = insertAt;
400401

401402
var l = line is LineHandle ? line.jsProxy : line;
@@ -928,8 +929,9 @@ class Doc extends ProxyHolder {
928929
if (clearOnEnter != null) options['clearOnEnter'] = clearOnEnter;
929930
if (clearWhenEmpty != null) options['clearWhenEmpty'] = clearWhenEmpty;
930931
if (replacedWith != null) options['replacedWith'] = replacedWith;
931-
if (handleMouseEvents != null)
932+
if (handleMouseEvents != null) {
932933
options['handleMouseEvents'] = handleMouseEvents;
934+
}
933935
if (readOnly != null) options['readOnly'] = readOnly;
934936
if (addToHistory != null) options['addToHistory'] = addToHistory;
935937
if (startStyle != null) options['startStyle'] = startStyle;

0 commit comments

Comments
 (0)