js/tinymce/plugins/spellchecker/plugin.js
function rangeFromMatch(match) {
        var wrappers = getWrappersByIndex(indexOf(match));

        var rng = editor.dom.createRng();
        rng.setStartBefore(wrappers[0]);
        rng.setEndAfter(wrappers[wrappers.length - 1]);

        return rng;
      }
function rangeFromMatch(match) {
        var wrappers = getWrappersByIndex(indexOf(match));

        var rng = editor.dom.createRng();
        rng.setStartBefore(wrappers[0]);
        rng.setEndAfter(wrappers[wrappers.length - 1]);

        return rng;
      }
function rangeFromMatch ( match ) { var wrappers = getWrappersByIndex ( indexOf ( match ) ) ; var rng = editor . dom . createRng ( ) ; rng . setStartBefore ( wrappers [ 0 ] ) ; rng . setEndAfter ( wrappers [ wrappers . length - 1 ] ) ; return rng ; }
Returns a DOM range for the specified match.

@param  {Object} match Match object to get range for.
@return {DOMRange} DOM Range for the specified match.
Returns a DOM range for the specified match .