}
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
try {
// Open the file
LocalFileSystem fs = new LocalFileSystem();
org.eclipse.ui.IEditorPart editor = page.openEditor(fs.getEditorInput( fileName ),"org.cfeclipse.cfml.editors.CFMLEditor");
// Select the line number
ITextEditor textEditor = (ITextEditor)editor;
lineNumber--; // document is 0 based
IDocument document = textEditor.getDocumentProvider().getDocument(textEditor.getEditorInput());