protected IDocument createDocument(Object element) throws CoreException {
		IDocument document = super.createDocument(element);
		if (document != null) {
			IDocumentPartitioner partitioner =
				new FastPartitioner(
					new CoffeescriptPartitionScanner(),
					new String[] {
						CoffeescriptPartitionScanner.COMMENT,
						CoffeescriptPartitionScanner.STRING });
			partitioner.connect(document);
			document.setDocumentPartitioner(partitioner);
		}
		return document;
	}