 import Cocoa
 import Networking
 import SyntaxParsing
+import MJLLogger
 
 class NotebookEditorController: AbstractEditorController {
 	// MARK: - constants

	{
		let dataItem = dataArray[indexPath.item]
		let sz = NSSize(width: collectionView.visibleWidth, height: dataItem.height)
		//		let str = dataItem.source.string[dataItem.source.string.startIndex]
		//		print("sz for \(indexPath.item) is \(sz)")
		return sz
	}
	

			let fromIndex = fromIndexPath.item
			var toIndex = indexPath.item
			if toIndex > fromIndex { toIndex -= 1 }
			Log.debug("moving \(fromIndex) to \(toIndex)", .app)
			let itemData = dataArray[fromIndex]
			dataArray.remove(at: fromIndex)	// must be done first
			dataArray.insert(itemData, at: toIndex)
