lib/utils/cssSections.js
function(rule) {
			var offset = rule.valueRange(true).start;
			var nestedSections = this.findAllRules(rule.valueRange().substring(rule.source));
			nestedSections.forEach(function(section) {
				section.start += offset;
				section.end += offset;
				section._selectorEnd += offset;
				section._contentStart += offset;
			});
			return nestedSections;
		}
function(rule) {
			var offset = rule.valueRange(true).start;
			var nestedSections = this.findAllRules(rule.valueRange().substring(rule.source));
			nestedSections.forEach(function(section) {
				section.start += offset;
				section.end += offset;
				section._selectorEnd += offset;
				section._contentStart += offset;
			});
			return nestedSections;
		}
function ( rule ) { var offset = rule . valueRange ( true ) . start ; var nestedSections = this . findAllRules ( rule . valueRange ( ) . substring ( rule . source ) ) ; nestedSections . forEach ( function ( section ) { section . start += offset ; section . end += offset ; section . _selectorEnd += offset ; section . _contentStart += offset ; } ) ; return nestedSections ; }
Returns ranges for all nested sections, available in
given CSS rule
@param  {CSSEditContainer} rule
@return {Array}
Returns ranges for all nested sections available in given CSS rule