Skip to content

Commit

Permalink
Fixes #32565
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Apr 18, 2018
1 parent 0dc8e7f commit 6c76080
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vs/editor/common/model/textModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2111,6 +2111,10 @@ export class TextModel extends Disposable implements model.ITextModel {
}

private _matchFoundBracket(foundBracket: Range, data: RichEditBracket, isOpen: boolean): [Range, Range] {
if (!data) {
return null;
}

if (isOpen) {
let matched = this._findMatchingBracketDown(data, foundBracket.getEndPosition());
if (matched) {
Expand Down

0 comments on commit 6c76080

Please sign in to comment.