What functionality exactly is meant here? The matchbrackets addon exposes a method `findMatchingBracket` -- maybe simply depend on that?