Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 748d512

Browse files
committed
Merge pull request #7048 from adobe/randy/issue-6023
Increase matchBrackets length
2 parents 8ab46c2 + 126f448 commit 748d512

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/editor/Editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ define(function (require, exports, module) {
265265
indentWithTabs : currentOptions[USE_TAB_CHAR],
266266
lineNumbers : currentOptions[SHOW_LINE_NUMBERS],
267267
lineWrapping : currentOptions[WORD_WRAP],
268-
matchBrackets : true,
268+
matchBrackets : { maxScanLineLength: 50000, maxScanLines: 1000 },
269269
matchTags : { bothTags: true },
270270
scrollPastEnd : !range && currentOptions[SCROLL_PAST_END],
271271
smartIndent : currentOptions[SMART_INDENT],

0 commit comments

Comments
 (0)