 		resultTextView?.replace(text: "")
 	}
 
+	// MARK: - change handling
 	// If the view size changes, re-adjust data height:
 	@objc func boundsChanged(_ note: Notification) {
 		adjustSize()

		}
	}
	
	/// Asks the delegate to add a chunk after this one
	@IBAction func addChunk(_ sender: Any?) {
		delegate?.addChunk(after: self, sender: sender as? NSButton)

		chunkTypeLabel.stringValue = titleForCurrentChunk()
	}

	// MARK: - private
	
	private func titleForCurrentChunk() -> String {
		guard let chunk = data?.chunk else { return "unknown" }
		switch chunk.chunkType {
