| 75 | } |
| 76 | |
| 77 | void RangeFormatBuilder::WriteIndent() { |
| 78 | if (_validRange == Valid::Process) { |
| 79 | return FormatBuilder::WriteIndent(); |
| 80 | } else { |
| 81 | auto topLevelIndent = _state.GetCurrentIndent(); |
| 82 | _state.CurrentWidth() += topLevelIndent.SpaceSize + topLevelIndent.TabSize * _state.GetStyle().tab_width; |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | void RangeFormatBuilder::WriteChar(char ch) { |
| 87 | if (_validRange == Valid::Process) { |
nothing calls this directly
no test coverage detected