I'd like to add an editor to an RCP application. I need to leverage the advanced features of editor, such as keywords highlighting. But it seems that editor have to be associated with an 开发者_如何学编程IEditorInput, but I just do not need to persistence the text, store it in memory is OK for me. Is there any way to do that ? Thanks
-- Best Regards
Jeff Zhang
Check this: http://blog.eclipse-tips.com/2008/06/opening-editor-without-ifile.html
Why can't you create an implementation of IEditorInput that doesn't persist the text?
精彩评论