Home | History | Annotate | Download | only in cm

Lines Matching refs:pairs

10     var pairs = DEFAULT_BRACKETS, explode = DEFAULT_EXPLODE_ON_ENTER;
11 if (typeof val == "string") pairs = val;
13 if (val.pairs != null) pairs = val.pairs;
16 var map = buildKeymap(pairs);
27 function buildKeymap(pairs) {
33 if (around && pairs.indexOf(around) % 2 == 0)
40 for (var i = 0; i < pairs.length; i += 2) (function(left, right) {
66 })(pairs.charAt(i), pairs.charAt(i + 1));
70 function buildExplodeHandler(pairs) {
73 if (!around || pairs.indexOf(around) % 2 != 0) return CodeMirror.Pass;