// Path: org.cfeclipse.cfmledit.editor/src/org/cfeclipse/cfmledit/editor/document/CFMLDocumentProvider.java
// public class CFMLDocumentProvider extends FileDocumentProvider {
// 
// 	protected IDocument createDocument(Object element) throws CoreException {
// 		IDocument document = super.createDocument(element);
// 		if (document != null){
// 		//Attach the partitioner for .cfm files. looks for and comments tags mainly
// 		IDocumentPartitioner cmfPartitioner = 
// 				new FastPartitioner(
// 				new CFMPartitionScanner(), 
// 				new String[]{
// 					CFMPartitionScanner.CF_COMMENT
// 				}
// 				);
// 		
// 		cmfPartitioner.connect(document);
// 		document.setDocumentPartitioner(cmfPartitioner);
// 		}
// 		return document;
// 	}
// 
// 
// }


import org.cfeclipse.cfmledit.editor.document.CFMLDocumentProvider;
import org.eclipse.ui.editors.text.TextEditor;
package org.cfeclipse.cfmledit.editor.editors;



public class CFMLEditor extends TextEditor {
	private ColorManager colorManager;

	public CFMLEditor() {
		super();
		colorManager = new ColorManager();
		setSourceViewerConfiguration(new CFMConfiguration(colorManager));
// Path: org.cfeclipse.cfmledit.editor/src/org/cfeclipse/cfmledit/editor/document/CFMLDocumentProvider.java
// public class CFMLDocumentProvider extends FileDocumentProvider {
// 
// 	protected IDocument createDocument(Object element) throws CoreException {
// 		IDocument document = super.createDocument(element);
// 		if (document != null){
// 		//Attach the partitioner for .cfm files. looks for and comments tags mainly
// 		IDocumentPartitioner cmfPartitioner = 
// 				new FastPartitioner(
// 				new CFMPartitionScanner(), 
// 				new String[]{
// 					CFMPartitionScanner.CF_COMMENT
// 				}
// 				);
// 		
// 		cmfPartitioner.connect(document);
// 		document.setDocumentPartitioner(cmfPartitioner);
// 		}
// 		return document;
// 	}
// 
// 
// }


// Path: org.cfeclipse.cfmledit.editor/src/org/cfeclipse/cfmledit/editor/editors/CFMLEditor.java
import org.cfeclipse.cfmledit.editor.document.CFMLDocumentProvider;
import org.eclipse.ui.editors.text.TextEditor;

package org.cfeclipse.cfmledit.editor.editors;



public class CFMLEditor extends TextEditor {
	private ColorManager colorManager;

	public CFMLEditor() {
		super();
		colorManager = new ColorManager();
		setSourceViewerConfiguration(new CFMConfiguration(colorManager));
		setDocumentProvider(new CFMLDocumentProvider());