docs: protected void applyHiddenRegionFormatting(List<ITextReplacer> replacers) {
  		IHiddenRegionFormatting separator = findWhitespaceThatSeparatesSemanticRegions(replacers).getFormatting();
  
  		// 1. apply indentation 
  		Integer inc = formatting.getIndentationIncrease();
  		Integer dec = formatting.getIndentationDecrease();
  		if (inc != null && dec != null) {
  			((WhitespaceReplacer) replacers.get(0)).getFormatting().setIndentationIncrease(inc);
  			((WhitespaceReplacer) replacers.get(replacers.size() - 1)).getFormatting().setIndentationDecrease(dec);
  		} else if (inc != null) {
  			separator.setIndentationIncrease(inc);
  		} else if (dec != null) {
  			separator.setIndentationDecrease(dec);
  		}
  
  		// 2. apply NewLine and space configuration to the first whitespace region that follows or contains a linewrap.  
  		separator.setNewLinesDefault(formatting.getNewLineDefault());
  		separator.setNewLinesMax(formatting.getNewLineMax());
  		separator.setNewLinesMin(formatting.getNewLineMin());
  		separator.setSpace(formatting.getSpace());
  
  		// 3. apply the 'priority' configuration for all and set a default formatting
  		for (ITextReplacer replacer : replacers)
  			if (replacer instanceof WhitespaceReplacer) {
  				IHiddenRegionFormatting formatting2 = ((WhitespaceReplacer) replacer).getFormatting();
  				formatting2.setPriority(formatting.getPriority());
  				if (formatting2 != separator) {
  					formatting2.setSpace(replacer.getRegion().getOffset() > 0 ? " " : "");
  					formatting2.setNewLinesMin(0);
  					formatting2.setNewLinesMax(1);
  				}
  			}
  
  		// 4. make sure whitespace before and after multiline comments introduce a NewLine 
  		for (int i = 0; i < replacers.size(); i++) {
  			ITextReplacer replacer = replacers.get(i);
  			if (replacer instanceof CommentReplacer) {
  				CommentReplacer commentReplacer = ((CommentReplacer) replacer);
  				WhitespaceReplacer leading = (WhitespaceReplacer) replacers.get(i - 1);
  				WhitespaceReplacer trailing = (WhitespaceReplacer) replacers.get(i + 1);
  				commentReplacer.configureWhitespace(leading, trailing);
  			}
  		}
  	}