From fdff25dfa76d7d87bd01faa95d1b213aa924684a Mon Sep 17 00:00:00 2001 From: Travis Heppe <heppe@heppe-macbookpro4.roam.corp.google.com> Date: Sun, 18 Jun 2017 09:04:07 -0700 Subject: [PATCH] [manual] Add a couple of sentences on new matchBrackets options. --- doc/manual.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/manual.html b/doc/manual.html index 636b7c02a..1e1206299 100644 --- a/doc/manual.html +++ b/doc/manual.html @@ -2345,8 +2345,11 @@ editor.setOption("extraKeys", { cursor is next to them. It also adds a method <code>matchBrackets</code> that forces this to happen once, and a method <code>findMatchingBracket</code> that can be - used to run the bracket-finding algorithm that this uses - internally.</dd> + used to run the bracket-finding algorithm that this uses + internally. By default, it will find the match to a matchable character + either before or after the cursor (preferring the one before), + but takes a boolean and config object to control some of the specifics + of the matching behavior.</dd> <dt id="addon_closebrackets"><a href="../addon/edit/closebrackets.js"><code>edit/closebrackets.js</code></a></dt> <dd>Defines an option <code>autoCloseBrackets</code> that will -- GitLab