Eclipse RCP Question
I open the file with
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); IEditorPart editorPart = IDE.openEditor(page, file);
I also get the document with:
IDocument doc = ((ITextEditor)editorPart).getDocumentProvider().getDocument(editorPart.getEditorInput());
I need to get a text viewer for this document (to create a LinkedModeUI), is there a way to do this?
stalker
source share