InlineEdit: Allow to activate auto-close brackets Codemirror addon
Codemirror closebrackets.js addons defines an option `autoCloseBrackets`
that will auto-close brackets and quotes when typed. By default, it will
auto-close ()[]{}''"".
Change-Id: I844d49c7d60d8fc78808df566e4c4f9aff1b012e
diff --git a/Documentation/rest-api-accounts.txt b/Documentation/rest-api-accounts.txt
index 495dd58..7497a64 100644
--- a/Documentation/rest-api-accounts.txt
+++ b/Documentation/rest-api-accounts.txt
@@ -1346,7 +1346,8 @@
"hide_top_menu": true,
"show_whitespace_errors": true,
"hide_line_numbers": true,
- "match_brackets": true
+ "match_brackets": true,
+ "auto_close_brackets": true
}
----
@@ -1377,7 +1378,8 @@
"show_whitespace_errors": true,
"syntax_highlighting": true,
"hide_line_numbers": true,
- "match_brackets": true
+ "match_brackets": true,
+ "auto_close_brackets": true
}
----
@@ -1785,6 +1787,8 @@
Whether line numbers should be hidden.
|`match_brackets` |not set if `false`|
Whether matching brackets should be highlighted.
+|`auto_close_brackets` |not set if `false`|
+Whether brackets and quotes should be auto-closed during typing.
|===========================================
[[email-info]]