[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: CommonNavigator with large files

Ola,

I haven't implemented what you are looking to do but I would suggest looking 
at the IDocumentProvider API. Your editor uses it and I don't see why you 
couldn't get the Common Navigator to use it. I'm assuming your file is 
opened as an IDocument.

Check out how 
DocumentProviderRegistry.getDefault().getDocumentProvider(IEditorInput) 
works.

I was thinking of doing this but our files are too massive to expand in the 
Common Navigator. We consider a 1 Gigabyte file to be very small.

David Kyle
http://richclientplatform.blogspot.com/